very minimal theme
This commit is contained in:
26
src/_includes/default.njk
Normal file
26
src/_includes/default.njk
Normal file
@@ -0,0 +1,26 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ page.lang }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% if title %}{{ title }} — {% endif %}{{ site.title }}</title>
|
||||
<link href="{{ '/assets/css/style.css' }}" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="sidebar">
|
||||
{#% include "sidebar.html" %#}
|
||||
</div>
|
||||
<div class="content">
|
||||
<h1>{{ title }}</h1>
|
||||
<ul class="images">
|
||||
{% for image in images %}
|
||||
<li><img src="../../images/{{ image }}"></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user