diff options
Diffstat (limited to '')
-rw-r--r-- | _layouts/default.html (renamed from site/templates/default.html) | 18 | ||||
-rw-r--r-- | site/templates/pastebin-list.html | 7 | ||||
-rw-r--r-- | site/templates/pastebin.html | 8 | ||||
-rw-r--r-- | site/templates/post-list.html | 7 | ||||
-rw-r--r-- | site/templates/post.html | 16 |
5 files changed, 8 insertions, 48 deletions
diff --git a/site/templates/default.html b/_layouts/default.html index 2fdf64b..fc9befd 100644 --- a/site/templates/default.html +++ b/_layouts/default.html @@ -1,12 +1,12 @@ -<!doctype html> -<html lang="en"> +<!DOCTYPE html> +<html lang="{{ page.lang | default: site.lang | default: "en" }}"> <head> - <meta charset="utf-8"> - <meta http-equiv="x-ua-compatible" content="ie=edge"> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>$title$ - EuAndreh's blog</title> - <link rel="stylesheet" href="/css/styles.css" /> - <link rel="alternate" type="application/atom+xml" href="/feed.atom" title="EuAndreh's Feed" /> + <link rel="stylesheet" href="/styles.css"> + <link rel="alternate" type="application/atom+xml" href="/feed.xml" title="EuAndreh's Feed" /> + {%- seo -%} </head> <body> <header> @@ -24,8 +24,7 @@ </header> <main role="main"> - <h1>$title$</h1> - $body$ + {{ content }} </main> <footer> @@ -39,7 +38,6 @@ <a href="/public-key.txt">81F90EC3CD356060</a> </li> </ul> - <p> The content for this site is licensed under <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA</a>. The <a href="https://git.sr.ht/~euandreh/website">code</a> is <a href="https://git.sr.ht/~euandreh/website/tree/master/LICENSE">GPLv3 or later</a>. </p> diff --git a/site/templates/pastebin-list.html b/site/templates/pastebin-list.html deleted file mode 100644 index 4c98c80..0000000 --- a/site/templates/pastebin-list.html +++ /dev/null @@ -1,7 +0,0 @@ -<ul> - $for(pastebins)$ - <li> - <a href="$url$">$title$</a> - $date$ - </li> - $endfor$ -</ul> diff --git a/site/templates/pastebin.html b/site/templates/pastebin.html deleted file mode 100644 index 7aa2775..0000000 --- a/site/templates/pastebin.html +++ /dev/null @@ -1,8 +0,0 @@ -<article> - <section class="header"> - Posted on $date$ - </section> - <section> - $body$ - </section> -</article> diff --git a/site/templates/post-list.html b/site/templates/post-list.html deleted file mode 100644 index c64cdbd..0000000 --- a/site/templates/post-list.html +++ /dev/null @@ -1,7 +0,0 @@ -<ul> - $for(posts)$ - <li> - <a href="$url$">$title$</a> - $date$ - </li> - $endfor$ -</ul> diff --git a/site/templates/post.html b/site/templates/post.html deleted file mode 100644 index 0ec1efe..0000000 --- a/site/templates/post.html +++ /dev/null @@ -1,16 +0,0 @@ -<article> - <section class="header"> - Posted on $date$ - </section> - <section> - $body$ - </section> - <section> - <p>Have a comment on this post? Start a discussion - in my <a href="https://lists.sr.ht/~euandreh/public-inbox">public inbox</a> - by sending an email to <a href="mailto:~euandreh/public-inbox@lists.sr.ht?Subject=Re%3A%20$title$">~euandreh/public-inbox@lists.sr.ht</a> - [<a href="https://man.sr.ht/lists.sr.ht/etiquette.md">mailing list etiquette</a>], - or see <a href="https://lists.sr.ht/~euandreh/public-inbox?search=$title$">existing discussions</a>. - </p> - </section> -</article> |