aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-05 01:42:23 -0300
committerEuAndreh <eu@euandre.org>2020-02-05 01:42:23 -0300
commite40de080c312f38b692ff687fa10be66951223dc (patch)
treeebedc339f8f3499e1851736193fa2d0f186bc608 /_layouts/default.html
parentAdd Jekyll generated website (diff)
downloadeuandre.org-e40de080c312f38b692ff687fa10be66951223dc.tar.gz
euandre.org-e40de080c312f38b692ff687fa10be66951223dc.tar.xz
WIP Jekyll
Diffstat (limited to '')
-rw-r--r--_layouts/default.html (renamed from site/templates/default.html)18
1 files changed, 8 insertions, 10 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>