summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-04-18 15:44:32 +0200
committerVolpeon <git@volpeon.ink>2021-04-18 15:44:32 +0200
commit8c83a2ef92be845c5ffecb1434028d0c68915936 (patch)
treea18faff703a1deadb041dcc977208a4d6565dd85 /templates/base.html
parentFetch pages of sections (diff)
downloadvolpeon.ink-8c83a2ef92be845c5ffecb1434028d0c68915936.tar.gz
volpeon.ink-8c83a2ef92be845c5ffecb1434028d0c68915936.tar.bz2
volpeon.ink-8c83a2ef92be845c5ffecb1434028d0c68915936.zip
Update
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html61
1 files changed, 40 insertions, 21 deletions
diff --git a/templates/base.html b/templates/base.html
index c7f641c..625b025 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -32,32 +32,51 @@
32</head> 32</head>
33 33
34<body> 34<body>
35 <!--<nav class="c-nav"> 35 <nav class="c-header">
36 <a class="c-nav__logo" href="/" title="$site.title$"> 36 <a class="c-outer-button c-outer-button--inverted" href="/" title="$site.title$">
37 <svg class="c-nav__logo-symbol"> 37 <span class="c-outer-button__icon">
38 <use href="#logo"></use> 38 <svg class="c-outer-button__icon-symbol">
39 </svg> 39 <use href="#logo"></use>
40 </svg>
41 </span>
40 </a> 42 </a>
41 $for(menus.main.items)$ 43 $if(section.is_index)$
42 <a class="c-nav__item $if(it.active)$c-nav__item--active$endif$" href="$it.url$">$it.label$</a> 44 $else$
43 $endfor$ 45 $for(menus.main.items)$
44 </nav>--> 46 $if(it.active)$
45 47 <a class="c-outer-button" href="$it.url$">
46 <a class="c-outer-button c-outer-button--logo c-logo" href="/" title="$site.title$"> 48 <span class="c-outer-button__content">
47 <span class="c-outer-button__icon"> 49 $it.label$
48 <svg class="c-outer-button__icon-symbol"> 50 </span>
49 <use href="#logo"></use> 51 </a>
50 </svg> 52 $endif$
51 </span> 53 $endfor$
52 </a> 54 $endif$
55 </nav>
53 56
54 $if(section.is_index)$ 57 <main>
58 $if(section.is_index)$
55${layouts/index()} 59${layouts/index()}
56 $elseif(layout.is_categorized_list)$ 60 $elseif(layout.is_categorized_list)$
57${layouts/categorized_list()} 61${layouts/categorized_list()}
58 $else$ 62 $else$
59${layouts/page()} 63${layouts/page()}
60 $endif$ 64 $endif$
65
66 <a class="c-outer-button c-outer-button--scroll-top" href="#" title="To the top">
67 <span class="c-outer-button__icon">
68 <svg class="c-outer-button__icon-symbol o-icon">
69 <use href="#icon-arrow-up"></use>
70 </svg>
71 </span>
72 </a>
73
74 <footer class="c-footer">
75 <div class="c-footer__content">
76 9thPK7O3xn
77 </div>
78 </footer>
79 </main>
61 80
62 ${symbols.svg()} 81 ${symbols.svg()}
63</body> 82</body>