diff options
| author | JackJ30 <jackqjamison@gmail.com> | 2025-05-11 23:53:55 -0400 |
|---|---|---|
| committer | JackJ30 <jackqjamison@gmail.com> | 2025-05-11 23:53:55 -0400 |
| commit | 1c831883e0ad3d6edb753248aa3e8be52e8f2e0a (patch) | |
| tree | 50cd9df62933d53a335e1be7571f446274eb6ff2 /zola-static/templates | |
| parent | 1e11acb9cf5e5c8642e4f9d5c44455fd14045502 (diff) | |
zola site
Diffstat (limited to 'zola-static/templates')
| -rw-r--r-- | zola-static/templates/base.html | 17 | ||||
| -rw-r--r-- | zola-static/templates/blog-page.html | 9 | ||||
| -rw-r--r-- | zola-static/templates/blog.html | 15 | ||||
| -rw-r--r-- | zola-static/templates/index.html | 8 |
4 files changed, 49 insertions, 0 deletions
diff --git a/zola-static/templates/base.html b/zola-static/templates/base.html new file mode 100644 index 0000000..8f16f97 --- /dev/null +++ b/zola-static/templates/base.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta charset="utf-8"> + <title>Jack Jamison</title> +</head> + +<body> + <section class="section"> + <div class="container"> + {% block content %} {% endblock content %} + </div> + </section> +</body> + +</html> diff --git a/zola-static/templates/blog-page.html b/zola-static/templates/blog-page.html new file mode 100644 index 0000000..f0f638e --- /dev/null +++ b/zola-static/templates/blog-page.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} +<h1 class="title"> + {{ page.title }} +</h1> +<p class="subtitle"><strong>{{ page.date }}</strong></p> +{{ page.content | safe }} +{% endblock content %} diff --git a/zola-static/templates/blog.html b/zola-static/templates/blog.html new file mode 100644 index 0000000..eb66dad --- /dev/null +++ b/zola-static/templates/blog.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/index.html b/zola-static/templates/index.html new file mode 100644 index 0000000..297850d --- /dev/null +++ b/zola-static/templates/index.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block content %} +<h1 class="title"> + Jack Jamison's Homepage +</h1> +<p><a href ="{{ get_url(path='@/blog/_index.md') }}">My blog</a></p> +{% endblock content %} |
