From 536d364573fc203ea449bee33d66671f516984b0 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Mon, 6 Nov 2023 19:33:51 +0200 Subject: Initial commit of project migration. Changes to be committed: new file: config.toml new file: content/blog/_index.md new file: content/blog/first.md new file: content/blog/second.md new file: description new file: templates/base.html new file: templates/blog-page.html new file: templates/blog.html new file: templates/index.html --- config.toml | 16 ++++++++++++++++ content/blog/_index.md | 6 ++++++ content/blog/first.md | 6 ++++++ content/blog/second.md | 6 ++++++ description | 1 + templates/base.html | 17 +++++++++++++++++ templates/blog-page.html | 9 +++++++++ templates/blog.html | 13 +++++++++++++ templates/index.html | 8 ++++++++ 9 files changed, 82 insertions(+) create mode 100644 config.toml create mode 100644 content/blog/_index.md create mode 100644 content/blog/first.md create mode 100644 content/blog/second.md create mode 100644 description create mode 100644 templates/base.html create mode 100644 templates/blog-page.html create mode 100644 templates/blog.html create mode 100644 templates/index.html diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..4bd71ea --- /dev/null +++ b/config.toml @@ -0,0 +1,16 @@ +# The URL the site will be built for +base_url = "https://alphara.art" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = true + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = true + +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = true + +[extra] +# Put all your custom variables here diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..72bc989 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,6 @@ ++++ +title = "List of blog posts" +sort_by = "date" +template = "blog.html" +page_template = "blog-page.html" ++++ diff --git a/content/blog/first.md b/content/blog/first.md new file mode 100644 index 0000000..a1d1130 --- /dev/null +++ b/content/blog/first.md @@ -0,0 +1,6 @@ ++++ +title = "My first post" +date = 2019-11-27 ++++ + +This is my first blog post. diff --git a/content/blog/second.md b/content/blog/second.md new file mode 100644 index 0000000..04db092 --- /dev/null +++ b/content/blog/second.md @@ -0,0 +1,6 @@ ++++ +title = "My second post" +date = 2019-11-28 ++++ + +This is my second blog post. diff --git a/description b/description new file mode 100644 index 0000000..b135000 --- /dev/null +++ b/description @@ -0,0 +1 @@ +This was my Zola Overview tutorial done. diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..59eaaae --- /dev/null +++ b/templates/base.html @@ -0,0 +1,17 @@ + + + +
+ +{{ page.date }}
+{{ page.content | safe }} +{% endblock content %} diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..8e3cc52 --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block content %} +Click here to see my posts.
+{% endblock content %} -- cgit v1.2.3