Skip to content

Commit 2337651

Browse files
committed
Remove unnecessary crap
1 parent 34b0f0d commit 2337651

File tree

5 files changed

+32
-20
lines changed

5 files changed

+32
-20
lines changed

docs/_includes/nav.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<nav>
2-
<!--div id="logo">
2+
<div id="logo">
33
<a href="/"><img src="/assets/composed.png" /></a>
4-
</div-->
4+
</div>
55
<div id="categories">
6-
<a href="/">All</a> ({{ site.posts | where_exp:"post","post.sitemap != false" | size }}),
7-
<a href="/python/">Python</a> ({{ site.categories.python | where_exp: "post","post.sitemap != false" | size }}),
8-
<a href="/jsonrpc/">JSON-RPC</a> ({{ site.categories.jsonrpc | where_exp: "post","post.sitemap != false" | size }}),
9-
<a href="/airflow/">Airflow</a> ({{ site.categories.airflow | where_exp: "post","post.sitemap != false" | size }}),
10-
<a href="/haskell/">Haskell</a> ({{ site.categories.haskell | where_exp: "post","post.sitemap != false" | size }})
6+
<!--a href="/">All</a> <span>({{ site.posts | where_exp:"post","post.sitemap != false" | size }})</span-->
7+
<a href="/python/">Python</a> <span>({{ site.categories.python | where_exp: "post","post.sitemap != false" | size }})</span>
8+
<a href="/jsonrpc/">JSON-RPC</a> <span>({{ site.categories.jsonrpc | where_exp: "post","post.sitemap != false" | size }})</span>
9+
<a href="/airflow/">Airflow</a> <span>({{ site.categories.airflow | where_exp: "post","post.sitemap != false" | size }})</span>
10+
<a href="/haskell/">Haskell</a> <span>({{ site.categories.haskell | where_exp: "post","post.sitemap != false" | size }})<span>
1111
</div>
1212
</nav>
13-

docs/_layouts/post.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
{% assign created = page.date | date: "%b %-d, %Y" %}
55
{% assign updated = page.last_modified_at | date: '%b %-d, %Y' %}
66
{% assign posts = site.posts |where: "category", page.category |where_exp: "item", "item.url != page.url" |sort: "date" |reverse %}
7+
8+
{% include nav.html %}
79
<main>
810

911
<article itemscope itemtype="http://schema.org/BlogPosting">
@@ -13,7 +15,7 @@ <h1>{{ page.title }}</h1>
1315
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
1416
Beau Barker, <time>{{ created }}</time>.
1517
{% if updated and updated != created %}
16-
Updated <time>{{ updated }}</time>
18+
Updated <time>{{ updated }}</time>.
1719
{% endif %}
1820
<a href="https://github.com/explodinglabs/composed.blog/edit/main/docs/{{page.path}}">
1921
&#9998;

docs/assets/composed.png

3.33 KB
Loading

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
layout: all
33
title: Composed
44
---
5-
{% include nav.html %}
65
{% assign posts = site.posts | where_exp:"post","post.sitemap != false" | sort: 'date' | reverse %}
76

7+
{% include nav.html %}
88
<main>
99
<div id="post-list">
1010
{% for post in posts limit:1 %}

docs/main.scss

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,25 +61,37 @@ body {
6161
}
6262

6363
nav {
64-
//background: linear-gradient(to right, hsl(176, 96%, 50%), hsl(330, 100%, 50%));
64+
// background: linear-gradient(to right, hsl(176, 96%, 50%), hsl(330, 100%, 50%));
6565
// box-shadow: 0 5px 5px -2px #999;
66-
padding: $vspace $hspace 2px $hspace;
67-
margin-bottom: $vspace*2;
66+
margin: $vspace;
6867

6968
#logo {
70-
float: left;
71-
text-align: left;
69+
display: none;
70+
@extend .bodytext;
71+
text-align: center;
72+
a {
73+
color: white;
74+
font-weight: bold;
75+
text-decoration: none;
76+
}
7277
img {
7378
height: 30px;
7479
}
7580
}
7681

7782
#categories {
83+
display: none;
7884
@extend .bodytext;
79-
font-size: 90%;
80-
text-align: center;
85+
font-size: smaller;
86+
text-align: right;
87+
color: black;
8188
a {
82-
color: red;
89+
color: white;
90+
margin-left: 1em;
91+
text-decoration: none;
92+
}
93+
span {
94+
display: none;
8395
}
8496
}
8597

@@ -116,8 +128,7 @@ main {
116128

117129
.link {
118130
text-align: center;
119-
font-size: 1.2em;
120-
margin-bottom: 2em;
131+
margin-bottom: 1.5em;
121132
line-height: 1.4em;
122133
a {
123134
@extend .linktext;

0 commit comments

Comments
 (0)