Skip to content

Commit

Permalink
Readjust configuration
Browse files Browse the repository at this point in the history
reckel-jm committed Jul 31, 2024
1 parent 58db035 commit 44db37c
Showing 5 changed files with 88 additions and 48 deletions.
44 changes: 0 additions & 44 deletions config.toml

This file was deleted.

80 changes: 80 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
baseURL = 'https://www.cantara.app'
title = 'Cantara'
theme = 'hugo-theme-relearn'
canonifyurls = true


defaultContentLanguage = "en"

[outputs]
home = [ "html", "rss", "search"]

[Languages]

[Languages.en]
title = 'Cantara'
weight = 1
languageName = 'English'

[Languages.de]
title = 'Cantara'
weight = 2
languageName = 'Deutsch'


[[Languages.en.menu.shortcuts]]
name = "<i class='fab fa-github'></i> Github Repository"
identifier = "gh"
url = "https://github.com/reckel-jm/cantara"
weight = 10

[[Languages.en.menu.shortcuts]]
name = "<i class='fab fa-twitter'></i> Cantara on X"
identifier = "x"
url = "https://x.com/cantara_app"
weight = 10

[[Languages.en.menu.shortcuts]]
name = "<i class='fas fa-bookmark'></i> Imprint & Data Privacy"
identifier = "imprint"
url = "/imprint"
weight = 30

[[Languages.de.menu.shortcuts]]
name = "<i class='fab fa-github'></i> Github-Repository"
identifier = "gh"
url = "https://github.com/reckel-jm/cantara"
weight = 10

[[Languages.de.menu.shortcuts]]
name = "<i class='fab fa-twitter'></i> Cantara auf X"
identifier = "x"
url = "https://x.com/cantara_app"
weight = 10

[[Languages.de.menu.shortcuts]]
name = "<i class='fas fa-bookmark'></i> Impressum und Datenschutzerklärung"
identifier = "imprint"
url = "/imprint"
weight = 30

[params]
# Define words per minute to approximate reading time
wpm = 250
author.name = "Jan Martin Reckel"

themeVariant = [
{ identifier = "zen-auto", name = "Simple Light/Dark", auto = [ "zen-light", "zen-dark" ] },
{ identifier = "zen-light", name = "Simple Light", auto = [] },
{ identifier = "zen-dark", name = "Simple Dark", auto = [] },
{ identifier = "relearn-auto", name = "Relearn Light/Dark", auto = [] },
{ identifier = "relearn-light" },
{ identifier = "relearn-dark" },
{ identifier = "relearn-bright" },
{ identifier = "retro-auto", name = "Retro Learn/Neon", auto = [ "learn", "neon" ] },
{ identifier = "neon" },
{ identifier = "learn" },
{ identifier = "blue" },
{ identifier = "green" },
{ identifier = "red" }
]
3 changes: 3 additions & 0 deletions i18n/de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
John316_title: Johannes 3,16
John316_verse: |-
Denn so [sehr] hat Gott die Welt geliebt, dass er seinen eingeborenen Sohn gab, damit jeder, der an ihn glaubt, nicht verlorengeht, sondern ewiges Leben hat.
3 changes: 3 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
John316_title: "John 3:16"
John316_verse: |-
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
6 changes: 2 additions & 4 deletions layouts/partials/menu-footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<p>This Webpage has been created with <a href="https://gohugo.io/">Hugo</a>, <a href="https://github.com/matcornic/hugo-theme-learn">hugo-theme-learn</a>, <a href="https://neovim.io/">neovim (the best editor in the world)</a> and <a href="https://pages.github.com">GitHub Pages</a>. <a href="https://www.github.com/reckel-jm/cantara-webpage">See the webpage repository</a> to learn how to make changes.</p>
<hr/>
<p>John 3:16: <br/>
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life. <br/> <br/>
<p>{{ lang.Translate "John316_title" }}<br/>
{{ lang.Translate "John316_verse" }}
</p>

0 comments on commit 44db37c

Please sign in to comment.