summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html36
-rw-r--r--templates/layouts/categorized_list.html2
-rw-r--r--templates/layouts/list.html2
3 files changed, 19 insertions, 21 deletions
diff --git a/templates/base.html b/templates/base.html
index 6424447..e736864 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -44,25 +44,23 @@
44</head> 44</head>
45 45
46<body> 46<body>
47 <header class="c-header"> 47 <nav class="c-header">
48 <nav class="c-header__nav"> 48 <a class="c-header__item c-header__item--icon" href="/" title="$site.title$">
49 <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> 49 <svg class="c-header__icon" width="1em" height="1em">
50 <svg class="c-header__icon" width="1em" height="1em"> 50 <use href="/symbols.svg#logo"></use>
51 <use href="/symbols.svg#logo"></use> 51 </svg>
52 </svg> 52 </a>
53 </a> 53 $if(namespace.root.is_index)$
54 $if(namespace.root.is_index)$ 54 $else$
55 $else$ 55 $for(menus.main.items)$
56 $for(menus.main.items)$ 56 $if(it.active)$
57 $if(it.active)$ 57 <a class="c-header__item" href="$it.url$">
58 <a class="c-header__item" href="$it.url$"> 58 $it.label$
59 $it.label$ 59 </a>
60 </a> 60 $endif$
61 $endif$ 61 $endfor$
62 $endfor$ 62 $endif$
63 $endif$ 63 </nav>
64 </nav>
65 </header>
66 64
67 <main> 65 <main>
68 $if(namespace.root.is_index)$ 66 $if(namespace.root.is_index)$
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index f8c3fab..a3af43c 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -14,7 +14,7 @@ $body$
14 <div class="c-card-list__category-content$if(it.list_grid)$ c-card-list__category-content--grid$endif$"> 14 <div class="c-card-list__category-content$if(it.list_grid)$ c-card-list__category-content--grid$endif$">
15 $for(it.pages.all)$ 15 $for(it.pages.all)$
16 <a href="$it.url.rel$" class="c-card-list__card c-card"> 16 <a href="$it.url.rel$" class="c-card-list__card c-card">
17 $if(pages.all.show_read_indicators)$ 17 $if(pages.all.list_read_indicators)$
18 <div class="c-card__block c-card__block--indicator"></div> 18 <div class="c-card__block c-card__block--indicator"></div>
19 $endif$ 19 $endif$
20 $if(pages.all.icon)$ 20 $if(pages.all.icon)$
diff --git a/templates/layouts/list.html b/templates/layouts/list.html
index 208b267..2ef02ab 100644
--- a/templates/layouts/list.html
+++ b/templates/layouts/list.html
@@ -9,7 +9,7 @@ $body$
9 <div class="c-card-list__category-content$if(list_grid)$ c-card-list__category-content--grid$endif$"> 9 <div class="c-card-list__category-content$if(list_grid)$ c-card-list__category-content--grid$endif$">
10 $for(pages.all)$ 10 $for(pages.all)$
11 <a href="$it.url.rel$" class="c-card-list__card c-card"> 11 <a href="$it.url.rel$" class="c-card-list__card c-card">
12 $if(show_read_indicators)$ 12 $if(list_read_indicators)$
13 <div class="c-card__block c-card__block--indicator"></div> 13 <div class="c-card__block c-card__block--indicator"></div>
14 $endif$ 14 $endif$
15 $if(icon)$ 15 $if(icon)$