summaryrefslogtreecommitdiffstats
path: root/templates/layouts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-10 16:41:05 +0200
committerVolpeon <git@volpeon.ink>2021-05-10 16:41:05 +0200
commita48d05d1d5fcff414359c8ba6cc8f38467aebdeb (patch)
tree3542bf116c910a1bb42b40d8531f60c2c2498b08 /templates/layouts
parentUpdate (diff)
downloadvolpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.tar.gz
volpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.tar.bz2
volpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.zip
Refactoring to fully take advantage of Make
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/index.html4
-rw-r--r--templates/layouts/page.html12
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html
index 6d4c776..45ac82e 100644
--- a/templates/layouts/index.html
+++ b/templates/layouts/index.html
@@ -59,13 +59,13 @@ $body$
59 </svg> 59 </svg>
60 </span> 60 </span>
61 <span class="c-outer-button__content"> 61 <span class="c-outer-button__content">
62 $subsections.projects.title$ 62 $pages.by_id.projects.title$
63 </span> 63 </span>
64 </a> 64 </a>
65 </header> 65 </header>
66 66
67 <div class="l-container l-container--pad-x l-container--pad-y l-project-grid"> 67 <div class="l-container l-container--pad-x l-container--pad-y l-project-grid">
68 $for(subsections.projects.pages)$ 68 $for(pages.by_id.projects.pages.all)$
69 <a class="c-project" href="$it.url.rel$"> 69 <a class="c-project" href="$it.url.rel$">
70 $if(it.preview)$ 70 $if(it.preview)$
71 <img class="c-project__picture" src="$it.preview.rel$" /> 71 <img class="c-project__picture" src="$it.preview.rel$" />
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
index 2093f8c..f89a692 100644
--- a/templates/layouts/page.html
+++ b/templates/layouts/page.html
@@ -1,12 +1,12 @@
1<section class="l-section l-section--fullscreen l-section--no-head"> 1<section class="l-section l-section--fullscreen l-section--no-head">
2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-colored-links s-headlines s-body"> 2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-colored-links s-headlines s-body">
3 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> 3 $if(category.show_date)$
4 4 <div class="s-body__meta">
5 <div class="s-body__meta">
6 $if(category.show_date)$
7 $date.long$ 5 $date.long$
8 $endif$ 6 </div>
9 </div> 7 $endif$
8
9 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>
10 10
11$body$ 11$body$
12 </div> 12 </div>