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"
type: "page"
type: "peri"
---
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"
description: "A thesis on the societal role of men and women."
type: "post"
type: "delosis"
draft: true
---

View file

@ -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.

View file

@ -1,7 +1,6 @@
---
title: "donations"
type: "page"
// showTableOfContents: true
type: "peri"
---
# 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"
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.

View file

@ -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.

View file

@ -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.

View file

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

View file

@ -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 = "<span data-feather='rss' />"
@ -44,7 +49,8 @@ enableRobotsTXT = true
# Accent color is displayed when you hover over <a> tags
accentColor = "#AC9C6D"
# accentColor = "#665d40"
toctitle="table of contents"
text_color = ""
author = ""

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

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

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

@ -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 }}

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

@ -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 }}

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 }}

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

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

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

@ -1,3 +1,4 @@
<head>
<meta charset="utf-8">
<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">
<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">
<a class="nav-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
@ -57,3 +49,4 @@
</div>
</nav>
</header>

View file

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

View file

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