From 2a9f0d7efafbaad82d076a083ae53c0555fdeaef Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 3 Oct 2022 22:50:50 +0800 Subject: [PATCH] Update gitignore (#114) Templates added: - macos - hugo Moved existing rules to `custom/`. Co-authored-by: pat-s Reviewed-on: https://gitea.com/gitea/theme/pulls/114 Co-authored-by: pat-s Co-committed-by: pat-s --- .gitignore | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/.gitignore b/.gitignore index 002893c..cfba5ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,59 @@ +# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig +# Created by https://www.toptal.com/developers/gitignore/api/hugo,macos +# Edit at https://www.toptal.com/developers/gitignore?templates=hugo,macos + +### Hugo ### +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +# End of https://www.toptal.com/developers/gitignore/api/hugo,macos + +# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) + /node_modules/ /dist/ /static/styles/