add a tagging system to the website
This commit is contained in:
parent
701da6bc4b
commit
e1b6578b2a
97 changed files with 1025 additions and 979 deletions
|
@ -4,6 +4,14 @@
|
|||
{{#if (ne page.tree_path 'index')}}
|
||||
<header>
|
||||
<h1 class="page-title"><a href="{{ config.site }}/{{ page.tree_path }}">{{ page.title }}</a></h1>
|
||||
<ul class="feeds">
|
||||
{{#each page.feeds as |feed|}}
|
||||
<li>
|
||||
<time datetime="{{ feed.updated }}">{{ iso_date feed.updated }}</time>
|
||||
{{#if (gt (len page.feeds) 0)}}<span class="source-feed">[<a href="{{ feed.url }}">{{ feed.name }}</a>]</span>{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</header>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<div class="info">
|
||||
<time datetime="{{ updated }}">{{ iso_date updated }}</time>
|
||||
<ul class="categories">
|
||||
{{#each categories as |category|}}
|
||||
<li>{{ category }}</li>
|
||||
{{#each tags as |tag|}}
|
||||
<li><a href="{{ config.site }}/tag/{{ tag }}">#{{ tag }}</a></li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -72,6 +72,4 @@ clever to do while browser vendors figure that out, we'll just have to do a cach
|
|||
<link rel="apple-touch-icon" sizes="512x512" href="{{ asset (cat (cat 'favicon/' season) '@32x.png') }}">
|
||||
|
||||
<link rel="canonical" href="{{ config.site }}/{{#if (ne page.tree_path 'index')}}{{ page.tree_path }}{{/if}}">
|
||||
{{#each feeds as |feed_name|}}
|
||||
<link rel="alternate" type="application/atom+xml" title="{{ feed_name }}" href="{{ config.site }}/feed/{{ feed_name }}.atom">
|
||||
{{/each}}
|
||||
<link rel="alternate" type="application/atom+xml" title="{{ feed_name }}" href="{{ config.site }}/feed/all.atom">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue