refactor: move personal site to sites/nrd.sh/
Reorganize for monorepo structure: - Move content/, templates/, static/, site.toml → sites/nrd.sh/ - Frees root for sukr docs site - Build with: sukr -c sites/nrd.sh/site.toml
This commit is contained in:
29
sites/nrd.sh/templates/base.html
Normal file
29
sites/nrd.sh/templates/base.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{{ title }} | {{ config.title }}</title>
|
||||
<link rel="canonical" href="{{ base_url }}{{ page_path }}" />
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/atom+xml"
|
||||
title="Atom Feed"
|
||||
href="{{ base_url }}/feed.xml"
|
||||
/>
|
||||
<link rel="stylesheet" href="{{ prefix }}/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<a href="{{ prefix }}/index.html">{{ config.title }}</a>
|
||||
{% for item in nav %}
|
||||
<a href="{{ prefix }}{{ item.path }}">{{ item.label }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
<main>{% block content %}{% endblock content %}</main>
|
||||
<footer>
|
||||
<p>© {{ config.author }}</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user