diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..70d2135 --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,7 @@ +module.exports = { + trailingComma: "es5", + tabWidth: 2, + useTabs: false, + semi: false, + singleQuote: true +}; \ No newline at end of file diff --git a/themes/neff/layouts/_default/baseof.html b/themes/neff/layouts/_default/baseof.html index fa8c6d0..3ab8f29 100755 --- a/themes/neff/layouts/_default/baseof.html +++ b/themes/neff/layouts/_default/baseof.html @@ -1,167 +1,171 @@ - - - - {{- block "title" . -}}{{- .Site.Title -}}{{- end -}} - {{ .Hugo.Generator }} - {{- partial "schema/site.html" . -}} - {{- if (and (eq .Kind "page") (eq .Type "news")) -}} - {{- partial "schema/post.html" . -}} - {{- end -}} - {{- if (and (eq .Kind "page") (ne .Type "news")) -}} - {{- partial "schema/article.html" . -}} - {{- end -}} - {{- if (eq .Kind "section") -}} - {{- partial "schema/collectionpage.html" . -}} - {{- end -}} - {{ partial "part/style.html" (dict "ctx" . "path" "css/style.css" )}} - - - - - - - - {{- block "head" . -}}{{- end -}} - -
-