summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-01 22:29:18 +0100
committerVolpeon <git@volpeon.ink>2021-01-01 22:29:18 +0100
commitd5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e (patch)
tree0815f53de784260d05fbbe8e03ffffb694bda12f /templates
parentSupport drafts via _ prefix in filename (diff)
downloadvolpeon.ink-d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e.tar.gz
volpeon.ink-d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e.tar.bz2
volpeon.ink-d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e.zip
Small design revisions
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html11
-rw-r--r--templates/list.html22
-rw-r--r--templates/partials/categoriesByCount.html7
-rw-r--r--templates/partials/categoriesById.html7
-rw-r--r--templates/partials/pagelistByYear.html11
5 files changed, 22 insertions, 36 deletions
diff --git a/templates/base.html b/templates/base.html
index 0856b47..225ef3f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -15,9 +15,6 @@
15 $if(keywords)$ 15 $if(keywords)$
16 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> 16 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
17 $endif$ 17 $endif$
18 $-- $if(feed.url.abs)$
19 $-- <link href="$feed.url.abs$" type="application/atom+xml" rel="alternate" title="$if(is_home)$$else$$title$ – $endif$$site.title$" />
20 $-- $endif$
21 $for(feeds)$ 18 $for(feeds)$
22 <link href="$it.url$" type="application/atom+xml" rel="alternate" title="$it.title$ – $site.title$" /> 19 <link href="$it.url$" type="application/atom+xml" rel="alternate" title="$it.title$ – $site.title$" />
23 $endfor$ 20 $endfor$
@@ -50,16 +47,12 @@
50 <header class="c-page-header u-hidden@sm-down" role="presentation"> 47 <header class="c-page-header u-hidden@sm-down" role="presentation">
51${partials/pageHeader()} 48${partials/pageHeader()}
52 </header> 49 </header>
53 $endif$
54 50
55 $if(is_home)$
56${page()} 51${page()}
57 $else$ 52 $elseif(pages)$
58 $if(pages)$
59${list()} 53${list()}
60 $else$ 54 $else$
61${page()} 55${page()}
62 $endif$
63 $endif$ 56 $endif$
64 </div> 57 </div>
65 </main> 58 </main>
diff --git a/templates/list.html b/templates/list.html
index 3522754..4d62d47 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -1,4 +1,22 @@
1$body$ 1$body$
2 2
3${partials/categoriesById()} 3$if(categories.by_id)$
4${partials/pagelistByYear()} 4 <ul class="c-hlist">
5 $for(categories.by_id)$
6 <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li>
7 $endfor$
8 </ul>
9$endif$
10
11$for(pages)$
12 $for(it.by_year)$
13 <ul>
14 $for(it.value)$
15 <li class="c-page__prefixed c-page__prefixed--ref">
16 <a href="$it.url.rel$">$it.category/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a>
17 </li>
18 $endfor$
19 </ul>
20 $endfor$
21$endfor$
22
diff --git a/templates/partials/categoriesByCount.html b/templates/partials/categoriesByCount.html
deleted file mode 100644
index 9388cf9..0000000
--- a/templates/partials/categoriesByCount.html
+++ /dev/null
@@ -1,7 +0,0 @@
1$if(categories.by_count)$
2 <ul class="c-hlist">
3 $for(categories.by_count)$
4 <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li>
5 $endfor$
6 </ul>
7$endif$
diff --git a/templates/partials/categoriesById.html b/templates/partials/categoriesById.html
deleted file mode 100644
index fc11cc2..0000000
--- a/templates/partials/categoriesById.html
+++ /dev/null
@@ -1,7 +0,0 @@
1$if(categories.by_id)$
2 <ul class="c-hlist">
3 $for(categories.by_id)$
4 <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li>
5 $endfor$
6 </ul>
7$endif$
diff --git a/templates/partials/pagelistByYear.html b/templates/partials/pagelistByYear.html
deleted file mode 100644
index ff55f0f..0000000
--- a/templates/partials/pagelistByYear.html
+++ /dev/null
@@ -1,11 +0,0 @@
1$for(pages)$
2 $for(it.by_year)$
3 <ul>
4 $for(it.value)$
5 <li class="c-page__prefixed c-page__prefixed--ref">
6 <a href="$it.url.rel$">$it.category/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a>
7 </li>
8 $endfor$
9 </ul>
10 $endfor$
11$endfor$