commit 3b33b776849d0f354d7c5da767d28693d0253c33 Author: michael Date: Fri Aug 21 23:38:13 2026 +0200 Grundgerüst diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59cce12 --- /dev/null +++ b/.gitignore @@ -0,0 +1,136 @@ +# ============================================================================== +# Created by https://gitignores.com/ +# COMPREHENSIVE FRAMEWORK TEMPLATE for Hugo +# Website: https://gohugo.io/ +# Repository: https://github.com/gohugoio/hugo +# ============================================================================== + +# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +# TEMPLATE OVERVIEW & USAGE NOTES +# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE +# • PURPOSE: Complete Hugo Go framework patterns for static site generation and build artifacts +# • DESIGN PHILOSOPHY: Self-contained with all Hugo-specific patterns +# • COMBINATION GUIDANCE: Use standalone; optionally add IDE/OS templates +# • SECURITY CONSIDERATIONS: Includes security patterns for .env files and credentials +# • BEST PRACTICES: Review patterns before use, test with git check-ignore, customize for your project +# • OFFICIAL SOURCES: Hugo documentation and community best practices + +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• +# SECURITY & SENSITIVE DATA PROTECTION (ALWAYS FIRST!) +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• +# CRITICAL: Protect sensitive data from accidental commits to version control + +*.crt +*.key +*.keystore +*.pem +*.secret +*.token +*_keys +*_secrets +*_tokens +.env +.env.* +.env.*.local +.env.local +id_dsa +id_rsa + +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• +# BUILD ARTIFACTS & DISTRIBUTION +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• + +*.tar.gz +*.zip +public/ +resources/ + +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• +# DEPENDENCY MANAGEMENT & PACKAGE CACHE +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• + +.cache/ +_modules/ +docs/_build/ + +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• +# DEVELOPMENT & RUNTIME ARTIFACTS +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• + +*.log +*.tmp +hugo.log + +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• +# FRAMEWORK-SPECIFIC PATTERNS +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• + +*.temp +.backup/ +.bak/ +.deploy/ +.deployment/ +archetypes/__generated__/ +assets/__generated__/ +assets/css/__generated__/ +assets/images/__generated__/ +assets/js/__generated__/ +benchmark/ +benchmarks/ +config.json.bak +config.toml.bak +config.yaml.bak +config.yml.bak +content/__generated__/ +data/__generated__/ +docs/_site/ +hugo.json.bak +hugo.toml.bak +hugo.yaml.bak +hugo.yml.bak +hugo_stats.json +layouts/__generated__/ +static/__generated__/ +themes/*/ + +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• +# TESTING & QUALITY ASSURANCE +# •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• + +coverage/ +tests/ + +# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +# TEMPLATE CUSTOMIZATION & BEST PRACTICES +# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +# 1. REVIEW: Examine all patterns before use +# 2. CUSTOMIZE: Adapt to your project's specific structure +# 3. TEST: Use `git check-ignore` to verify patterns +# 4. SECURE: Always protect sensitive data and credentials +# 5. UPDATE: Review periodically as technology evolves + +# RECOMMENDED USAGE PATTERNS: +# ============================================================================== +# +# BASIC USAGE (STANDALONE): +# ------------------------- +# cp frameworks/hugo.gitignore .gitignore +# +# WITH IDE SUPPORT: +# ---------------- +# cat frameworks/hugo.gitignore \ +# ides/visual-studio-code.gitignore | sort -u > .gitignore +# +# CROSS-PLATFORM DEVELOPMENT: +# --------------------------- +# cat frameworks/hugo.gitignore \ +# os/linux.gitignore \ +# os/macos.gitignore \ +# os/windows.gitignore | sort -u > .gitignore +# +# IMPORTANT NOTES: +# ============================================================================== +# 1. This template is self-contained and includes security patterns +# 2. No need to add common/security.gitignore separately +# 3. Test with `git status --ignored` to ensure proper coverage diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..42741c4 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,12 @@ +--- +date: '{{ .Date }}' +draft: false +title: '{{ replace .File.ContentBaseName "-" " " | title }}' + +author: "Michael" +cover: + image: "" + +category: ["categories"] +tags: ["first"] +--- diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..f5a0328 --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,143 @@ +baseURL: "https://logbuch35mm.de/" +title: Logbuch35mm +paginate: 10 +theme: + - PaperMod + - hugo-shortcode-gallery + +enableRobotsTXT: true +buildDrafts: false +buildFuture: false +buildExpired: false + +minify: + disableXML: true + minifyOutput: true + +taxonomies: + category: categories + tag: tags + +params: + env: production + title: Logbuch35mm + description: "Fotblog aus der Nordheide und Hamburg" + keywords: [Blog, Fotblog, Lüneburger Heide, Hamburg, Fotografie] + author: Michael + images: [""] + DateFormat: "2006-01-02" + defaultTheme: dark # dark, light + disableThemeToggle: true + + ShowReadingTime: false + ShowShareButtons: false + ShowPostNavLinks: true + ShowBreadCrumbs: true + ShowCodeCopyButtons: false + ShowWordCount: true + ShowRssButtonInSectionTermList: true + UseHugoToc: true + disableSpecial1stPost: false + disableScrollToTop: false + comments: true + hidemeta: false + hideSummary: false + showtoc: false + tocopen: false + + assets: + # disableHLJS: true # to disable highlight.js + # disableFingerprinting: true + favicon: favicon/favicon.ico + favicon16x16: favicon/favicon-16x16.png + favicon32x32: favicon/favicon-32x32.png + apple_touch_icon: favicon/apple-touch-icon.png + safari_pinned_tab: favicon/android-chrome-512x512.png + + label: + #text: "Logbuch 35mm" + icon: favicon/apple-touch-icon.png + iconHeight: 50 + + # profile-mode + profileMode: + enabled: false # needs to be explicitly set + title: ExampleSite + subtitle: "This is subtitle" + imageUrl: "" + imageWidth: 120 + imageHeight: 120 + imageTitle: my image + buttons: + - name: Posts + url: posts + - name: Tags + url: tags + + # home-info mode + homeInfoParams: + Title: "Moin \U0001F44B" + Content: Wilkommen auf meinem Fotoblog. Ich bin Michael, Ingenieur, Musiker und Fotograf. + Ich liebe es zu Fotografieren und auf diesem Blog möchte ich meine Bilder Zeigen und wenn es sich lohnt die Geschichte erzählen wo die Bilder entstanden sind. + + socialIcons: + - name: mastodon + url: "https://norden.social/@logbuch35mm" + - name: email + url: "mailto:mike@logbuch35mm.de" + - name: rss + url: "https://logbuch35mm.de/feed/" + + + cover: + hidden: false # hide everywhere but not in structured data + hiddenInList: false # hide on list pages and home + hiddenInSingle: false # hide on single page + + + # for search + # https://fusejs.io/api/options.html + fuseOpts: + isCaseSensitive: false + shouldSort: true + location: 0 + distance: 1000 + threshold: 0.4 + minMatchCharLength: 0 + limit: 10 # refer: https://www.fusejs.io/api/methods.html#search + keys: ["title", "permalink", "summary", "content"] + +outputs: + home: + - HTML + - RSS + - JSON +outputFormats: + RSS: + mediaType: application/rss+xml + baseName: feed + +menu: + main: + - identifier: categories + name: categories + url: /categories/ + weight: 10 + - identifier: tags + name: tags + url: /tags/ + weight: 20 + - identifier: example + name: example.org + url: https://example.org + weight: 30 +# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma +pygmentsUseClasses: true +markup: + highlight: + noClasses: false + # anchorLineNos: true + # codeFences: true + # guessSyntax: true + # lineNos: true + # style: monokai diff --git a/static/favicon/android-chrome-512x512.png b/static/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..1031525 Binary files /dev/null and b/static/favicon/android-chrome-512x512.png differ diff --git a/static/favicon/apple-touch-icon.png b/static/favicon/apple-touch-icon.png new file mode 100644 index 0000000..0f669b6 Binary files /dev/null and b/static/favicon/apple-touch-icon.png differ diff --git a/static/favicon/favicon-16x16.png b/static/favicon/favicon-16x16.png new file mode 100644 index 0000000..36c959a Binary files /dev/null and b/static/favicon/favicon-16x16.png differ diff --git a/static/favicon/favicon-32x32.png b/static/favicon/favicon-32x32.png new file mode 100644 index 0000000..d8159c5 Binary files /dev/null and b/static/favicon/favicon-32x32.png differ diff --git a/static/favicon/favicon.ico b/static/favicon/favicon.ico new file mode 100644 index 0000000..ff0d24d Binary files /dev/null and b/static/favicon/favicon.ico differ