Restore .gitignore and optional scripts

This commit is contained in:
Oscar Mira 2021-08-12 18:06:39 +02:00
parent 48cced6706
commit 68f0d46d2d
3 changed files with 31 additions and 0 deletions

20
.editorconfig Normal file
View file

@ -0,0 +1,20 @@
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.toml]
max_line_length = 100
[*.md]
trim_trailing_whitespace = false
[layouts/shortcodes/*.html]
insert_final_newline = false

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# IDEs
.idea/
# Hugo
/resources/
public/
jsconfig.json
node_modules/

3
view.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
hugo server --disableFastRender --i18n-warnings