diff options
author | sefidel <contact@sefidel.net> | 2023-03-26 16:55:25 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-03-26 16:55:25 +0900 |
commit | 77ffc8dfeabd45cb3fac500902fcbcb7176edcc7 (patch) | |
tree | 4c3a538e0792d60ca637a3921341820087311233 /templates/parts | |
download | sefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.tar.gz sefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.zip |
project: Initial commit
Diffstat (limited to 'templates/parts')
-rw-r--r-- | templates/parts/head.html | 11 | ||||
-rw-r--r-- | templates/parts/nav.html | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/templates/parts/head.html b/templates/parts/head.html new file mode 100644 index 0000000..1336ec0 --- /dev/null +++ b/templates/parts/head.html @@ -0,0 +1,11 @@ +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +{% block rss %} +<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}"> +{% endblock %} +{% if current_url %} +<link rel="canonical" href="{{ current_url | safe }}"> +{% endif %} +<link rel="stylesheet" href="{{ get_url(path="normalize.css") }}"> +<link rel="stylesheet" href="{{ get_url(path="style.css") }}"> +<link rel="stylesheet" href="{{ get_url(path="sarasa-gothic.css") }}"> diff --git a/templates/parts/nav.html b/templates/parts/nav.html new file mode 100644 index 0000000..4d47ce0 --- /dev/null +++ b/templates/parts/nav.html @@ -0,0 +1,8 @@ +<nav> + {% if not isHome %} + <a href="/">Home</a> · + {% endif %} + <a href="/posts">Posts</a> · + <a href="/projects">Projects</a> · + <a rel="me" href="/about">About</a> +</nav> |