diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 85fef15..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "themes/zola.386"] - path = themes/zola.386 - url = https://github.com/lopes/zola.386.git diff --git a/config.toml b/config.toml index ce02174..0554cbc 100644 --- a/config.toml +++ b/config.toml @@ -1,34 +1,27 @@ -# The URL the site will be built for base_url = "https://atlas48.sdf.org/" -# 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 title = "Atlas Cove's Blog" -theme = "zola.386" [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_syntaxes = ["extend"] render_emoji = true highlight_theme = "visual-studio-dark" -[[zola386_menu]] -name = "Home" -path = "/" -[[zola386_menu]] -name = "Docstore" -path = "https://atlas48.neocities.org/" -[[zola386_menu]] -name = "Social Media" -path = "https://atlas48.neocities.org/links.html" -[[taxonomies]] -name="catagories" -rss=true [[taxonomies]] name="tags" rss=true +[[taxonomies]] +name="catagories" +rss=true [extra] -# Put all your custom variables here author="Atlas Cove" keywords=[] +[[extra.links]] +name = "Home" +path = "/" +[[extra.links]] +name = "Docstore" +path = "https://atlas48.neocities.org/" +[[extra.links]] +name = "Social Media" +path = "https://atlas48.neocities.org/links.html" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..391fa5a --- /dev/null +++ b/content/_index.md @@ -0,0 +1,6 @@ ++++ +title = "List of blog posts" +sort_by = "date" +template = "index.tera" +page_template = "page.tera" ++++ \ No newline at end of file diff --git a/robots.txt b/robots.txt deleted file mode 100644 index b345a1a..0000000 --- a/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -User-agent: * -Allow: / -Sitemap: {{ get_url(path="sitemap.xml") }} diff --git a/templates/base.tera b/templates/base.tera new file mode 100644 index 0000000..6ca194a --- /dev/null +++ b/templates/base.tera @@ -0,0 +1,26 @@ +{% import "macros.tera" as m -%} + + + + +{{ "Atlas48@SDF: " ~ page.title }} + + + +
+{% for i in extra.links %} +{{ i.name }} +{% endfor %} +
+
+{% block content %} {% endblock %} +
+ + + \ No newline at end of file diff --git a/templates/index.tera b/templates/index.tera new file mode 100644 index 0000000..f5ee7d5 --- /dev/null +++ b/templates/index.tera @@ -0,0 +1,4 @@ +{%- extends "base.html" -%} +{%- block content -%} +

Hello World!

+{%- endblock -%} \ No newline at end of file diff --git a/templates/macros.tera b/templates/macros.tera new file mode 100644 index 0000000..e69de29 diff --git a/templates/page.tera b/templates/page.tera new file mode 100644 index 0000000..e7f0310 --- /dev/null +++ b/templates/page.tera @@ -0,0 +1,5 @@ +{%- extends "base.html" -%} +{%- block content -%} +

{{ page.title }}

+

{{ page.date }} +{%- endblock -%} \ No newline at end of file diff --git a/themes/zola.386 b/themes/zola.386 deleted file mode 160000 index d9c9726..0000000 --- a/themes/zola.386 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d9c9726435d1347341f2171f9aa751291f1db93d