Grundgerüst
This commit is contained in:
+136
@@ -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
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
date: '{{ .Date }}'
|
||||||
|
draft: false
|
||||||
|
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
|
||||||
|
author: "Michael"
|
||||||
|
cover:
|
||||||
|
image: "<image path/url>"
|
||||||
|
|
||||||
|
category: ["categories"]
|
||||||
|
tags: ["first"]
|
||||||
|
---
|
||||||
@@ -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: ["<link or path of image for opengraph, twitter-cards>"]
|
||||||
|
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: "<img location>"
|
||||||
|
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
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 494 B |
Binary file not shown.
|
After Width: | Height: | Size: 995 B |
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user