added new section on site and made the theme make more sense

This commit is contained in:
aethrvmn 2024-07-24 00:17:28 +02:00
parent a9e4dd504b
commit c0f1b48ce2
27 changed files with 95 additions and 98 deletions

View file

@ -1,6 +1,6 @@
--- ---
title: "about" 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/). I do not, and hopefully never will, claim to know the truth. In fact, I [claim the opposite](/theses/axioms/).

View file

@ -0,0 +1,5 @@
---
title: "deloses"
type: "delosis"
---

View file

@ -1,7 +1,7 @@
--- ---
title: "Evolutionary leftovers" title: "Evolutionary leftovers"
description: "A thesis on the societal role of men and women." description: "A thesis on the societal role of men and women."
type: "post" type: "delosis"
draft: true draft: true
--- ---

View file

@ -1,11 +1,9 @@
--- ---
title: "A proper introduction" 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 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. 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.

View file

@ -1,7 +1,6 @@
--- ---
title: "donations" title: "donations"
type: "page" type: "peri"
// showTableOfContents: true
--- ---
# thank you for considering supporting # thank you for considering supporting

4
content/theses/_index.md Normal file
View file

@ -0,0 +1,4 @@
---
title: "theses"
type: "thesis"
---

View file

@ -5,7 +5,7 @@ section: 1
description: "A thesis on the axiomatic foundation of reality" description: "A thesis on the axiomatic foundation of reality"
weight: 1 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. 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.

View file

@ -5,7 +5,7 @@ section: 1
description: "Attempting to justify why we aren't souless automata" description: "Attempting to justify why we aren't souless automata"
weight: 4 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. 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.

View file

@ -1,11 +1,11 @@
--- ---
title: "Concerning logic" title: "Concerning logic"
chapter: "on logic" chapter: "on logic"
section: 3 section: 2
description: "Most appeals to logic are appeals to authority" description: "Most appeals to logic are appeals to authority"
weight: 3 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. 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.

View file

@ -5,7 +5,7 @@ section: 2
description: "Trying to define human behaviour" description: "Trying to define human behaviour"
weight: 5 weight: 5
type: "post" type: "thesis"
draft: true draft: true
--- ---

View file

@ -12,7 +12,7 @@ enableRobotsTXT = true
[menu] [menu]
[[menu.main]] [[menu.main]]
url="/" url="/"
name="home" name="frontispiece"
weight = 1 weight = 1
[[menu.main]] [[menu.main]]
@ -25,6 +25,11 @@ enableRobotsTXT = true
name="theses" name="theses"
weight = 3 weight = 3
[[menu.main]]
url="/deloses/"
name="deloses"
weight = 4
[[menu.main]] [[menu.main]]
identifier = "rss" identifier = "rss"
pre = "<span data-feather='rss' />" pre = "<span data-feather='rss' />"
@ -44,7 +49,8 @@ enableRobotsTXT = true
# Accent color is displayed when you hover over <a> tags # Accent color is displayed when you hover over <a> tags
accentColor = "#AC9C6D" accentColor = "#AC9C6D"
# accentColor = "#665d40"
toctitle="table of contents"
text_color = "" text_color = ""
author = "" author = ""

2
layouts/_default/baseof.html Executable file → Normal file
View file

@ -19,3 +19,5 @@
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</body> </body>
</html> </html>

8
layouts/_default/list.html Executable file → Normal file
View file

@ -1,7 +1,9 @@
{{ define "main" }} {{ define "main" }}
{{ if eq .Type "page" }} {{ if eq .Type "thesis" }}
{{- partial "page.html" . -}} {{- partial "thesis-list.html" . -}}
{{ else if eq .Type "delosis" }}
{{- partial "delosis-list.html" . -}}
{{ else }} {{ else }}
{{- partial "list.html" . -}} {{- partial "404.html" . -}}
{{ end }} {{ end }}
{{ end }} {{ end }}

9
layouts/_default/single.html Executable file → Normal file
View file

@ -1,11 +1,12 @@
{{ define "main" }} {{ define "main" }}
{{ if eq .Type "post" }} {{ if or (eq .Type "dilosis") (eq .Type "thesis") }}
{{- partial "post.html" . -}} {{- partial "keimeno.html" . -}}
{{- partial "toc.html" . -}} {{- partial "toc.html" . -}}
{{ end }} {{ end }}
{{ if eq .Type "page" }} {{ if eq .Type "peri" }}
{{- partial "page.html" . -}} {{- partial "peri.html" . -}}
{{- partial "toc.html" . -}} {{- partial "toc.html" . -}}
{{ end }} {{ end }}
{{ end }} {{ end }}

View file

@ -1,21 +0,0 @@
{{ define "main" }}
<div class="container tags-list">
<h1 class="list-title">{{ lower "tags" }}</h1>
{{if eq (len $.Site.Taxonomies.tags) 0}}
{{ i18n "nothing" }}
{{else}}
<ul class="post-tags">
{{ range $.Site.Taxonomies.tags.ByCount }}
<li class="post-tag">
<a href="/tags/{{ .Name | urlize }}/">
<div class="tag-name">{{ .Name }}</div>
<div class="tag-posts-count">{{ .Count }}</div>
</a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
{{ end }}

11
layouts/index.html Executable file → Normal file
View file

@ -1,16 +1,13 @@
{{ define "main" }} {{ define "main" }}
<div class="flex-break"></div>
<div class ="markdown-content"> <div class ="markdown-content">
{{ readFile "index-about.md" | markdownify }} {{ readFile "_index.md" | markdownify }}
</div> </div>
<div class="home-posts list-posts"> <div class="home-posts list-posts">
<h2> {{ .Site.Params.toctitle }} </h2>
<h2>table of contents</h2> {{- partial "thesis-list.html" . -}}
{{- partial "list.html" . -}}
</div> </div>
{{ end }} {{ end }}

View file

@ -0,0 +1,9 @@
<div class="container list-posts">
{{ $deloses := where .Site.Pages "Params.type" "delosis"}}
<h1 class="list-title">deloses</h1>
<h3 class="list-title">this is being written</h2>
</div>

1
layouts/partials/footer.html Executable file → Normal file
View file

@ -6,3 +6,4 @@
<span>&copy; {{ now.Year }} </span> <span>&copy; {{ now.Year }} </span>
</footer> </footer>

1
layouts/partials/head.html Executable file → Normal file
View file

@ -1,3 +1,4 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">

9
layouts/partials/header.html Executable file → Normal file
View file

@ -1,14 +1,6 @@
<header class="header"> <header class="header">
<nav class="header-nav"> <nav class="header-nav">
{{ if isset .Site.Params "avatarurl" }}
<div class="avatar">
<a href="{{ .Site.BaseURL }}">
<img src='{{ .Scratch.Get "avatarImgSrc" }}' alt="{{ .Site.Params.AvatarAltText|default "avatar" }}" />
</a>
</div>
{{ end }}
<div class="nav-title"> <div class="nav-title">
<a class="nav-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> <a class="nav-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div> </div>
@ -57,3 +49,4 @@
</div> </div>
</nav> </nav>
</header> </header>

View file

@ -1,4 +1,5 @@
<div class="post container"> <div class="post container">
<div class="post-header-section"> <div class="post-header-section">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<small role="doc-subtitle" class="chapter-title">{{ .Description }}</small> <small role="doc-subtitle" class="chapter-title">{{ .Description }}</small>
@ -58,3 +59,4 @@
</div> </div>
{{ end }} {{ end }}
</div> </div>

View file

@ -1,31 +0,0 @@
<div class="container list-posts">
{{ $posts := where .Site.Pages "Params.type" "post"}}
{{ $ch1 := "on logic" }}
{{ $ch2 := "on free will"}}
{{ if eq .Title "Theses" }}
<h1 class="list-title">{{ lower "Philopsophical Inquiries" }}</h1>
{{ end }}
<h3 class="chapter-title">{{ lower $ch1 }}</h3>
{{ range (where $posts "Params.chapter" $ch1).ByParam "section" }}
<article class="post-title">
<a href="{{ .Permalink }}" class="post-link">{{ .Title }}</a>
</article>
{{ end }}
<h3 class="chapter-title">{{ lower $ch2 }}</h3>
{{ range (where $posts "Params.chapter" $ch2).ByParam "section" }}
<article class="post-title">
<a href="{{ .Permalink }}" class="post-link">{{ .Title }}</a>
</article>
{{ end }}
</div>

View file

@ -1,3 +1,4 @@
<div class="post container"> <div class="post container">
<div class="post-header-section"> <div class="post-header-section">

View file

@ -1,12 +1,12 @@
{{ with .NextInSection }} {{ with .NextInSection }}
<div class="prev-post"> <div class="prev-post">
<p>
<a href="{{ .RelPermalink }}"> <a href="{{ .RelPermalink }}">
<p>
&#8592; &#8592;
{{ i18n "previous" }}: {{ i18n "previous" }}:
{{ .Title }} {{ .Title }}
</a>
</p> </p>
</a>
</div> </div>
{{ end }} {{ end }}

View file

@ -0,0 +1,28 @@
<div class="container list-posts">
{{ $theses := where .Site.Pages "Params.type" "thesis" }}
{{ $ch1 := "on logic" }}
{{ $ch2 := "on free will"}}
{{ if eq .Title "theses" }}
<h1 class="list-title">{{ .Title }}</h1>
{{ end }}
<h3 class="chapter-title">{{ lower $ch1 }}</h3>
{{ range (where $theses "Params.chapter" $ch1).ByParam "section" }}
<article class="post-title">
<a href="{{ .Permalink }}" class="post-link">{{ .Title }}</a>
</article>
{{ end }}
<h3 class="chapter-title">{{ lower $ch2 }}</h3>
{{ range (where $theses "Params.chapter" $ch2).ByParam "section" }}
<article class="post-title">
<a href="{{ .Permalink }}" class="post-link">{{ .Title }}</a>
</article>
{{ end }}
</div>