From 20c9b454709d1a7baa712175ae6ce6dd7ea86054 Mon Sep 17 00:00:00 2001 From: kumquat Date: Sat, 11 Apr 2020 06:39:38 +0200 Subject: [PATCH] base du blog --- .gitignore | 2 ++ config.toml | 25 +++++++++++++++++++++++++ content/_index.md | 4 ++++ content/about.md | 5 +++++ content/blog/_index.md | 6 ++++++ content/contact.md | 9 +++++++++ publish | 5 +++++ 7 files changed, 56 insertions(+) create mode 100644 .gitignore create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 content/about.md create mode 100644 content/blog/_index.md create mode 100644 content/contact.md create mode 100755 publish diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eab62c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/public/ +/themes/ diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..b39f135 --- /dev/null +++ b/config.toml @@ -0,0 +1,25 @@ +# The URL the site will be built for +base_url = "https://kumquat.tilde.team" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = true + +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = true + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = true + +generate_rss = true + + +title = "kumquat" +theme = "sam" +[extra] +sam_menu = [ +{ text = "blog", link = "/blog" }, +{ text = "about", link = "/about" }, +{ text = "contact", link = "/contact" }, +{ text = "feed", link = "/rss.xml" }, +] diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..b1f201d --- /dev/null +++ b/content/_index.md @@ -0,0 +1,4 @@ ++++ +title = "fortunella reads" +template = "index.html" ++++ diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..c58dd94 --- /dev/null +++ b/content/about.md @@ -0,0 +1,5 @@ ++++ +title = "About" ++++ + +I'm a kumquat! diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..d88dab9 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,6 @@ ++++ +title = "fortunella reads" +template = "section.html" +page_template = "page.html" +sort_by = "date" ++++ diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..4956a37 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,9 @@ ++++ +title = "Contact" ++++ + +## IRC + +``` +kumquat@irc.tilde.chat +``` diff --git a/publish b/publish new file mode 100755 index 0000000..23663bb --- /dev/null +++ b/publish @@ -0,0 +1,5 @@ +#! /bin/bash + +zola build && \ +rsync -a -c -P -v --delete-before \ +public/ kumquat@tilde.team:public_html/