From a0e754836ed069402acfcc1a03633c6f3a56d2c3 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Wed, 9 Apr 2025 17:13:37 +0200 Subject: [PATCH] Did it now, really; also added a _index.html for the welcome box --- content/_index.de.md | 8 + content/_index.en.md | 8 + content/posts/showcase-code.de.md | 349 +++++++++++++++++++ content/posts/showcase-code.en.md | 349 +++++++++++++++++++ content/posts/showcase.de.md | 193 ++++++++++ content/posts/showcase.en.md | 193 ++++++++++ hugo.toml | 17 +- public/de/about/index.html | 2 +- public/de/index.html | 5 +- public/de/index.xml | 233 ++++++++++++- public/de/posts/index.html | 5 +- public/de/posts/index.xml | 233 ++++++++++++- public/de/posts/one-word/index.html | 2 +- public/de/posts/random-story/index.html | 6 +- public/de/posts/showcase-code/index.html | 183 ++++++++++ public/de/posts/showcase/index.html | 58 +++ public/de/posts/test-post/index.html | 2 +- public/de/sitemap.xml | 2 +- public/de/tags/code/index.html | 4 + public/de/tags/code/index.xml | 232 ++++++++++++ public/de/tags/code/page/1/index.html | 2 + public/de/tags/index.html | 2 +- public/de/tags/index.xml | 2 +- public/de/tags/markdown/index.html | 5 + public/de/tags/markdown/index.xml | 1 + public/de/tags/markdown/page/1/index.html | 2 + public/de/tags/programming/index.html | 4 + public/de/tags/programming/index.xml | 232 ++++++++++++ public/de/tags/programming/page/1/index.html | 2 + public/de/tags/showcase/index.html | 5 + public/de/tags/showcase/index.xml | 1 + public/de/tags/showcase/page/1/index.html | 2 + public/de/tags/styling/index.html | 5 + public/de/tags/styling/index.xml | 1 + public/de/tags/styling/page/1/index.html | 2 + public/en/about/index.html | 2 +- public/en/index.html | 5 +- public/en/index.xml | 233 ++++++++++++- public/en/posts/index.html | 5 +- public/en/posts/index.xml | 233 ++++++++++++- public/en/posts/one-word/index.html | 2 +- public/en/posts/random-story/index.html | 6 +- public/en/posts/showcase-code/index.html | 183 ++++++++++ public/en/posts/showcase/index.html | 58 +++ public/en/posts/test-post/index.html | 2 +- public/en/sitemap.xml | 2 +- public/en/tags/code/index.html | 4 + public/en/tags/code/index.xml | 232 ++++++++++++ public/en/tags/code/page/1/index.html | 2 + public/en/tags/index.html | 2 +- public/en/tags/index.xml | 2 +- public/en/tags/markdown/index.html | 5 + public/en/tags/markdown/index.xml | 1 + public/en/tags/markdown/page/1/index.html | 2 + public/en/tags/programming/index.html | 4 + public/en/tags/programming/index.xml | 232 ++++++++++++ public/en/tags/programming/page/1/index.html | 2 + public/en/tags/showcase/index.html | 5 + public/en/tags/showcase/index.xml | 1 + public/en/tags/showcase/page/1/index.html | 2 + public/en/tags/styling/index.html | 5 + public/en/tags/styling/index.xml | 1 + public/en/tags/styling/page/1/index.html | 2 + public/sitemap.xml | 2 +- 64 files changed, 3561 insertions(+), 28 deletions(-) create mode 100644 content/_index.de.md create mode 100644 content/_index.en.md create mode 100644 content/posts/showcase-code.de.md create mode 100644 content/posts/showcase-code.en.md create mode 100644 content/posts/showcase.de.md create mode 100644 content/posts/showcase.en.md create mode 100644 public/de/posts/showcase-code/index.html create mode 100644 public/de/posts/showcase/index.html create mode 100644 public/de/tags/code/index.html create mode 100644 public/de/tags/code/index.xml create mode 100644 public/de/tags/code/page/1/index.html create mode 100644 public/de/tags/markdown/index.html create mode 100644 public/de/tags/markdown/index.xml create mode 100644 public/de/tags/markdown/page/1/index.html create mode 100644 public/de/tags/programming/index.html create mode 100644 public/de/tags/programming/index.xml create mode 100644 public/de/tags/programming/page/1/index.html create mode 100644 public/de/tags/showcase/index.html create mode 100644 public/de/tags/showcase/index.xml create mode 100644 public/de/tags/showcase/page/1/index.html create mode 100644 public/de/tags/styling/index.html create mode 100644 public/de/tags/styling/index.xml create mode 100644 public/de/tags/styling/page/1/index.html create mode 100644 public/en/posts/showcase-code/index.html create mode 100644 public/en/posts/showcase/index.html create mode 100644 public/en/tags/code/index.html create mode 100644 public/en/tags/code/index.xml create mode 100644 public/en/tags/code/page/1/index.html create mode 100644 public/en/tags/markdown/index.html create mode 100644 public/en/tags/markdown/index.xml create mode 100644 public/en/tags/markdown/page/1/index.html create mode 100644 public/en/tags/programming/index.html create mode 100644 public/en/tags/programming/index.xml create mode 100644 public/en/tags/programming/page/1/index.html create mode 100644 public/en/tags/showcase/index.html create mode 100644 public/en/tags/showcase/index.xml create mode 100644 public/en/tags/showcase/page/1/index.html create mode 100644 public/en/tags/styling/index.html create mode 100644 public/en/tags/styling/index.xml create mode 100644 public/en/tags/styling/page/1/index.html diff --git a/content/_index.de.md b/content/_index.de.md new file mode 100644 index 0000000..c523791 --- /dev/null +++ b/content/_index.de.md @@ -0,0 +1,8 @@ ++++ +author = "Benjamin" +framed = true ++++ + +# Heda! 👋 + +Mein Name ist BlueFox. Willkommen auf diesem Blog, der zwar aktuell noch im Aufbau ist. Aber schau dich ruhig um! diff --git a/content/_index.en.md b/content/_index.en.md new file mode 100644 index 0000000..732032f --- /dev/null +++ b/content/_index.en.md @@ -0,0 +1,8 @@ ++++ +author = "Benjamin" +framed = true ++++ + +# Hello there! 👋 + +My name is BlueFox. Welcome to this blog, which is currently under construction - anyways, have a look around! diff --git a/content/posts/showcase-code.de.md b/content/posts/showcase-code.de.md new file mode 100644 index 0000000..1adfd3e --- /dev/null +++ b/content/posts/showcase-code.de.md @@ -0,0 +1,349 @@ ++++ +author = "Radek" +title = "Varianten von Code-Blöcken" +date = "2025-04-09T07:17:39+02:00" +description = "Beispielartikel, der die beliebtesten Programmiersprachen zeigt." +tags = ["programming", "code"] ++++ + +Seit v4.2.0 verwendet das Terminal-Theme Chroma als Syntax-Highlighter. Wie die Hugo-Dokumentation angibt: "Es ist in Go geschrieben und ist wirklich, wirklich schnell." + +Im Folgenden sehen Sie viele grundlegende Präsentationen der Code-Blöcke, die je nach Bedarf verwendet werden können. Außer dem Beispiel des `{{ < code > }}` Shortcodes werden alle anderen Blöcke basierend auf der Konfiguration erzeugt, die Sie in der [offiziellen Hugo-Dokumentation](https://gohugo.io/content-management/syntax-highlighting/) nachlesen können. + +--- + +## Beispiele: + +### Roh-Block ohne spezifizierte Sprache (und ohne Syntaxhervorhebung) + +``` + + + + + Beispiel HTML5-Dokument + + +

Test

+ + +``` + +### Mit spezifizierter Sprache + +#### Zeilenhervorhebung + +```html {hl_lines=[5]} + + + + + Beispiel HTML5-Dokument + + +

Test

+ + +``` + +#### Zeilenhervorhebung / Tabellenzeilennummern + +```html {linenos=table,hl_lines=[5]} + + + + + Beispiel HTML5-Dokument + + +

Test

+ + +``` + +#### Zeilenhervorhebung / Inline-Zeilennummern + +```html {linenos=inline,hl_lines=[5]} + + + + + Beispiel HTML5-Dokument + + +

Test

+ + +``` + +#### Hugos interner `{{ < highlight > }}` Shortcode + +{{< highlight html >}} + + + + + + Beispiel HTML5-Dokument + + +

Test

+ + +{{< /highlight >}} + +#### Benutzerdefinierter eingebauter `{{ < code > }}` Shortcode + +{{< code title="Hey, dies ist der Titel eines Code-Blocks" language="html" open="true" opts="linenos=table" >}} + + + + + + Beispiel HTML5-Dokument + + +

Test

+ + + +{{< /code >}} + +## Programmiersprachen: + +### A + +```abap +WRITE 'Hello, World!'. +``` + +```actionscript +package { + public class HelloWorld { + public static function main():void { + trace("Hello, World!"); + } + } +} +``` + +```ada +with Ada.Text_IO; use Ada.Text_IO; +procedure Hello is +begin + Put_Line("Hello, World!"); +end Hello; +``` + +### B + +```bash +echo "Hello, World!" +``` + +```brainfuck ++[----->+++<]>.++++++++++++..+++.>++++++[->+++++++<]>+.------------.---.+++++. +``` + +### C + +```c +#include +int main() { + printf("Hello, World!\n"); + return 0; +} +``` + +```csharp +using System; +class Program { + static void Main() { + Console.WriteLine("Hello, World!"); + } +} +``` + +```c++ +#include +int main() { + std::cout << "Hello, World!" << std::endl; + return 0; +} +``` + +### D + +```d +import std.stdio; +void main() { + writeln("Hello, World!"); +} +``` + +### E + +```elixir +IO.puts "Hello, World!" +``` + +```erlang +-module(hello). +-export([world/0]). +world() -> io:format("Hello, World!~n"). +``` + +### F + +```fsharp +printfn "Hello, World!" +``` + +### G + +```go +package main +import "fmt" +func main() { + fmt.Println("Hello, World!") +} +``` + +### H + +```haskell +main = putStrLn "Hello, World!" +``` + +### J + +```js +var x, y, z; // Declare 3 variables +x = 5; // Assign the value 5 to x +y = 6; // Assign the value 6 to y +z = x + y; // Assign the sum of x and y to z + +document.getElementById("demo").innerHTML = "The value of z is " + z + "."; +``` + +```jsx +function Video({ video }) { + return ( +
+ + +

{video.title}

+

{video.description}

+
+ +
+ ); +} +``` + +```java +public class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} +``` + +### K + +```kotlin +fun main() { + println("Hello, World!") +} +``` + +### L + +```lua +print("Hello, World!") +``` + +### M + +```matlab +disp('Hello, World!') +``` + +### N + +```nim +echo "Hello, World!" +``` + +### O + +```objectivec +#import +int main() { + @autoreleasepool { + NSLog(@"Hello, World!"); + } + return 0; +} +``` + +### P + +```perl +print("Hello, World!\n"); +``` + +```php + +``` + +```python +print("Hello, World!") +``` + +### R + +```r +cat("Hello, World!\n") +``` + +```ruby +puts "Hello, World!" +``` + +```rust +fn main() { + println!("Hello, World!"); +} +``` + +### S + +```scala +object HelloWorld extends App { + println("Hello, World!") +} +``` + +### T + +```typescript +console.log("Hello, World!"); +``` + +### V + +```vlang +fn main() { + println('Hello, World!') +} +``` + +### Z + +```zig +const std = @import("std"); +pub fn main() !void { + std.debug.print("Hello, World!\n", .{}); +} +``` diff --git a/content/posts/showcase-code.en.md b/content/posts/showcase-code.en.md new file mode 100644 index 0000000..4be11e7 --- /dev/null +++ b/content/posts/showcase-code.en.md @@ -0,0 +1,349 @@ ++++ +author = "Radek" +title = "Code blocks variants" +date = "2025-04-09T07:17:39+02:00" +description = "Sample article showcasing most popular programming languages." +tags = ["programming", "code"] ++++ + +Since v4.2.0, Terminal Theme uses Chroma as syntax highlighter. As Hugo documentation refers: "it is built in Go and is really, really fast". + +Below you can see many basic presentations of the code blocks you can use depending on your needs. Except the `{{ < code > }}` shortcode example, all other blocks are generated based on the configuration you can learn about from the [official Hugo docs](https://gohugo.io/content-management/syntax-highlighting/). + +--- + +## Examples: + +### Raw block with no specified language (and no syntax highlighting) + +``` + + + + + Example HTML5 Document + + +

Test

+ + +``` + +### With specified language + +#### Line highlighting + +```html {hl_lines=[5]} + + + + + Example HTML5 Document + + +

Test

+ + +``` + +#### Line highlighting / table line numbers + +```html {linenos=table,hl_lines=[5]} + + + + + Example HTML5 Document + + +

Test

+ + +``` + +#### Line highlighting / inline line numbers + +```html {linenos=inline,hl_lines=[5]} + + + + + Example HTML5 Document + + +

Test

+ + +``` + +#### Hugo's internal `{{ < highlight > }}` shortcode + +{{< highlight html >}} + + + + + + Example HTML5 Document + + +

Test

+ + +{{< /highlight >}} + +#### Custom built-in `{{ < code > }}` shortcode + +{{< code title="Hey, this is a code block title" language="html" open="true" opts="linenos=table" >}} + + + + + + Example HTML5 Document + + +

Test

+ + + +{{< /code >}} + +## Programming languages: + +### A + +```abap +WRITE 'Hello, World!'. +``` + +```actionscript +package { + public class HelloWorld { + public static function main():void { + trace("Hello, World!"); + } + } +} +``` + +```ada +with Ada.Text_IO; use Ada.Text_IO; +procedure Hello is +begin + Put_Line("Hello, World!"); +end Hello; +``` + +### B + +```bash +echo "Hello, World!" +``` + +```brainfuck ++[----->+++<]>.++++++++++++..+++.>++++++[->+++++++<]>+.------------.---.+++++. +``` + +### C + +```c +#include +int main() { + printf("Hello, World!\n"); + return 0; +} +``` + +```csharp +using System; +class Program { + static void Main() { + Console.WriteLine("Hello, World!"); + } +} +``` + +```c++ +#include +int main() { + std::cout << "Hello, World!" << std::endl; + return 0; +} +``` + +### D + +```d +import std.stdio; +void main() { + writeln("Hello, World!"); +} +``` + +### E + +```elixir +IO.puts "Hello, World!" +``` + +```erlang +-module(hello). +-export([world/0]). +world() -> io:format("Hello, World!~n"). +``` + +### F + +```fsharp +printfn "Hello, World!" +``` + +### G + +```go +package main +import "fmt" +func main() { + fmt.Println("Hello, World!") +} +``` + +### H + +```haskell +main = putStrLn "Hello, World!" +``` + +### J + +```js +var x, y, z; // Declare 3 variables +x = 5; // Assign the value 5 to x +y = 6; // Assign the value 6 to y +z = x + y; // Assign the sum of x and y to z + +document.getElementById("demo").innerHTML = "The value of z is " + z + "."; +``` + +```jsx +function Video({ video }) { + return ( + + ); +} +``` + +```java +public class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} +``` + +### K + +```kotlin +fun main() { + println("Hello, World!") +} +``` + +### L + +```lua +print("Hello, World!") +``` + +### M + +```matlab +disp('Hello, World!') +``` + +### N + +```nim +echo "Hello, World!" +``` + +### O + +```objectivec +#import +int main() { + @autoreleasepool { + NSLog(@"Hello, World!"); + } + return 0; +} +``` + +### P + +```perl +print("Hello, World!\n"); +``` + +```php + +``` + +```python +print("Hello, World!") +``` + +### R + +```r +cat("Hello, World!\n") +``` + +```ruby +puts "Hello, World!" +``` + +```rust +fn main() { + println!("Hello, World!"); +} +``` + +### S + +```scala +object HelloWorld extends App { + println("Hello, World!") +} +``` + +### T + +```typescript +console.log("Hello, World!"); +``` + +### V + +```vlang +fn main() { + println('Hello, World!') +} +``` + +### Z + +```zig +const std = @import("std"); +pub fn main() !void { + std.debug.print("Hello, World!\n", .{}); +} +``` diff --git a/content/posts/showcase.de.md b/content/posts/showcase.de.md new file mode 100644 index 0000000..60c86be --- /dev/null +++ b/content/posts/showcase.de.md @@ -0,0 +1,193 @@ ++++ +author = "Hugo Autoren & Radek" +title = "Beispielvorführung" +date = "2025-04-09T07:01:12+02:00" +description = "Beispielartikel, der grundlegendes Styling und Formatierungen für HTML-Elemente zeigt." +tags = ['showcase', 'markdown', 'styling'] ++++ + +Dieser Artikel bietet ein Beispiel für grundlegende Markdown-Syntax, die in Hugo-Inhaltsdateien verwendet werden kann. Er zeigt auch, ob grundlegende HTML-Elemente mit CSS in einem Hugo-Theme dekoriert sind. + + +## Überschriften + +Die folgenden HTML-Elemente `

`—`

` repräsentieren sechs Ebenen von Abschnittsüberschriften. `

` ist die höchste Abschnittsebene, während `

` die niedrigste ist. + +# H1 +## H2 +### H3 +### H4 +#### H5 +##### H6 + +## Absatz + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## Bilder + +![Terminal Theme Preview](/img/terminal-theme.png) + +### Abbildung mit Beschriftung + +{{< figure src="/img/terminal-theme.png" alt="Terminal Theme Preview" position="center" caption="Terminal Theme Preview" captionPosition="center" >}} + +## Zitate + +Das Blockquote-Element stellt Inhalte dar, die aus einer anderen Quelle zitiert werden, optional mit einer Zitation, die innerhalb eines `footer`- oder `cite`-Elements enthalten sein muss, und optional mit Inline-Änderungen wie Anmerkungen und Abkürzungen. + +### Blockquote ohne Attribution + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **Beachte**, dass du *Markdown-Syntax* innerhalb eines Blockquotes verwenden kannst. + +### Blockquote mit Attribution + +> Kommuniziere nicht durch das Teilen von Speicher, teile Speicher durch Kommunizieren.
+> — Rob Pike[^1] + +[^1]: Das obige Zitat stammt aus Rob Pikes [Vortrag](https://www.youtube.com/watch?v=PAAkCSZUG1c) während Gopherfest am 18. November 2015. + +## Buttons und Links + + +Link +Link + +## Tabellen + +Tabellen sind nicht Teil der Kern-Mardown-Spezifikation, aber Hugo unterstützt sie standardmäßig. + + Name | Alter +--------|------ + Bob | 27 + Alice | 23 + +### Inline Markdown innerhalb von Tabellen + +| Kursiv | Fett | Code | +| -------- | -------- | ------ | +| *kursiv* | **fett** | `code` | + +## Formulare + +
+
+
+
+
+
+ Ich verstehe
+ +
+ +## Code-Blöcke + +### Code-Block mit Backticks + +```html + + + + + Beispiel HTML5-Dokument + + +

Test

+ + +``` + +### Code-Block eingerückt mit vier Leerzeichen + + + + + + Beispiel HTML5-Dokument + + +

Test

+ + + +### Code-Block mit Hugos internem Highlight-Shortcode + +{{< highlight html >}} + + + + + Beispiel HTML5-Dokument + + +

Test

+ + +{{< /highlight >}} + +### Code-Block mit benutzerdefiniertem eingebautem `{{ < code > }}` Shortcode + +{{< code title="Hey, dies ist der Titel eines Code-Blocks" language="css" >}} +pre { + background: #1a1a1d; + padding: 20px; + border-radius: 8px; + font-size: 1rem; + overflow: auto; + + @media (--phone) { + white-space: pre-wrap; + word-wrap: break-word; + } + + code { + background: none !important; + color: #ccc; + padding: 0; + font-size: inherit; + } +} +{{< /code >}} + +## Listenarten + +### Geordnete Liste + +1. Erstes Element +2. Zweites Element +3. Drittes Element + +### Ungeordnete Liste + +* Listenelement +* Weiteres Element +* Noch ein Element + +### Verschachtelte Liste + +* Obst + * Apfel + * Orange + * Banane +* Milchprodukte + * Milch + * Käse + +## Andere Elemente — abbr, sub, sup, kbd, mark + +GIF ist ein Bitmap-Bildformat. + +H2O + +Xn + Yn = Zn + +Drücke CTRL+ALT+Entf, um die Sitzung zu beenden. + +Die meisten Salamander sind nachtaktiv und jagen nach Insekten, Würmern und anderen kleinen Lebewesen. diff --git a/content/posts/showcase.en.md b/content/posts/showcase.en.md new file mode 100644 index 0000000..537543e --- /dev/null +++ b/content/posts/showcase.en.md @@ -0,0 +1,193 @@ ++++ +author = "Hugo Authors & Radek" +title = "Showcase" +date = "2025-04-09T07:01:12+02:00" +description = "Sample article showcasing basic styling and formatting for HTML elements." +tags = ['showcase', 'markdown', 'styling'] ++++ + +This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. + + +## Headings + +The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. + +# H1 +## H2 +### H3 +### H4 +#### H5 +##### H6 + +## Paragraph + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## Images + +![Terminal Theme Preview](/img/terminal-theme.png) + +### Figure with a caption + +{{< figure src="/img/terminal-theme.png" alt="Terminal Theme Preview" position="center" caption="Terminal Theme Preview" captionPosition="center" >}} + +## Blockquotes + +The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. + +### Blockquote without attribution + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **Note** that you can use *Markdown syntax* within a blockquote. + +### Blockquote with attribution + +> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1] + +[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. + +## Buttons and links + + +Link +Link + +## Tables + +Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. + + Name | Age +--------|------ + Bob | 27 + Alice | 23 + +### Inline Markdown within tables + +| Italics | Bold | Code | +| -------- | -------- | ------ | +| *italics* | **bold** | `code` | + +## Forms + +
+
+
+
+
+
+ I understand
+ +
+ +## Code Blocks + +### Code block with backticks + +```html + + + + + Example HTML5 Document + + +

Test

+ + +``` + +### Code block indented with four spaces + + + + + + Example HTML5 Document + + +

Test

+ + + +### Code block with Hugo's internal highlight shortcode + +{{< highlight html >}} + + + + + Example HTML5 Document + + +

Test

+ + +{{< /highlight >}} + +### Code block with custom built-in `{{ < code > }}` shortcode + +{{< code title="Hey, this is a code block title" language="css" >}} +pre { + background: #1a1a1d; + padding: 20px; + border-radius: 8px; + font-size: 1rem; + overflow: auto; + + @media (--phone) { + white-space: pre-wrap; + word-wrap: break-word; + } + + code { + background: none !important; + color: #ccc; + padding: 0; + font-size: inherit; + } +} +{{< /code >}} + +## List Types + +### Ordered List + +1. First item +2. Second item +3. Third item + +### Unordered List + +* List item +* Another item +* And another item + +### Nested list + +* Fruit + * Apple + * Orange + * Banana +* Dairy + * Milk + * Cheese + +## Other Elements — abbr, sub, sup, kbd, mark + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/hugo.toml b/hugo.toml index 191c70e..724b300 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,13 +2,18 @@ baseURL = "https://blog.privacynerd.de/" #baseURL = "/" title = "Privacynerd's blog" #theme = "re-terminal" # v2.4.1 (working!) -theme = "terminal" # 4.2.1 (working!) +#theme = "terminal" # 4.2.1 (working!) +theme = "terminal-fork" # for devel purposes defaultContentLanguage = "en" defaultContentLanguageInSubdir = true pagination.pagerSize = 5 +# Required for Chroma and the custom syntax highlighting (terminal theme) +[markup.highlight] + noClasses = false + [params] # dir name of your main content (default is `content/posts`). # the list of set content will show up on your index page (baseurl). @@ -22,6 +27,11 @@ pagination.pagerSize = 5 # show selector to switch language showLanguageSelector = true # (default: false) + + # the language selector always links... + # - true: the translated content equivalent (e.g. /en/posts/some-post directly → /de/posts/some-post), + # - false: just to the translated root (e.g. /en/posts/some-post → /de) + changeLanguageOfCurrentPage = true # (default: false) # set theme to full screen width fullWidthTheme = false # (default: false) @@ -36,7 +46,7 @@ pagination.pagerSize = 5 # set post to show the last updated # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated - #showLastUpdated = true # (default: false) + # showLastUpdated = true # (default: false) # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author # updatedDatePrefix = "Updated" @@ -45,7 +55,8 @@ pagination.pagerSize = 5 oneHeadingSize = false # (default: true) # whether to show a page's estimated reading time - showReadingTime = true # (default: false) + # showReadingTime = true # (for the re-terminal theme with adaptions in layouts/ folder; default: false) + readingTime = true # (default: false) # whether to show a table of contents # can be overridden in a page's front-matter diff --git a/public/de/about/index.html b/public/de/about/index.html index 126881a..d259873 100644 --- a/public/de/about/index.html +++ b/public/de/about/index.html @@ -5,7 +5,7 @@ Below you can read the original about from Radek ">

Über

Hallo in a new age#

You can call me Mirus and I forked the original Terminal theme for Hugo, because Radek, the original creator of the theme stop the maintenance and archived the repo.

So I already pushed a few improvements that I did for my humble blog and I’m going to add some more features in the future, also any contribution is welcome

Below you can read the original about from Radek

Hi there

My name is Radek and I’m the author of this theme. +">

Über

Hallo in a new age#

You can call me Mirus and I forked the original Terminal theme for Hugo, because Radek, the original creator of the theme stop the maintenance and archived the repo.

So I already pushed a few improvements that I did for my humble blog and I’m going to add some more features in the future, also any contribution is welcome

Below you can read the original about from Radek

Hi there

My name is Radek and I’m the author of this theme. I made it to help you present your ideas easier.

We all know how hard is to start something on the web, especially these days. You need to prepare a bunch of stuff, configure them and when that’s done — create the content.

This theme is pretty basic and covers all of the essentials. diff --git a/public/de/index.html b/public/de/index.html index 32038d7..3de5634 100644 --- a/public/de/index.html +++ b/public/de/index.html @@ -1,4 +1,7 @@ Privacynerd's blog -

Eine beliebige Geschichte