From fa9ccbd94724e9edc849a7dce46c0d468ee47fd5 Mon Sep 17 00:00:00 2001 From: Thorsten Ortlepp Date: Thu, 12 Dec 2024 01:19:00 +0100 Subject: website setup --- content/.gitkeep | 0 content/de/impressum-datenschutz.md | 31 ++++++++ content/en/legal-notice.md | 11 +++ hugo.toml | 4 - hugo.yaml | 111 ++++++++++++++++++++++++++ layouts/.gitkeep | 0 layouts/404.html | 7 ++ layouts/partials/extend_head.html | 8 ++ layouts/partials/footer.html | 150 ++++++++++++++++++++++++++++++++++++ layouts/partials/svg.html | 16 ++++ static/.gitkeep | 0 static/css/custom.css | 8 ++ static/images/thorsten.png | Bin 0 -> 335291 bytes static/robots.txt | 40 ++++++++++ 14 files changed, 382 insertions(+), 4 deletions(-) delete mode 100644 content/.gitkeep create mode 100644 content/de/impressum-datenschutz.md create mode 100644 content/en/legal-notice.md delete mode 100644 hugo.toml create mode 100644 hugo.yaml delete mode 100644 layouts/.gitkeep create mode 100644 layouts/404.html create mode 100644 layouts/partials/extend_head.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/svg.html delete mode 100644 static/.gitkeep create mode 100644 static/css/custom.css create mode 100644 static/images/thorsten.png create mode 100644 static/robots.txt diff --git a/content/.gitkeep b/content/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/content/de/impressum-datenschutz.md b/content/de/impressum-datenschutz.md new file mode 100644 index 0000000..b4bb609 --- /dev/null +++ b/content/de/impressum-datenschutz.md @@ -0,0 +1,31 @@ +--- +title: "Impressum & Datenschutz" +description: "Impressum und Datenschutzhinweise für www.ortlepp.ms" +date: 2024-12-11T23:45:00+01:00 +draft: false +translationKey: legalnotice +--- + +## Impressum + +Text Text Text + +## Eins + +Text Text Text + +## Zwei + +Text Text Text + +## Drei + +Text Text Text + +## Vier + +Text Text Text + +## Fünf + +Text Text Text diff --git a/content/en/legal-notice.md b/content/en/legal-notice.md new file mode 100644 index 0000000..307ea2e --- /dev/null +++ b/content/en/legal-notice.md @@ -0,0 +1,11 @@ +--- +title: "Legal notice" +description: "Legal notice for www.ortlepp.ms" +date: 2024-12-11T23:45:00+01:00 +draft: false +translationKey: legalnotice +--- + +## Legal notice + +text text text diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 7636749..0000000 --- a/hugo.toml +++ /dev/null @@ -1,4 +0,0 @@ -baseURL = 'https://preview.ortlepp.ms/' -languageCode = 'en-us' -title = 'Thorsten Ortlepp' -theme = 'PaperMod' diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..9c60b2c --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,111 @@ +baseURL: https://preview.ortlepp.ms/ +title: Thorsten Ortlepp +theme: PaperMod + +buildDrafts: false +buildFuture: false +buildExpired: false + +disableKinds: + - robotstxt + - section + - taxonomy + - term + +services: + rss: + limit: 5 + +timeZone: Europe/Berlin + +minify: + minifyOutput: true + tdewolff: + html: + keepQuotes: true + keepWhitespace: false + +privacy: + disqus: + disable: true + googleAnalytics: + disable: true + instagram: + disable: true + twitter: + disable: true + vimeo: + disable: true + youtube: + disable: true + +params: + env: production + author: Thorsten Ortlepp + defaultTheme: auto + disableThemeToggle: false + ShowReadingTime: false + ShowShareButtons: false + ShowCodeCopyButtons: false + ShowFullTextinRSS: true + ShowToc: false + ShowPostNavLinks: false + ShowBreadCrumbs: false + ShowWordCount: false + disableSpecial1stPost: true + disableScrollToTop: true + disableAnchoredHeadings: true + hideMeta: true + displayFullLangName: true + comments: false + profileMode: + enabled: true + imageUrl: images/thorsten.png + imageTitle: Thorsten Ortlepp + footer: + hideCopyright: true + custom_css: + - css/custom.css + +defaultContentLanguage: de +defaultContentLanguageInSubdir: false + +languages: + de: + contentDir: content/de + disabled: false + languageCode: de + languageName: Deutsch + params: + profileMode: + title: Hallo! + subtitle: Mein Name ist Thorsten Ortlepp. Ich bin Softwareentwickler und DevOps-Engineer. In meiner Freizeit gehe ich gerne wandern. Außerdem bin ich Sauerteig-Nerd. + socialIcons: # optional + - name: xing + url: "https://www.xing.com/profile/Thorsten_Ortlepp3" + - name: git + url: "https://git.ortlepp.ms/web/" + - name: sauerteig + url: "https://www.sauerteigboerse.de/Teige/Details?id=1859" + xCustomLegalText: "Impressum & Datenschutz" + xCustomLegalLink: "/impressum-datenschutz/" + weight: 1 + en: + contentDir: content/en + disabled: false + languageCode: en + languageName: English + params: + profileMode: + title: Hi! + subtitle: My name is Thorsten Ortlepp. I am a software developer and DevOps engineer. In my spare time I like to go hiking. Furthermore, I am a sourdough nerd. + socialIcons: # optional + - name: xing + url: "https://www.xing.com/profile/Thorsten_Ortlepp3" + - name: git + url: "https://git.ortlepp.ms/web/" + - name: sourdough + url: "https://www.sauerteigboerse.de/Teige/Details?id=1859" + xCustomLegalText: "Legal notice" + xCustomLegalLink: "/en/legal-notice/" + weight: 2 diff --git a/layouts/.gitkeep b/layouts/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..caa0c39 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,7 @@ +{{- define "main" }} +
+ 404 + Seite nicht gefunden + Page not found +
+{{- end }}{{/* end main */ -}} diff --git a/layouts/partials/extend_head.html b/layouts/partials/extend_head.html new file mode 100644 index 0000000..a3af417 --- /dev/null +++ b/layouts/partials/extend_head.html @@ -0,0 +1,8 @@ +{{- /* Head custom content area start */ -}} +{{- /* Insert any custom code (web-analytics, resources, etc.) - it will appear in the section of every page. */ -}} +{{- /* Can be overwritten by partial with the same name in the global layouts. */ -}} +{{- /* Head custom content area end */ -}} + +{{ range .Site.Params.custom_css -}} + +{{- end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..6a215c2 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,150 @@ +{{- if not (.Param "hideFooter") }} + +{{- end }} + +{{- if (not site.Params.disableScrollToTop) }} + + + + + +{{- end }} + +{{- partial "extend_footer.html" . }} + + + +{{- if (not site.Params.disableScrollToTop) }} + +{{- end }} + +{{- if (not site.Params.disableThemeToggle) }} + +{{- end }} + +{{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (.Param "ShowCodeCopyButtons")) }} + +{{- end }} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html new file mode 100644 index 0000000..f535408 --- /dev/null +++ b/layouts/partials/svg.html @@ -0,0 +1,16 @@ +{{ $icon_name := ( trim .name " " | lower )}} +{{- if (eq $icon_name "git") -}} + +{{- else if (eq $icon_name "xing") -}} + +{{- else if (eq $icon_name "sourdough") -}} + +{{- else if (eq $icon_name "sauerteig") -}} + +{{- else if $icon_name -}} + + + + +{{- end -}} diff --git a/static/.gitkeep b/static/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..31634a6 --- /dev/null +++ b/static/css/custom.css @@ -0,0 +1,8 @@ +/* 404.html */ +.not-found { + font-size: 26px; + flex-direction: column; +} +.not-found .httpcode { + font-size: 100px; +} diff --git a/static/images/thorsten.png b/static/images/thorsten.png new file mode 100644 index 0000000..832dc34 Binary files /dev/null and b/static/images/thorsten.png differ diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..b275d38 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,40 @@ +user-agent: Googlebot-Image +disallow: / + +user-agent: Google-Extended +Disallow: / + +User-agent: OAI-SearchBot +Disallow: / + +User-agent: ChatGPT-User +Disallow: / + +User-agent: GPTBot +Disallow: / + +User-agent: FacebookBot +Disallow: / + +User-agent: Meta-ExternalAgent +Disallow: / + +User-agent: Meta-ExternalFetcher +Disallow: / + +User-agent: PerplexityBot +Disallow: / + +User-agent: ClaudeBot +Disallow: / + +User-agent: anthropic-ai +Disallow: / + +User-agent: OmgiliBot +Disallow: / + +User-agent: cohere-ai +Disallow: / + +Sitemap: https://www.ortlepp.ms/sitemap.xml -- cgit v1.2.3