Skip to content

Commit

Permalink
Optimise HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
hilton committed Feb 13, 2022
1 parent ddb693b commit 72dc0db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/article.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h3 class="title"><a href="{{ page.url | replace:'.html','' }}">{{ page.title }}</a></h3>
<p>{{ page.description }}
<span class="text-muted">- {{ page.date | date: "%Y-%m-%d" }}</span></p>
<span class="text-muted"> {{ page.date | date: "%Y-%m-%d" }}</span></p>
6 changes: 3 additions & 3 deletions blog/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
categories: blog
layout: hh
css: "article .text-muted::before {content:'• '; color:#999}"
css: "em {color:#595959; font-style:normal; } em::before {content:'• '; color:#999} h3 {margin-bottom:0}"
---

<h1>Blog</h1>
Expand All @@ -26,8 +26,8 @@ <h1>Blog</h1>
</p>

{% for page in site.categories.blog %}
<h3 class="title"><a href="{{ page.url | replace:'.html','' }}">{{ page.title }}</a></h3>
<p>{{ page.description }} <span class="text-muted">{{ page.date | date: "%Y-%m-%d" }}{% for tag in page.tags %} #{{ tag }}{% endfor %}</span></p>{% endfor %}
<h3><a href="{{ page.url | replace:'.html','' }}">{{ page.title }}</a></h3>
<p>{{ page.description }} <em>{{ page.date | date: "%Y-%m-%d" }}{% for tag in page.tags %} #{{ tag }}{% endfor %}</em></p>{% endfor %}

<h2>Older articles (2005-2014)</h2>

Expand Down

0 comments on commit 72dc0db

Please sign in to comment.