Hugo Projekt in Git integririert
Nach einer größeren Aufräumaktion, sind nun die Hugo Projektdateien, in einem Git Repository
This commit is contained in:
+133
-11
@@ -1,15 +1,137 @@
|
||||
# ---> Hugo
|
||||
# Generated files by hugo
|
||||
/public/
|
||||
/resources/_gen/
|
||||
/assets/jsconfig.json
|
||||
# ==============================================================================
|
||||
# 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
|
||||
.hugo_build.lock
|
||||
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# 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/*/
|
||||
|
||||
# Executable may be added to repository
|
||||
hugo.exe
|
||||
hugo.darwin
|
||||
hugo.linux
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# TESTING & QUALITY ASSURANCE
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user