From 90779370ae60f4ee2bd5fef72d1932e30fc6836e Mon Sep 17 00:00:00 2001 From: Lyle Mantooth Date: Sun, 28 Aug 2022 12:45:08 -0400 Subject: [PATCH 1/5] More configuration. --- config.toml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 5efd685..a510552 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,10 @@ # The URL the site will be built for base_url = "https://menteeth.us" +title = "Annotated Annals" + +theme = "hermit_zola" + # Whether to automatically compile all Sass files in the sass directory compile_sass = true @@ -9,7 +13,21 @@ compile_sass = true highlight_code = true # Whether to build a search index to be used later on by a JavaScript library -build_search_index = true +build_search_index = false + +generate_feed = true + +feed_limit = 20 + +[markdown] +highlight_code = true +highlight_theme = "charcoal" + +external_links_target_blank = true +external_links_no_follow = true +external_links_no_referrer = true + +smart_punctuation = true [extra] # Put all your custom variables here @@ -22,4 +40,3 @@ hermit_social = [ [extra.author] name = "Lyle Mantooth" - From 43d1e35d3ae4f5f67e30f342a3a179e5a16b561a Mon Sep 17 00:00:00 2001 From: Lyle Mantooth Date: Sat, 15 Oct 2022 11:48:10 -0400 Subject: [PATCH 2/5] Update styles. --- sass/_predefined.scss | 37 +++++++++++++++++++++++++++++++++++++ sass/override.scss | 3 +++ 2 files changed, 40 insertions(+) create mode 100644 sass/_predefined.scss create mode 100644 sass/override.scss diff --git a/sass/_predefined.scss b/sass/_predefined.scss new file mode 100644 index 0000000..b48ae11 --- /dev/null +++ b/sass/_predefined.scss @@ -0,0 +1,37 @@ +// Colors +// +$theme: #018574; +$text: #c6cddb; +$light-grey: #154961; // Overridden +$dark-grey: #3b3e48; +$highlight-grey: #7d828a; +$midnightblue: #31333d; + +// Fonts +// +$fonts: "Trebuchet MS", Verdana, "Verdana Ref", "Segoe UI", Candara, + "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif; +$code-fonts: Consolas, "Andale Mono WT", "Andale Mono", Menlo, Monaco, + "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", + "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", + Courier, "YaHei Consolas Hybrid", monospace, "Segoe UI Emoji", "PingFang SC", + "Microsoft YaHei"; + +// Mixins +// +@mixin dimmed { + opacity: 0.6; +} + +@mixin aTag { + a { + word-break: break-all; + border: none; + box-shadow: inset 0 -4px 0 $theme; + transition-property: background-color; + + &:hover { + background-color: $theme; + } + } +} diff --git a/sass/override.scss b/sass/override.scss new file mode 100644 index 0000000..f85ae69 --- /dev/null +++ b/sass/override.scss @@ -0,0 +1,3 @@ +html { + background: #154961; +} From b37731a7555b882903bc7f37506896024434e8b6 Mon Sep 17 00:00:00 2001 From: Lyle Mantooth Date: Sat, 15 Oct 2022 11:48:33 -0400 Subject: [PATCH 3/5] First post! Starting online Bible Journal. --- content/bible_journal/_index.md | 16 ++++++++++++++++ content/bible_journal/luke_1:1-4.md | 19 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 content/bible_journal/_index.md create mode 100644 content/bible_journal/luke_1:1-4.md diff --git a/content/bible_journal/_index.md b/content/bible_journal/_index.md new file mode 100644 index 0000000..374d6ff --- /dev/null +++ b/content/bible_journal/_index.md @@ -0,0 +1,16 @@ ++++ +title = "Bible Journal" +sort_by = "date" ++++ + +As a method of accountability, a way to spark conversation, and hopefully a +spur towards consistency, I am here and now starting to publish my Bible study +journal to this website. This is a good time for it because I have just wrapped +up Romans and Zephaniah in a physical journal, and now I am starting to study +the Gospel according to Luke. My prayer is that this effort will benefit both +myself as I continue my walk with the Lord, and also to encourage fellow +believers to read God's Word and mine out the treasures that are in it. + +The format for these pages is to start with a link to the passage of Scripture +being read, followed by a paragraph or two of notes, and ending with a short +prayer. diff --git a/content/bible_journal/luke_1:1-4.md b/content/bible_journal/luke_1:1-4.md new file mode 100644 index 0000000..70ca07d --- /dev/null +++ b/content/bible_journal/luke_1:1-4.md @@ -0,0 +1,19 @@ ++++ +title = "Luke 1:1–4" +date = "2022-10-15" ++++ + +### [Read the passage.](https://biblia.com/bible/esv/Lk1.1-4) + +In the very beginning of his writing, Luke lays out his purpose in recording +the life and ministry of Jesus. Though he addresses Theophilus, the style +indicates he expected many people to read his book, so that all believers would +have certainty about the things they have been taught. This certainty comes +from having "followed all things closely" (_v. 3_) that came from "those who +from the beginning were eye-witnesses and ministers of the word" (_v. 2_). So, +while Luke is giving us a second-hand account, his sources are primary sources +who really saw Jesus do amazing things. + +* * * + +You speak only the truth, O Lord. You give us certainty in an uncertain world. From 50e2c4f3cfaf83402687f8573c21edc91c06b69e Mon Sep 17 00:00:00 2001 From: Lyle Mantooth Date: Sat, 15 Oct 2022 11:49:48 -0400 Subject: [PATCH 4/5] Link to Bible Journal index. --- config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.toml b/config.toml index a510552..196fe84 100644 --- a/config.toml +++ b/config.toml @@ -33,6 +33,10 @@ smart_punctuation = true # Put all your custom variables here home_subtitle = "Infrequently increasing in interesting entries" +hermit_menu = [ +{ link = "/bible_journal", name = "Bible Journal" } +] + hermit_social = [ { name = "github", link = "https://github.com/IslandUsurper" }, { name = "twitter", link = "https://fosstodon.org/@IslandUsurper" } From 8b9f64b31bad71cd36e364be217733974ae7d303 Mon Sep 17 00:00:00 2001 From: Lyle Mantooth Date: Sat, 15 Oct 2022 11:50:09 -0400 Subject: [PATCH 5/5] Override section.html for index content. --- templates/section.html | 72 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 templates/section.html diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..b68b2ee --- /dev/null +++ b/templates/section.html @@ -0,0 +1,72 @@ +{% extends "index.html" %} {% import "macros.html" as macros %} {% block header +%} + +
+ +
+{% endblock header %} {% block title %} {% endblock title %} {% block main %} + +
+ {{ section.content | safe }} +

{{ section.title }}

+ {% for year, pages in section.pages | group_by(attribute="year") %} +
+
{{ year }}
+ +
+ {% endfor %} +
+ +{% endblock main %} {% block footer %} {{ macros::footer() }} {% endblock footer +%}