diff --git a/.gitmodules b/.gitmodules index ce3490a..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "themes/hugo-coder"] - path = themes/hugo-coder - url = https://github.com/luizdepra/hugo-coder.git diff --git a/config.toml b/config.toml deleted file mode 100644 index c216b9a..0000000 --- a/config.toml +++ /dev/null @@ -1,62 +0,0 @@ -baseURL = 'https://lennartalff.net' -languageCode = 'en-us' -title = 'Thies Lennart Alff' -theme = 'hugo-coder' -defaultContentLanguage = 'en' -pygmentsStyle = 'bw' -pygmentsUseClasses = true -pygmentsCodefences = true -pygmentsCodeFencesGuessSyntax = true -enableEmoji = true -enableGitInfo = true -enableRobotsTXT = true - -[frontmatter] -date = ['date', 'publishDate', 'lastmod'] -lastmod = ['lastmod', ':git', 'date', 'publishDate'] -publishDate = ['publishDate', 'date'] - -[params] -author = 'Thies Lennart Alff' -colorScheme = 'auto' -hideColorSchemeToggle = false -dateFormat = '02.01. 2006' -avatarURL = 'images/avatar.jpg' - -[taxonomies] -category = 'categories' -series = 'series' -tag = 'tags' -author = 'authors' - -[[params.social]] -name = 'GitHub' -icon = 'fa fa-2x fa-github' -weight = 1 -url = 'https://github.com/lennartalff/' - -[[params.social]] -name = 'GitLab' -icon = 'fa fa-2x fa-gitlab' -weight = 1 -url = 'https://gitlab.com/lennartalff/' - -[[menu.main]] -name = 'Recipes' -weight = 3 -url = 'recipes/' - -[[menu.main]] -name = 'Cycling' -weight = 2 -url = 'cycling/' - -[[menu.main]] -name = 'Posts' -weight = 1 -url = 'posts/' - -[markup] - [markup.goldmark] - [markup.goldmark.renderer] - unsafe = true diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..e8ea48e --- /dev/null +++ b/config.yaml @@ -0,0 +1,30 @@ +baseURL: '/' +languageCode: 'en-us' +title: 'Thies Lennart Alff' +googleAnalytics: '' + +menu: + main: + - name: Home + url: '' + weight: 1 + - name: Posts + url: 'posts/' + weight: 1 + - name: 'Cycling' + url: 'cycling/' + weight: 2 + - name: 'Recipes' + weight: 3 + url: 'recipes/' + +params: + dateFormatList: '2006-01-02' + dateFormatSingle: '02. Jan 2006' + description: 'My personal website.' + footer: '© [Thies Lennart Alff](https://lennartalff.net) 2021 -- {Year} | [GitHub](https://github.com/lennartalff) | [GitLab](https://gitlab.com/lennartalff)' + +markup: + goldmark: + renderer: + unsafe: true \ No newline at end of file diff --git a/content/cycling/bike-maintenance.md b/content/cycling/_index.md similarity index 87% rename from content/cycling/bike-maintenance.md rename to content/cycling/_index.md index 18f54c4..5e9f123 100644 --- a/content/cycling/bike-maintenance.md +++ b/content/cycling/_index.md @@ -1,11 +1,13 @@ --- -title: Bike Maintenance +title: Cycling date: 2022-08-25 categories: ['Cycling'] tags: ['cycling'] --- -## Vector 3 +## Maintenance + +### Vector 3 Battery {{% table %}} | Date | Distance (km) | Time (h)| Lifetime (h) | | ---- | ------------- | ------- | ------------ | @@ -14,22 +16,22 @@ tags: ['cycling'] | 25.08.22 | 7306.6 | 284.2 | 120.8 | {{% /table %}} - -## Chain 1 +### Chain Waxing +#### Chain 1 {{< table >}} | Start Date | End Date | Start Distance | End Distance | Diff | Total | | ---------- | -------- | -------------- | ------------ | ---- | ----- | | 30.08.22 | | 7335.6 | | | | {{< /table >}} -## Chain 2 +#### Chain 2 {{% table %}} | Start Date | End Date | Start Distance | End Distance | Diff | Total | | ---------- | -------- | -------------- | ------------ | ---- | ----- | {{% /table %}} -## Chain 3 +#### Chain 3 {{% table %}} | Start Date | End Date | Start Distance | End Distance | Diff | Total | | ---------- | -------- | -------------- | ------------ | ---- | ----- | -{{% /table %}} \ No newline at end of file +{{% /table %}} diff --git a/content/recipes/drinks/lemonade.md b/content/recipes/drinks/lemonade.md index 38f524c..b473f7f 100644 --- a/content/recipes/drinks/lemonade.md +++ b/content/recipes/drinks/lemonade.md @@ -6,8 +6,8 @@ date: '2022-08-07' ## Ingredients * 750ml soda -* 100ml lemon juice -* 60ml sugar cane syrup +* 40-60ml lemon juice +* 0-40ml sugar cane syrup * "some" mint * ice cubes diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..c2e4e40 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +404 NOT FOUND + +{{ partial "footer.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..cb5b8d2 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,20 @@ +{{ partial "header.html" . }} + +{{if not .IsHome }} +