diff options
author | Volpeon <git@volpeon.ink> | 2021-03-21 12:52:39 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-03-21 12:52:39 +0100 |
commit | 8e1e42fcb54c33816d00b26a949753e6c3c9a904 (patch) | |
tree | 934f5193c9b6b956a9f982c8b9956a4e8c2c7270 /templates | |
parent | WIP: Redesign (diff) | |
download | volpeon.ink-8e1e42fcb54c33816d00b26a949753e6c3c9a904.tar.gz volpeon.ink-8e1e42fcb54c33816d00b26a949753e6c3c9a904.tar.bz2 volpeon.ink-8e1e42fcb54c33816d00b26a949753e6c3c9a904.zip |
WIP: Redesign
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layouts/index.html | 22 | ||||
-rw-r--r-- | templates/layouts/page.html | 11 |
2 files changed, 11 insertions, 22 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 3105472..aaac808 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html | |||
@@ -1,14 +1,14 @@ | |||
1 | <div class="c-hero l-container"> | 1 | <main> |
2 | <h1 class="c-hero__backtitle">Volpeon</h1> | 2 | <header class="c-hero"> |
3 | <h2 class="c-hero__title">I'm a <strong class="c-hero__emph">red fox</strong> doing human things</h2> | 3 | <h1 class="c-hero__title c-hero__title--front">I'm a <strong class="c-hero__emph">red fox</strong> in disguise</h1> |
4 | </div> | 4 | <h2 class="c-hero__title c-hero__title--back">Volpeon</h2> |
5 | </header> | ||
5 | 6 | ||
6 | <main class="c-page l-container l-container--content l-container--pad-v l-container--pad-v--first"> | 7 | <section class="l-container l-container--content"> |
7 | <div class="c-page__content s-page-content"> | ||
8 | $body$ | 8 | $body$ |
9 | </div> | 9 | </section> |
10 | </main> | ||
11 | 10 | ||
12 | <footer class="c-footer l-container"> | 11 | $-- <footer class="c-footer l-container"> |
13 | 9thPK7O3xn | 12 | $-- 9thPK7O3xn |
14 | </footer> | 13 | $-- </footer> |
14 | </main> | ||
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 994d013..fca4b9f 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
@@ -1,17 +1,6 @@ | |||
1 | <main class="c-page l-container l-container--content l-container--pad-v"> | 1 | <main class="c-page l-container l-container--content l-container--pad-v"> |
2 | <div class="c-page__content s-page-content"> | 2 | <div class="c-page__content s-page-content"> |
3 | <header class="c-page__header"> | 3 | <header class="c-page__header"> |
4 | $if(menus.main.active)$ | ||
5 | <div class="c-page__prefixed c-page__prefixed--backref c-page__header__backlink"> | ||
6 | <a class="c-page__header__backlink__link" href="$menus.main.active.url$"> | ||
7 | $if(menus.main.active.label_long)$ | ||
8 | $menus.main.active.label_long$ | ||
9 | $else$ | ||
10 | $menus.main.active.label$ | ||
11 | $endif$ | ||
12 | </a> | ||
13 | </div> | ||
14 | $endif$ | ||
15 | <h1 class="c-page__prefixed c-page__prefixed--h1 c-page__header__title">$title$</h1> | 4 | <h1 class="c-page__prefixed c-page__prefixed--h1 c-page__header__title">$title$</h1> |
16 | $if(category)$ | 5 | $if(category)$ |
17 | <h2 class="c-page__header__meta">in $category.name$</h2> | 6 | <h2 class="c-page__header__meta">in $category.name$</h2> |