Last active
July 22, 2020 07:17
-
-
Save damien1/b90e0c3005e3b6a9154fb9399fd88f38 to your computer and use it in GitHub Desktop.
Basic Hugo .gitignore template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic gitignore template for Hugo SSG - which has some stuff for WordPress migration | |
# | |
# This is a template .gitignore file for git-managed Hugo projects. | |
# | |
# Fact: you don't want Hugo core files, or your server-specific | |
# configuration files etc., in your project's repository. You just don't. | |
# | |
# Ignore everything in the root except the "content" directory and "static" | |
/* | |
!.gitignore | |
!content/ | |
!*.toml | |
!static/ | |
#OS | |
.DS_Store | |
# Ignore everything in the "content" directory, | |
# and "themes" directories. | |
content/* | |
themes/* | |
# uncomment below if you dont want to load static img resources | |
# !static/img | |
# uncomment below if you are migrating from WordPress | |
# static/wp-content/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment