From c0f1b48ce2c9f9b409c2ff35a622bf300cc01f9f Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Wed, 24 Jul 2024 00:17:28 +0200 Subject: [PATCH] added new section on site and made the theme make more sense --- content/{index-about.md => _index.md} | 0 content/about.md | 2 +- content/deloses/_index.md | 5 ++++ content/{theses => deloses}/evolution.md | 2 +- content/{theses => deloses}/self.md | 6 ++-- content/donate.md | 3 +- content/theses/_index.md | 4 +++ content/theses/axioms.md | 2 +- content/theses/existence.md | 2 +- content/theses/{logic.md => fallacy.md} | 4 +-- content/theses/free-will.md | 2 +- hugo.toml | 12 ++++++-- layouts/_default/baseof.html | 2 ++ layouts/_default/list.html | 12 ++++---- layouts/_default/single.html | 9 +++--- layouts/_default/terms.html | 21 ------------- layouts/index.html | 15 ++++------ layouts/{ => partials}/404.html | 0 layouts/partials/delosis-list.html | 9 ++++++ layouts/partials/footer.html | 1 + layouts/partials/head.html | 1 + layouts/partials/header.html | 9 +----- layouts/partials/{post.html => keimeno.html} | 2 ++ layouts/partials/list.html | 31 -------------------- layouts/partials/{page.html => peri.html} | 1 + layouts/partials/prev-next.html | 8 ++--- layouts/partials/thesis-list.html | 28 ++++++++++++++++++ 27 files changed, 95 insertions(+), 98 deletions(-) rename content/{index-about.md => _index.md} (100%) create mode 100644 content/deloses/_index.md rename content/{theses => deloses}/evolution.md (99%) rename content/{theses => deloses}/self.md (98%) create mode 100644 content/theses/_index.md rename content/theses/{logic.md => fallacy.md} (99%) mode change 100755 => 100644 layouts/_default/baseof.html mode change 100755 => 100644 layouts/_default/list.html mode change 100755 => 100644 layouts/_default/single.html delete mode 100755 layouts/_default/terms.html mode change 100755 => 100644 layouts/index.html rename layouts/{ => partials}/404.html (100%) create mode 100755 layouts/partials/delosis-list.html mode change 100755 => 100644 layouts/partials/footer.html mode change 100755 => 100644 layouts/partials/head.html mode change 100755 => 100644 layouts/partials/header.html rename layouts/partials/{post.html => keimeno.html} (99%) mode change 100755 => 100644 delete mode 100755 layouts/partials/list.html rename layouts/partials/{page.html => peri.html} (99%) mode change 100755 => 100644 create mode 100755 layouts/partials/thesis-list.html diff --git a/content/index-about.md b/content/_index.md similarity index 100% rename from content/index-about.md rename to content/_index.md diff --git a/content/about.md b/content/about.md index 7412eb4..b71d6b4 100755 --- a/content/about.md +++ b/content/about.md @@ -1,6 +1,6 @@ --- title: "about" -type: "page" +type: "peri" --- I do not, and hopefully never will, claim to know the truth. In fact, I [claim the opposite](/theses/axioms/). diff --git a/content/deloses/_index.md b/content/deloses/_index.md new file mode 100644 index 0000000..8ffda5c --- /dev/null +++ b/content/deloses/_index.md @@ -0,0 +1,5 @@ +--- +title: "deloses" +type: "delosis" +--- + diff --git a/content/theses/evolution.md b/content/deloses/evolution.md similarity index 99% rename from content/theses/evolution.md rename to content/deloses/evolution.md index 9229fdd..a7bbb82 100755 --- a/content/theses/evolution.md +++ b/content/deloses/evolution.md @@ -1,7 +1,7 @@ --- title: "Evolutionary leftovers" description: "A thesis on the societal role of men and women." -type: "post" +type: "delosis" draft: true --- diff --git a/content/theses/self.md b/content/deloses/self.md similarity index 98% rename from content/theses/self.md rename to content/deloses/self.md index a1fdc8b..658d583 100755 --- a/content/theses/self.md +++ b/content/deloses/self.md @@ -1,11 +1,9 @@ --- title: "A proper introduction" -chapter: "on logic" -section: 2 -description: "Who am I? How did I get here?" +description: "Who am I? How did I get here?" weight: 2 -type: "post" +type: "delosis" --- The axiomatic system of faith that I choose to believe in is the dogma of the Orthodox Catholic Church, as it was established in the First Ecumenical Council of Nicaea. diff --git a/content/donate.md b/content/donate.md index 25de92c..614a6ad 100755 --- a/content/donate.md +++ b/content/donate.md @@ -1,7 +1,6 @@ --- title: "donations" -type: "page" -// showTableOfContents: true +type: "peri" --- # thank you for considering supporting diff --git a/content/theses/_index.md b/content/theses/_index.md new file mode 100644 index 0000000..395f62c --- /dev/null +++ b/content/theses/_index.md @@ -0,0 +1,4 @@ +--- +title: "theses" +type: "thesis" +--- diff --git a/content/theses/axioms.md b/content/theses/axioms.md index 8154e14..f0f409f 100755 --- a/content/theses/axioms.md +++ b/content/theses/axioms.md @@ -5,7 +5,7 @@ section: 1 description: "A thesis on the axiomatic foundation of reality" weight: 1 -type: "post" +type: "thesis" --- The words "logic" and "knowledge" are often connected in the minds of humans. In the sciences, logic is used religiously, in an attempt to obtain knowledge, in the same way that it is used in religions. diff --git a/content/theses/existence.md b/content/theses/existence.md index 6d1ebaa..86feb12 100644 --- a/content/theses/existence.md +++ b/content/theses/existence.md @@ -5,7 +5,7 @@ section: 1 description: "Attempting to justify why we aren't souless automata" weight: 4 -type: "post" +type: "thesis" --- In order to define and then converse on ideas relating to free will, one must first convince themselves on its existence. Surely one can simply make a definition, as well as talk about the emergent system much like any other metaphysical structure, but for there to be a reason to do so, one must be able to argue for its existence. diff --git a/content/theses/logic.md b/content/theses/fallacy.md similarity index 99% rename from content/theses/logic.md rename to content/theses/fallacy.md index 880ec62..d147585 100755 --- a/content/theses/logic.md +++ b/content/theses/fallacy.md @@ -1,11 +1,11 @@ --- title: "Concerning logic" chapter: "on logic" -section: 3 +section: 2 description: "Most appeals to logic are appeals to authority" weight: 3 -type: "post" +type: "thesis" --- To conclude the [discussion on logic](/theses/axioms/), I would like to examine in depth the propagation of knowledge, in order to present the greatest result; the fact that most appeals to logic are themselves a logical fallacy. diff --git a/content/theses/free-will.md b/content/theses/free-will.md index 6900717..b9b1d8f 100755 --- a/content/theses/free-will.md +++ b/content/theses/free-will.md @@ -5,7 +5,7 @@ section: 2 description: "Trying to define human behaviour" weight: 5 -type: "post" +type: "thesis" draft: true --- diff --git a/hugo.toml b/hugo.toml index 36e1855..806a204 100755 --- a/hugo.toml +++ b/hugo.toml @@ -12,7 +12,7 @@ enableRobotsTXT = true [menu] [[menu.main]] url="/" - name="home" + name="frontispiece" weight = 1 [[menu.main]] @@ -24,7 +24,12 @@ enableRobotsTXT = true url="/theses/" name="theses" weight = 3 - + + [[menu.main]] + url="/deloses/" + name="deloses" + weight = 4 + [[menu.main]] identifier = "rss" pre = "" @@ -44,7 +49,8 @@ enableRobotsTXT = true # Accent color is displayed when you hover over tags accentColor = "#AC9C6D" - # accentColor = "#665d40" + + toctitle="table of contents" text_color = "" author = "" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html old mode 100755 new mode 100644 index 0db2d6f..013b207 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,3 +19,5 @@ {{- partial "footer.html" . -}} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html old mode 100755 new mode 100644 index 8caf133..5d46f79 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,9 @@ {{ define "main" }} - {{ if eq .Type "page" }} - {{- partial "page.html" . -}} - {{ else }} - {{- partial "list.html" . -}} - {{ end }} + {{ if eq .Type "thesis" }} + {{- partial "thesis-list.html" . -}} + {{ else if eq .Type "delosis" }} + {{- partial "delosis-list.html" . -}} + {{ else }} + {{- partial "404.html" . -}} + {{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html old mode 100755 new mode 100644 index 527011a..0db1b5e --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,11 +1,12 @@ {{ define "main" }} - {{ if eq .Type "post" }} - {{- partial "post.html" . -}} + {{ if or (eq .Type "dilosis") (eq .Type "thesis") }} + {{- partial "keimeno.html" . -}} {{- partial "toc.html" . -}} {{ end }} - {{ if eq .Type "page" }} - {{- partial "page.html" . -}} + {{ if eq .Type "peri" }} + {{- partial "peri.html" . -}} {{- partial "toc.html" . -}} {{ end }} {{ end }} + diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html deleted file mode 100755 index affab42..0000000 --- a/layouts/_default/terms.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ define "main" }} - -{{ end }} diff --git a/layouts/index.html b/layouts/index.html old mode 100755 new mode 100644 index 9957243..faecd05 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,16 +1,13 @@ {{ define "main" }} -
- -
- {{ readFile "index-about.md" | markdownify }} +
+ {{ readFile "_index.md" | markdownify }}
-
- -

table of contents

- - {{- partial "list.html" . -}} +
+

{{ .Site.Params.toctitle }}

+ + {{- partial "thesis-list.html" . -}}
{{ end }} diff --git a/layouts/404.html b/layouts/partials/404.html similarity index 100% rename from layouts/404.html rename to layouts/partials/404.html diff --git a/layouts/partials/delosis-list.html b/layouts/partials/delosis-list.html new file mode 100755 index 0000000..aa7ec77 --- /dev/null +++ b/layouts/partials/delosis-list.html @@ -0,0 +1,9 @@ +
+ + {{ $deloses := where .Site.Pages "Params.type" "delosis"}} + +

deloses

+ +

this is being written

+ +
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html old mode 100755 new mode 100644 index f06790a..4a7dd3d --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,3 +6,4 @@ © {{ now.Year }} + diff --git a/layouts/partials/head.html b/layouts/partials/head.html old mode 100755 new mode 100644 index 834e1fb..d9b4f62 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,3 +1,4 @@ + diff --git a/layouts/partials/header.html b/layouts/partials/header.html old mode 100755 new mode 100644 index 3a3a542..ce35d5a --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,14 +1,6 @@
+ diff --git a/layouts/partials/post.html b/layouts/partials/keimeno.html old mode 100755 new mode 100644 similarity index 99% rename from layouts/partials/post.html rename to layouts/partials/keimeno.html index a514694..4f45908 --- a/layouts/partials/post.html +++ b/layouts/partials/keimeno.html @@ -1,4 +1,5 @@
+

{{ .Title }}

{{ .Description }} @@ -58,3 +59,4 @@
{{ end }}
+ diff --git a/layouts/partials/list.html b/layouts/partials/list.html deleted file mode 100755 index ba66ee1..0000000 --- a/layouts/partials/list.html +++ /dev/null @@ -1,31 +0,0 @@ -
- - {{ $posts := where .Site.Pages "Params.type" "post"}} - - {{ $ch1 := "on logic" }} - {{ $ch2 := "on free will"}} - - {{ if eq .Title "Theses" }} -

{{ lower "Philopsophical Inquiries" }}

- {{ end }} - -

{{ lower $ch1 }}

- - {{ range (where $posts "Params.chapter" $ch1).ByParam "section" }} - - {{ end }} - -

{{ lower $ch2 }}

- - {{ range (where $posts "Params.chapter" $ch2).ByParam "section" }} - - {{ end }} - - - - -
diff --git a/layouts/partials/page.html b/layouts/partials/peri.html old mode 100755 new mode 100644 similarity index 99% rename from layouts/partials/page.html rename to layouts/partials/peri.html index 0be4486..0537341 --- a/layouts/partials/page.html +++ b/layouts/partials/peri.html @@ -1,3 +1,4 @@ +
diff --git a/layouts/partials/prev-next.html b/layouts/partials/prev-next.html index 53406bd..fa13860 100755 --- a/layouts/partials/prev-next.html +++ b/layouts/partials/prev-next.html @@ -1,12 +1,12 @@ {{ with .NextInSection }} {{ end }} diff --git a/layouts/partials/thesis-list.html b/layouts/partials/thesis-list.html new file mode 100755 index 0000000..b17d315 --- /dev/null +++ b/layouts/partials/thesis-list.html @@ -0,0 +1,28 @@ +
+ + {{ $theses := where .Site.Pages "Params.type" "thesis" }} + + {{ $ch1 := "on logic" }} + {{ $ch2 := "on free will"}} + + {{ if eq .Title "theses" }} +

{{ .Title }}

+ {{ end }} + +

{{ lower $ch1 }}

+ + {{ range (where $theses "Params.chapter" $ch1).ByParam "section" }} + + {{ end }} + +

{{ lower $ch2 }}

+ + {{ range (where $theses "Params.chapter" $ch2).ByParam "section" }} + + {{ end }} + +