mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-25 01:48:47 +00:00
completed setup of basic pages
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<footer>
|
||||
© 2023 Ian Andwati
|
||||
<span> built with <a href="http://">zola</a> </span>
|
||||
</footer>
|
||||
@@ -0,0 +1,13 @@
|
||||
<div>
|
||||
<div>
|
||||
<a href="/">Home</a>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="{{ get_url(path='@/blog/_index.md')}}">Blog</a></li>
|
||||
<li><a href="http://">Projects</a></li>
|
||||
<li><a href="http://">Newsletter</a></li>
|
||||
<li><a href="{{ get_url(path='@/archive/_index.md')}}">Archive</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
{% for year, posts in section.pages | group_by(attribute="year") %}
|
||||
<h2>{{ year }}</h2>
|
||||
|
||||
<ul>
|
||||
{% for post in posts %}
|
||||
<li><a href="{{ post.permalink }}">{{ post.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
+3
-1
@@ -3,11 +3,13 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Ian Andwati</title>
|
||||
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>{% include '_partials/_header.html' %}</header>
|
||||
<section class="section">
|
||||
<div class="container">{% block content %}{% endblock %}</div>
|
||||
</section>
|
||||
{% include '_partials/_footer.html' %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+7
-11
@@ -1,14 +1,10 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
{{ section.title}}
|
||||
</h1>
|
||||
{% extends 'base.html' %} {% block content %}
|
||||
<h1 class="title">{{ section.title}}</h1>
|
||||
|
||||
<ul>
|
||||
<!-- If you are using pagination, section.pages will be empty. You need to use the paginator object -->
|
||||
{% for page in section.pages %}
|
||||
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
<!-- If you are using pagination, section.pages will be empty. You need to use the paginator object -->
|
||||
{% for page in section.pages %}
|
||||
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock content %}
|
||||
{% endblock content %}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
{% extends 'base.html' %} {% block content %}
|
||||
<h1 class="title">This is my blog made with zola</h1>
|
||||
<p>Click <a href="{{ get_url(path='@/blog/_index.md')}}">here</a> to see my posts</p>
|
||||
|
||||
<h1>Work Experience</h1>
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user