diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..b8c560af --- /dev/null +++ b/.prettierignore @@ -0,0 +1,27 @@ +.github +Update hugo.yaml +archive +update +assets +content/en +static +.gitignore +.hugo_build.lock +.nvmrc +CNAME +CODE_OF_CONDUCT.md +CONTRIBUTING-gitflow.md +CONTRIBUTING.md +Dockerfile +LICENSE +Makefile +README.md +SECURITY.md +config.yaml +docker-compose.yaml +go.mod +go.sum +hugo.toml +netlify.toml +package-lock.json +package.json diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..203afc14 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "semi": true, + "tabWidth": 2, + "printWidth": 100, + "singleQuote": true, + "trailingComma": "none", + "plugins": ["prettier-plugin-organize-imports"] +} diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 4e63d744..03c20e63 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -8,5 +8,17 @@