bit-101 Part 3 + config.toml (hugo.toml)

This commit is contained in:
Franz Klotsche
2025-11-05 21:00:45 +01:00
parent b6fc1d45e0
commit 9b763448d3
14 changed files with 335 additions and 16 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

4
config.toml Normal file
View File

@@ -0,0 +1,4 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'mytheme'

4
layouts/index.html Normal file
View File

@@ -0,0 +1,4 @@
{{ define "main" }}
<h2>Hello from Fransz with a sharp ß</h2>
<p>This page is actually just to pracitse with hugo (gohugo.io). Secondly, I want to bring some order into my operating system chaos, Cloud subscriptions and home NAS device.</p>
{{ end }}

8
sumup.sublime-project Normal file
View File

@@ -0,0 +1,8 @@
{
"folders":
[
{
"path": "."
}
]
}

278
sumup.sublime-workspace Normal file
View File

@@ -0,0 +1,278 @@
{
"auto_complete":
{
"selected_items":
[
[
"hea",
"header\tTag"
],
[
"met",
"meta\tTag"
]
]
},
"buffers":
[
],
"build_system": "",
"build_system_choices":
[
[
[
[
"Packages/Kotlin/Kotlin.sublime-build",
""
],
[
"Packages/Kotlin/Kotlin.sublime-build",
"Compile"
],
[
"Packages/Kotlin/Kotlin.sublime-build",
"Compile + run"
],
[
"Packages/Kotlin/Kotlin.sublime-build",
"Run"
]
],
[
"Packages/Kotlin/Kotlin.sublime-build",
"Compile + run"
]
]
],
"build_varint": "",
"command_palette":
{
"height": 0.0,
"last_filter": "",
"selected_items":
[
[
"package control in",
"Package Control: Install Package"
],
[
"Package Contro: In",
"Package Control: Install Package"
],
[
"package control settin",
"Preferences: Package Control Settings"
],
[
"LSP insta",
"Package Control: Install Package"
],
[
"LSP",
"Preferences: LSP Settings"
],
[
"Package Control: In",
"Package Control: Install Package"
],
[
"Package Control: ",
"Package Control: List Packages"
],
[
"lsp ena",
"LSP: Enable Language Server in Project"
],
[
"LSP ",
"Preferences: LSP Settings"
],
[
"LSP Settings",
"Preferences: LSP Settings"
],
[
"Package Control: Install Package",
"Package Control: Install Package"
]
],
"width": 0.0
},
"console":
{
"height": 326.0,
"history":
[
"quit",
"exit"
]
},
"distraction_free":
{
"menu_visible": true,
"show_minimap": false,
"show_open_files": false,
"show_tabs": false,
"side_bar_visible": false,
"status_bar_visible": false
},
"expanded_folders":
[
"/Users/franzklotsche/Public/neocities/sum"
],
"file_history":
[
"/Users/franzklotsche/Public/portfolio/themes/basic/layouts/_default/single.html",
"/Users/franzklotsche/Public/portfolio/themes/basic/theme.toml",
"/Users/franzklotsche/Public/portfolio/config.toml",
"/Users/franzklotsche/Public/portfolio/themes/basic/layouts/_default/baseof.html",
"/Users/franzklotsche/Public/portfolio/content/_index.md",
"/Users/franzklotsche/Public/portfolio/themes/basic/layouts/partials/header.html",
"/Users/franzklotsche/Public/portfolio/themes/basic/layouts/partials/footer.html",
"/Users/franzklotsche/Public/portfolio/themes/basic/layouts/index.html",
"/Users/franzklotsche/Public/portfolio/content/contact.md",
"/Users/franzklotsche/Public/portfolio/themes/basic/layouts/partials/head.html",
"/Users/franzklotsche/Public/portfolio/layouts/index.html",
"/Users/franzklotsche/Public/portfolio/archetypes/default.md",
"/Users/franzklotsche/Public/portfolio/content/about.md",
"/Users/franzklotsche/Public/portfolio/content/resume.md",
"/Users/franzklotsche/Public/portfolio/layouts/_default/single.html",
"/Users/franzklotsche/Cloud/mount_hdeffeff.sh",
"/Users/franzklotsche/Public/neocities/style (1).css",
"/Users/franzklotsche/Cloud/mount_nceffeff.sh",
"/Users/franzklotsche/CODE/Android/myndkapp/src/com/example/mynativeapp/MainActivity.kt",
"/Users/franzklotsche/CODE/Android/MyNdkProject/app/src/main/java/com/example/mynativeapp/MainActivity.kt",
"/Users/franzklotsche/CODE/Android/MyNdkProject/app/src/main/cpp/Application.mk",
"/Users/franzklotsche/CODE/Android/MyNdkProject/app/src/main/cpp/Android.mk",
"/Users/franzklotsche/CODE/Android/MyNdkProject/app/src/main/cpp/native-lib.cpp",
"/Users/franzklotsche/CODE/Android/MyNdkProject/app/src/main/java/com/example/mynativeapp/AndroidManifest.xml"
],
"find":
{
"height": 40.0
},
"find_in_files":
{
"height": 0.0,
"where_history":
[
]
},
"find_state":
{
"case_sensitive": false,
"find_history":
[
],
"highlight": true,
"in_selection": false,
"preserve_case": false,
"regex": false,
"replace_history":
[
],
"reverse": false,
"show_context": true,
"use_buffer2": true,
"whole_word": false,
"wrap": true
},
"groups":
[
{
"sheets":
[
]
}
],
"incremental_find":
{
"height": 28.0
},
"input":
{
"height": 40.0
},
"layout":
{
"cells":
[
[
0,
0,
1,
1
]
],
"cols":
[
0.0,
1.0
],
"rows":
[
0.0,
1.0
]
},
"menu_visible": true,
"output.diagnostics":
{
"height": 0.0
},
"output.exec":
{
"height": 132.0
},
"output.find_results":
{
"height": 0.0
},
"pinned_build_system": "",
"project": "sumup.sublime-project",
"replace":
{
"height": 52.0
},
"save_all_on_build": true,
"select_file":
{
"height": 0.0,
"last_filter": "",
"selected_items":
[
],
"width": 0.0
},
"select_project":
{
"height": 0.0,
"last_filter": "",
"selected_items":
[
],
"width": 0.0
},
"select_symbol":
{
"height": 0.0,
"last_filter": "",
"selected_items":
[
],
"width": 0.0
},
"selected_group": 0,
"settings":
{
},
"show_minimap": false,
"show_open_files": false,
"show_tabs": true,
"side_bar_visible": true,
"side_bar_width": 195.0,
"status_bar_visible": true,
"template_settings":
{
}
}

Binary file not shown.

View File

@@ -1,17 +1,12 @@
<!-- this is a generic base template = KISS -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>Sum something up</title>
</head>
{{- partial "head.html" . -}}
<body>
<a href="/">Home</a>
<a href="/page">LL-CAT</a>
<a href="/tags">Ports and Apps</a>
{{ block "main" . }}
{{ end }}
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@@ -1,11 +1,7 @@
{{ define "main" }}
<ul>
{{ range .Pages.ByPublishDate.Reverse }}
<li>
<a href="{{ .RelPermalink }}">
{{ .Title }}
</a>
</li>
{{- partial "listitem.html" . -}}
{{ end }}
</ul>
{{ end }}

View File

@@ -1,5 +1,8 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
<p>{{ .PublishDate }}</p>
{{ if .Params.Tags }}
Tags: {{ partial "tags.html" . -}}
{{ end }}
<div>{{ .Content }}</div>
{{ end }}

View File

@@ -0,0 +1 @@
<div>This is a footer</div>

View File

@@ -0,0 +1,6 @@
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>Sum something up</title>
</head>

View File

@@ -0,0 +1,5 @@
<nav>
<a href="/">Home</a>
<a href="/page">LL-CAT</a>
<a href="/tags">Ports and Apps</a>
</nav>

View File

@@ -0,0 +1,16 @@
<li>
<h3>
<a href="{{ .RelPermalink }}">
{{ .Title }}
</a>
</h3>
{{ if .PublishDate }}
<p>Date: {{ .PublishDate }}</p>
{{ end }}
{{ if .Params.Tags }}
<p>Tags: {{ partial "tags.html" . -}}
{{ end }}
{{ if .Summary }}
<p>Summary: {{ .Summary }}</p>
{{ end }}
</li>

View File

@@ -0,0 +1,3 @@
{{ range .Params.tags }}
<a href="{{ add (absURL `tags/`) (.) }}">{{ . }}</a>
{{ end }}