Skip to content

Commit

Permalink
add first content
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Mirz <[email protected]>
  • Loading branch information
m-mirz committed Nov 7, 2022
1 parent 57f8a43 commit ffddb14
Show file tree
Hide file tree
Showing 15 changed files with 203 additions and 0 deletions.
Binary file added assets/img/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
baseurl = "https://m-mirz.github.io"
languageCode = "en-us"
paginate = 5
title = "Markus' blog"

# Theme i18n support
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
DefaultContentLanguage = "en"
7 changes: 7 additions & 0 deletions config/_default/languages.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Uncomment this file to enable multilanguage site support

#[en]
#languageName = "English"
#languagedirection = "ltr"
#title = "Example Site"
#weight = 1
17 changes: 17 additions & 0 deletions config/_default/markup.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Markdown renderer configuration
[goldmark.renderer]
unsafe = false

[tableOfContents]
endLevel = 4
ordered = true
startLevel = 2

[highlight]
noClasses = false
codeFences = true
guessSyntax = true
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
tabWidth = 4
16 changes: 16 additions & 0 deletions config/_default/menu.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Configure main menu and social menu
#[[main]]
#identifier = "home"
#name = "Home"
#url = "/"
#[main.params]
#icon = "home"
#newtab = true

[[social]]
identifier = "github"
name = "GitHub"
url = "https://github.com/m-mirz"

[social.params]
icon = "brand-github"
2 changes: 2 additions & 0 deletions config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[[imports]]
path = "github.com/CaiJimmy/hugo-theme-stack/v3"
63 changes: 63 additions & 0 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Pages placed under these sections will be shown on homepage and archive page.
mainSections = ["post"]
# Output page's full content in RSS.
rssFullContent = true

[footer]
since = 2022
customText = ""

[dateFormat]
published = "Jan 02, 2006"
lastUpdated = "Jan 02, 2006 15:04 MST"

[sidebar]
subtitle = "About recipes, software, ..."

[sidebar.avatar]
enabled = true
local = true
src = "img/avatar.png"

[article]
math = false
readingTime = true

[article.license]
enabled = true
default = "Licensed under CC BY-NC-SA 4.0"

## Widgets
[[widgets.homepage]]
type = "search"

[[widgets.homepage]]
type = "archives"

[widgets.homepage.params]
limit = 5

[[widgets.homepage]]
type = "categories"

[widgets.homepage.params]
limit = 10

[[widgets.homepage]]
type = "tag-cloud"

[widgets.homepage.params]
limit = 10

[[widgets.page]]
type = "toc"

[colorScheme]
toggle = true
default = "auto"

[imageProcessing.cover]
enabled = true

[imageProcessing.content]
enabled = true
3 changes: 3 additions & 0 deletions config/_default/permalinks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Permalinks format of each content section
post = "/p/:slug/"
page = "/:slug/"
12 changes: 12 additions & 0 deletions config/_default/related.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Related contents configuration
includeNewer = true
threshold = 60
toLower = false

[[indices]]
name = "tags"
weight = 100

[[indices]]
name = "categories"
weight = 200
8 changes: 8 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
menu:
main:
name: Home
weight: 1
params:
icon: home
---
10 changes: 10 additions & 0 deletions content/categories/recipes/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Recipes
description:
image:

# Badge style
style:
background: "#2a9d8f"
color: "#fff"
---
11 changes: 11 additions & 0 deletions content/page/archives/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Archives"
date: 2022-03-06
layout: "archives"
slug: "archives"
menu:
main:
weight: 2
params:
icon: archives
---
13 changes: 13 additions & 0 deletions content/page/search/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Search"
slug: "search"
layout: "search"
outputs:
- html
- json
menu:
main:
weight: 3
params:
icon: search
---
Binary file added content/post/hello-world/croissants.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions content/post/hello-world/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Croissants
description:
slug: croissants
date: 2022-03-06 00:00:00+0000
image: croissants.jpg
categories:
- Recipes
tags:
- Recipes
---

# Croissants

## Zutaten

- 500g Mehl (Type 450)
- 50g Zucker
- 30g frische Hefe
- 1 TL Salz
- 250g Butter
- 310 ml Wasser (kalt)

## Zubereitung

### Teig

Hefe in das Wasser geben und verrühren. Mehl und Zucker vermischen und dann das Wasser mit Hefe dazugeben. Alles verrühren und durchkneten. Teig mit Mehl bestäuben und in einer Schüssel mit feuchtem Tuch bedeckt 30 Minuten im Kühlschrank lassen.

### Butter vorbereiten

Butter mit dem Teigrolle etwas plattdrücken. Dann die Butter auf ein Backpapier legen und dieses quadratisch falten. Nun die Butter mit der Teigrolle platthauen und ausrollen bis sie die Backpapierform ausfüllt. Die Butter ebenfalls für 20 Minuten in den Kühlschrank legen damit sie nicht weich wird.
Blätterteig

0 comments on commit ffddb14

Please sign in to comment.