From a4f3ae2e52c51537a11ba371fcef9cb56038311f Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Mon, 6 May 2019 02:22:01 +0200 Subject: [PATCH] Reformat documents --- prettier.config.js | 7 + themes/neff/layouts/_default/baseof.html | 314 ++-- themes/neff/layouts/_default/li.html | 37 +- themes/neff/layouts/_default/list.html | 24 +- themes/neff/layouts/_default/single.html | 35 +- themes/neff/layouts/catalog/li.html | 13 +- themes/neff/layouts/catalog/single.html | 28 +- themes/neff/layouts/gallery/li.html | 13 +- themes/neff/layouts/gallery/list.html | 38 +- themes/neff/layouts/index.html | 255 ++-- themes/neff/layouts/partials/address.html | 94 +- themes/neff/layouts/partials/breadcrumbs.html | 5 +- themes/neff/layouts/partials/figure.html | 127 +- themes/neff/layouts/partials/gallery.html | 10 +- themes/neff/layouts/partials/img.html | 24 +- themes/neff/layouts/partials/menu-item.html | 28 +- themes/neff/layouts/partials/part/script.html | 12 +- themes/neff/layouts/partials/part/style.html | 4 +- .../partials/schema/collectionpage.html | 2 +- .../partials/schema/localbusiness.html | 2 +- .../layouts/partials/schema/organization.html | 2 +- themes/neff/layouts/partials/social.html | 12 +- .../layouts/partials/templates/lightbox.html | 50 +- .../neff/layouts/partials/translations.html | 12 +- themes/neff/layouts/shortcodes/gallery.html | 84 +- themes/neff/layouts/shortcodes/image.html | 80 +- themes/neff/layouts/shortcodes/pagelist.html | 2 +- themes/neff/src/js/catalog.js | 17 +- themes/neff/src/js/catalogSimilar.js | 9 - themes/neff/src/js/cookies.js | 154 +- themes/neff/src/js/gallery.js | 10 +- themes/neff/src/js/images.js | 6 +- themes/neff/src/js/lightbox.js | 187 +-- themes/neff/src/js/scrollspy.js | 77 +- themes/neff/src/scss/_app.scss | 1312 +++++++++-------- themes/neff/src/scss/_flexgrid.scss | 518 +++---- themes/neff/src/scss/_fonts.scss | 164 +-- themes/neff/src/scss/_lightbox.scss | 202 +-- themes/neff/src/scss/_mixins.scss | 63 +- themes/neff/src/scss/_reset.scss | 30 +- themes/neff/src/scss/_variables.scss | 9 +- themes/neff/src/scss/main.scss | 32 +- themes/neff/src/vue/CatalogArticle.vue | 59 +- themes/neff/src/vue/ModelViewer.vue | 30 +- themes/neff/src/vue/catalogArticle.store.js | 21 +- themes/neff/src/vue/components/Hello.vue | 11 - .../src/vue/components/MaterialSwitcher.vue | 12 +- .../vue/components/MaterialSwitcherItem.vue | 19 +- .../neff/src/vue/components/ModelViewer.vue | 314 ++-- themes/neff/src/vue/components/index.js | 5 - 50 files changed, 2315 insertions(+), 2260 deletions(-) create mode 100644 prettier.config.js delete mode 100644 themes/neff/src/js/catalogSimilar.js delete mode 100644 themes/neff/src/vue/components/Hello.vue delete mode 100644 themes/neff/src/vue/components/index.js 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 -}} - -
-