aboutsummaryrefslogtreecommitdiff
path: root/zola-static/templates
diff options
context:
space:
mode:
Diffstat (limited to 'zola-static/templates')
-rw-r--r--zola-static/templates/blog-list.html (renamed from zola-static/templates/blog.html)0
-rw-r--r--zola-static/templates/index.html1
-rw-r--r--zola-static/templates/project-list.html15
-rw-r--r--zola-static/templates/project-page.html22
4 files changed, 38 insertions, 0 deletions
diff --git a/zola-static/templates/blog.html b/zola-static/templates/blog-list.html
index eb66dad..eb66dad 100644
--- a/zola-static/templates/blog.html
+++ b/zola-static/templates/blog-list.html
diff --git a/zola-static/templates/index.html b/zola-static/templates/index.html
index 141f8eb..2dbb894 100644
--- a/zola-static/templates/index.html
+++ b/zola-static/templates/index.html
@@ -13,6 +13,7 @@
<h2>Projects</h2>
<ul>
<li><a href="https://github.com/Martian-Technologies/Logic-Graph-Creator">Gatality Logic Simulator</a></li>
+ <li><a href="{{ get_url(path='@/projects/_index.md') }}">View More</a></li>
</ul>
<h2>Links</h2>
<ul>
diff --git a/zola-static/templates/project-list.html b/zola-static/templates/project-list.html
new file mode 100644
index 0000000..eb66dad
--- /dev/null
+++ b/zola-static/templates/project-list.html
@@ -0,0 +1,15 @@
+{% 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 %}
+</ul>
+{% endblock content %}
diff --git a/zola-static/templates/project-page.html b/zola-static/templates/project-page.html
new file mode 100644
index 0000000..ac332ef
--- /dev/null
+++ b/zola-static/templates/project-page.html
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+
+{% block title %}{{ page.title }}{% endblock title %}
+
+{% block header %}
+<div class="blog-header">
+ <div class="blog-header-left">
+ <h1 class="header-title">
+ {{ page.title }}
+ </h1>
+ <p class="subtitle"><strong>{{ page.date }}</strong> {% if page.updated %} <small>(updated {{ page.updated }})</small> {% endif %}</p>
+ </div>
+ <div class ="blog-header-right">
+ <h1 class="header-title"><a href="{{ config.base_url }}">Jack Jamison</a></h1>
+ </div>
+</div>
+{% endblock header %}
+
+{% block content %}
+<img src="/images/projects/{{ page.extra.cover }}" alt="{{ page.title }}">
+{{ page.content | safe }}
+{% endblock content %}