diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29..0000000 diff --git a/assets/scss/index.scss b/assets/scss/index.scss index da062b6..1c10bb0 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -2,7 +2,7 @@ $font: {{ .Param "font" }}; @font-face { font-family: $font; - src: url("/fonts/#{$font}/#{$font}-Regular.ttf") format('truetype'); + src: url("/fonts/#{$font}/#{$font}-Regular.woff2") format('woff2'); font-weight: 400; font-style: normal; } @@ -210,13 +210,13 @@ button { .team-list a { color: inherit; + margin: 0 auto; } .teammember { display: inline-block; align-items: center; text-align: center; - margin: 0 auto; padding: 1rem; } @@ -267,7 +267,8 @@ button { display: flex; flex-wrap: wrap; color: #333; - margin-top: -0.5rem + margin-top: -0.5rem; + padding-block-end: 0.25rem; } .teammember-header-social-media a { diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 41a2828..17b1e2f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -35,7 +35,7 @@ {{ with .Site.Params.tracking }} {{ end }} - + {{ $template := resources.Get "scss/index.scss" }} {{ if $template }} {{ $index := $template | resources.ExecuteAsTemplate "css/index.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 05bfd21..3f83357 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -10,9 +10,9 @@
@@ -26,5 +26,5 @@ © {{ dateFormat "2006" now }} {{ $footer.copyright }}
- + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ef1f315..4404d2e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -19,7 +19,7 @@ {{ if .links }}
- {{- range first 4 $pages.ByDate }} + {{- range first 4 ((where $pages "Params.leaveDate" "==" nil).ByParam "startDate") }}
{{ if .Params.image }} @@ -30,10 +30,10 @@ diff --git a/layouts/posts/single.html b/layouts/posts/single.html index a663cf6..0e0b910 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -75,10 +75,10 @@ diff --git a/layouts/team/list.html b/layouts/team/list.html index 586ebf2..b7f2ebc 100644 --- a/layouts/team/list.html +++ b/layouts/team/list.html @@ -8,7 +8,7 @@ {{.Content}}
- {{ range .Pages.ByDate }} + {{ range (where .Pages "Params.leaveDate" "==" nil).ByParam "startDate" }}
{{ if .Params.image }} @@ -23,10 +23,10 @@ diff --git a/layouts/team/single.html b/layouts/team/single.html index c68e7f2..d0054f0 100644 --- a/layouts/team/single.html +++ b/layouts/team/single.html @@ -4,19 +4,24 @@ {{ with .Params.image }} Avatar {{ end }} -
-

{{ .Params.name }}

-
- - {{- range .Params.social}} - - {{- end}} - {{if .Params.mail}} - - {{end}} - +
+
+

{{ .Params.name }}

+
+ + {{- range .Params.social}} + + {{- end}} + {{if .Params.mail}} + + {{end}} + +
+
-
+ {{ with .Params.leaveDate }} +

Bis zum {{ . | time.Format "02.01.2006" }} bei uns tätig

+ {{ end }}
{{ .Content }} @@ -35,7 +40,7 @@ Default Image {{ end }}
{{.Title}}
-
{{ .Content | safeHTML | truncate 250 }}
+
{{ .Summary | safeHTML | truncate 320 }}
{{.Date.Format "02.01.2006"}} | {{.ReadingTime}} Minuten
diff --git a/static/icons/fontawesome.css b/static/icons/fontawesome.css new file mode 100644 index 0000000..ee03e94 --- /dev/null +++ b/static/icons/fontawesome.css @@ -0,0 +1,957 @@ +@font-face { + font-family: 'fontawesome'; + src: url('fontawesome.eot?80pvic'); + src: url('fontawesome.eot?80pvic#iefix') format('embedded-opentype'), + url('fontawesome.ttf?80pvic') format('truetype'), + url('fontawesome.woff?80pvic') format('woff'), + url('fontawesome.svg?80pvic#icomoon') format('svg'); + font-weight: normal; + font-style: normal; + font-display: block; +} + +[class^="icon-"], [class*=" icon-"] { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'fontawesome' !important; + speak: never; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-store-alt-slash:before { + content: "\e070"; +} +.icon-store-slash:before { + content: "\e071"; +} +.icon-glass-martini:before { + content: "\f000"; +} +.icon-music:before { + content: "\f001"; +} +.icon-search:before { + content: "\f002"; +} +.icon-heart:before { + content: "\f004"; +} +.icon-star:before { + content: "\f005"; +} +.icon-user:before { + content: "\f007"; +} +.icon-film:before { + content: "\f008"; +} +.icon-th-large:before { + content: "\f009"; +} +.icon-th:before { + content: "\f00a"; +} +.icon-th-list:before { + content: "\f00b"; +} +.icon-check:before { + content: "\f00c"; +} +.icon-times:before { + content: "\f00d"; +} +.icon-search-plus:before { + content: "\f00e"; +} +.icon-search-minus:before { + content: "\f010"; +} +.icon-power-off:before { + content: "\f011"; +} +.icon-signal:before { + content: "\f012"; +} +.icon-cog:before { + content: "\f013"; +} +.icon-home:before { + content: "\f015"; +} +.icon-clock:before { + content: "\f017"; +} +.icon-road:before { + content: "\f018"; +} +.icon-download:before { + content: "\f019"; +} +.icon-inbox:before { + content: "\f01c"; +} +.icon-redo:before { + content: "\f01e"; +} +.icon-sync:before { + content: "\f021"; +} +.icon-list-alt:before { + content: "\f022"; +} +.icon-lock:before { + content: "\f023"; +} +.icon-flag:before { + content: "\f024"; +} +.icon-headphones:before { + content: "\f025"; +} +.icon-volume-off:before { + content: "\f026"; +} +.icon-volume-down:before { + content: "\f027"; +} +.icon-volume-up:before { + content: "\f028"; +} +.icon-qrcode:before { + content: "\f029"; +} +.icon-barcode:before { + content: "\f02a"; +} +.icon-tag:before { + content: "\f02b"; +} +.icon-tags:before { + content: "\f02c"; +} +.icon-book:before { + content: "\f02d"; +} +.icon-bookmark:before { + content: "\f02e"; +} +.icon-print:before { + content: "\f02f"; +} +.icon-camera:before { + content: "\f030"; +} +.icon-video:before { + content: "\f03d"; +} +.icon-image:before { + content: "\f03e"; +} +.icon-map-marker:before { + content: "\f041"; +} +.icon-adjust:before { + content: "\f042"; +} +.icon-tint:before { + content: "\f043"; +} +.icon-edit:before { + content: "\f044"; +} +.icon-plus-circle:before { + content: "\f055"; +} +.icon-minus-circle:before { + content: "\f056"; +} +.icon-times-circle:before { + content: "\f057"; +} +.icon-check-circle:before { + content: "\f058"; +} +.icon-arrow-left:before { + content: "\f060"; +} +.icon-arrow-right:before { + content: "\f061"; +} +.icon-arrow-up:before { + content: "\f062"; +} +.icon-arrow-down:before { + content: "\f063"; +} +.icon-share:before { + content: "\f064"; +} +.icon-expand:before { + content: "\f065"; +} +.icon-compress:before { + content: "\f066"; +} +.icon-plus:before { + content: "\f067"; +} +.icon-minus:before { + content: "\f068"; +} +.icon-asterisk:before { + content: "\f069"; +} +.icon-exclamation-circle:before { + content: "\f06a"; +} +.icon-gift:before { + content: "\f06b"; +} +.icon-leaf:before { + content: "\f06c"; +} +.icon-eye:before { + content: "\f06e"; +} +.icon-eye-slash:before { + content: "\f070"; +} +.icon-exclamation-triangle:before { + content: "\f071"; +} +.icon-calendar-alt:before { + content: "\f073"; +} +.icon-retweet:before { + content: "\f079"; +} +.icon-shopping-cart:before { + content: "\f07a"; +} +.icon-folder:before { + content: "\f07b"; +} +.icon-folder-open:before { + content: "\f07c"; +} +.icon-chart-bar:before { + content: "\f080"; +} +.icon-credit-card:before { + content: "\f09d"; +} +.icon-rss:before { + content: "\f09e"; +} +.icon-bullhorn:before { + content: "\f0a1"; +} +.icon-arrow-circle-left:before { + content: "\f0a8"; +} +.icon-arrow-circle-right:before { + content: "\f0a9"; +} +.icon-arrow-circle-up:before { + content: "\f0aa"; +} +.icon-arrow-circle-down:before { + content: "\f0ab"; +} +.icon-globe:before { + content: "\f0ac"; +} +.icon-wrench:before { + content: "\f0ad"; +} +.icon-tasks:before { + content: "\f0ae"; +} +.icon-filter:before { + content: "\f0b0"; +} +.icon-arrows-alt:before { + content: "\f0b2"; +} +.icon-users:before { + content: "\f0c0"; +} +.icon-link:before { + content: "\f0c1"; +} +.icon-cloud:before { + content: "\f0c2"; +} +.icon-flask:before { + content: "\f0c3"; +} +.icon-paperclip:before { + content: "\f0c6"; +} +.icon-save:before { + content: "\f0c7"; +} +.icon-magic:before { + content: "\f0d0"; +} +.icon-truck:before { + content: "\f0d1"; +} +.icon-money-bill:before { + content: "\f0d6"; +} +.icon-caret-down:before { + content: "\f0d7"; +} +.icon-caret-up:before { + content: "\f0d8"; +} +.icon-caret-left:before { + content: "\f0d9"; +} +.icon-caret-right:before { + content: "\f0da"; +} +.icon-columns:before { + content: "\f0db"; +} +.icon-sort:before { + content: "\f0dc"; +} +.icon-sort-down:before { + content: "\f0dd"; +} +.icon-sort-up:before { + content: "\f0de"; +} +.icon-envelope:before { + content: "\f0e0"; +} +.icon-undo:before { + content: "\f0e2"; +} +.icon-bolt:before { + content: "\f0e7"; +} +.icon-umbrella:before { + content: "\f0e9"; +} +.icon-lightbulb:before { + content: "\f0eb"; +} +.icon-bell:before { + content: "\f0f3"; +} +.icon-coffee:before { + content: "\f0f4"; +} +.icon-angle-double-left:before { + content: "\f100"; +} +.icon-angle-double-right:before { + content: "\f101"; +} +.icon-angle-double-up:before { + content: "\f102"; +} +.icon-angle-double-down:before { + content: "\f103"; +} +.icon-angle-left:before { + content: "\f104"; +} +.icon-angle-right:before { + content: "\f105"; +} +.icon-angle-up:before { + content: "\f106"; +} +.icon-angle-down:before { + content: "\f107"; +} +.icon-desktop:before { + content: "\f108"; +} +.icon-laptop:before { + content: "\f109"; +} +.icon-tablet:before { + content: "\f10a"; +} +.icon-mobile:before { + content: "\f10b"; +} +.icon-quote-left:before { + content: "\f10d"; +} +.icon-quote-right:before { + content: "\f10e"; +} +.icon-smile:before { + content: "\f118"; +} +.icon-frown:before { + content: "\f119"; +} +.icon-meh:before { + content: "\f11a"; +} +.icon-terminal:before { + content: "\f120"; +} +.icon-code:before { + content: "\f121"; +} +.icon-question:before { + content: "\f128"; +} +.icon-info:before { + content: "\f129"; +} +.icon-exclamation:before { + content: "\f12a"; +} +.icon-anchor:before { + content: "\f13d"; +} +.icon-unlock-alt:before { + content: "\f13e"; +} +.icon-ellipsis-h:before { + content: "\f141"; +} +.icon-ellipsis-v:before { + content: "\f142"; +} +.icon-compass:before { + content: "\f14e"; +} +.icon-file:before { + content: "\f15b"; +} +.icon-file-alt:before { + content: "\f15c"; +} +.icon-thumbs-up:before { + content: "\f164"; +} +.icon-thumbs-down:before { + content: "\f165"; +} +.icon-female:before { + content: "\f182"; +} +.icon-male:before { + content: "\f183"; +} +.icon-bug:before { + content: "\f188"; +} +.icon-university:before { + content: "\f19c"; +} +.icon-building:before { + content: "\f1ad"; +} +.icon-child:before { + content: "\f1ae"; +} +.icon-car:before { + content: "\f1b9"; +} +.icon-taxi:before { + content: "\f1ba"; +} +.icon-database:before { + content: "\f1c0"; +} +.icon-file-pdf:before { + content: "\f1c1"; +} +.icon-file-word:before { + content: "\f1c2"; +} +.icon-file-excel:before { + content: "\f1c3"; +} +.icon-file-powerpoint:before { + content: "\f1c4"; +} +.icon-file-image:before { + content: "\f1c5"; +} +.icon-file-archive:before { + content: "\f1c6"; +} +.icon-file-audio:before { + content: "\f1c7"; +} +.icon-file-video:before { + content: "\f1c8"; +} +.icon-file-code:before { + content: "\f1c9"; +} +.icon-paper-plane:before { + content: "\f1d8"; +} +.icon-sliders-h:before { + content: "\f1de"; +} +.icon-share-alt:before { + content: "\f1e0"; +} +.icon-wifi:before { + content: "\f1eb"; +} +.icon-bell-slash:before { + content: "\f1f6"; +} +.icon-trash:before { + content: "\f1f8"; +} +.icon-at:before { + content: "\f1fa"; +} +.icon-chart-area:before { + content: "\f1fe"; +} +.icon-chart-pie:before { + content: "\f200"; +} +.icon-chart-line:before { + content: "\f201"; +} +.icon-toggle-off:before { + content: "\f204"; +} +.icon-toggle-on:before { + content: "\f205"; +} +.icon-closed-captioning:before { + content: "\f20a"; +} +.icon-cart-plus:before { + content: "\f217"; +} +.icon-cart-arrow-down:before { + content: "\f218"; +} +.icon-sticky-note:before { + content: "\f249"; +} +.icon-clone:before { + content: "\f24d"; +} +.icon-hourglass-start:before { + content: "\f251"; +} +.icon-hourglass-half:before { + content: "\f252"; +} +.icon-hourglass-end:before { + content: "\f253"; +} +.icon-hourglass:before { + content: "\f254"; +} +.icon-tv:before { + content: "\f26c"; +} +.icon-industry:before { + content: "\f275"; +} +.icon-map-signs:before { + content: "\f277"; +} +.icon-map:before { + content: "\f279"; +} +.icon-shopping-bag:before { + content: "\f290"; +} +.icon-shopping-basket:before { + content: "\f291"; +} +.icon-universal-access:before { + content: "\f29a"; +} +.icon-blind:before { + content: "\f29d"; +} +.icon-handshake:before { + content: "\f2b5"; +} +.icon-address-book:before { + content: "\f2b9"; +} +.icon-address-card:before { + content: "\f2bb"; +} +.icon-user-circle:before { + content: "\f2bd"; +} +.icon-id-badge:before { + content: "\f2c1"; +} +.icon-id-card:before { + content: "\f2c2"; +} +.icon-podcast:before { + content: "\f2ce"; +} +.icon-snowflake:before { + content: "\f2dc"; +} +.icon-undo-alt:before { + content: "\f2ea"; +} +.icon-trash-alt:before { + content: "\f2ed"; +} +.icon-sync-alt:before { + content: "\f2f1"; +} +.icon-sign-out-alt:before { + content: "\f2f5"; +} +.icon-sign-in-alt:before { + content: "\f2f6"; +} +.icon-redo-alt:before { + content: "\f2f9"; +} +.icon-map-marker-alt:before { + content: "\f3c5"; +} +.icon-microphone-alt:before { + content: "\f3c9"; +} +.icon-shield-alt:before { + content: "\f3ed"; +} +.icon-user-alt:before { + content: "\f406"; +} +.icon-box:before { + content: "\f466"; +} +.icon-clipboard-check:before { + content: "\f46c"; +} +.icon-clipboard-list:before { + content: "\f46d"; +} +.icon-comment-dots:before { + content: "\f4ad"; +} +.icon-dove:before { + content: "\f4ba"; +} +.icon-hand-holding:before { + content: "\f4bd"; +} +.icon-piggy-bank:before { + content: "\f4d3"; +} +.icon-seedling:before { + content: "\f4d8"; +} +.icon-user-alt-slash:before { + content: "\f4fa"; +} +.icon-user-astronaut:before { + content: "\f4fb"; +} +.icon-user-check:before { + content: "\f4fc"; +} +.icon-user-clock:before { + content: "\f4fd"; +} +.icon-user-cog:before { + content: "\f4fe"; +} +.icon-user-edit:before { + content: "\f4ff"; +} +.icon-user-friends:before { + content: "\f500"; +} +.icon-user-graduate:before { + content: "\f501"; +} +.icon-user-lock:before { + content: "\f502"; +} +.icon-user-minus:before { + content: "\f503"; +} +.icon-user-ninja:before { + content: "\f504"; +} +.icon-user-shield:before { + content: "\f505"; +} +.icon-user-slash:before { + content: "\f506"; +} +.icon-user-tag:before { + content: "\f507"; +} +.icon-user-tie:before { + content: "\f508"; +} +.icon-users-cog:before { + content: "\f509"; +} +.icon-glasses:before { + content: "\f530"; +} +.icon-palette:before { + content: "\f53f"; +} +.icon-robot:before { + content: "\f544"; +} +.icon-store:before { + content: "\f54e"; +} +.icon-store-alt:before { + content: "\f54f"; +} +.icon-atlas:before { + content: "\f558"; +} +.icon-backspace:before { + content: "\f55a"; +} +.icon-fingerprint:before { + content: "\f577"; +} +.icon-globe-americas:before { + content: "\f57d"; +} +.icon-headphones-alt:before { + content: "\f58f"; +} +.icon-map-marked-alt:before { + content: "\f5a0"; +} +.icon-paint-roller:before { + content: "\f5aa"; +} +.icon-pen-fancy:before { + content: "\f5ac"; +} +.icon-signature:before { + content: "\f5b7"; +} +.icon-poop:before { + content: "\f619"; +} +.icon-ad:before { + content: "\f641"; +} +.icon-file-csv:before { + content: "\f6dd"; +} +.icon-mask:before { + content: "\f6fa"; +} +.icon-spider:before { + content: "\f717"; +} +.icon-tractor:before { + content: "\f722"; +} +.icon-calendar-day:before { + content: "\f783"; +} +.icon-carrot:before { + content: "\f787"; +} +.icon-guitar:before { + content: "\f7a6"; +} +.icon-mug-hot:before { + content: "\f7b6"; +} +.icon-hamburger:before { + content: "\f805"; +} +.icon-hotdog:before { + content: "\f80f"; +} +.icon-pepper-hot:before { + content: "\f816"; +} +.icon-hat-cowboy:before { + content: "\f8c0"; +} +.icon-mouse:before { + content: "\f8cc"; +} +.icon-unity:before { + content: "\e049"; +} +.icon-shopify:before { + content: "\e057"; +} +.icon-rust:before { + content: "\e07a"; +} +.icon-tiktok:before { + content: "\e07b"; +} +.icon-linkedin:before { + content: "\f08c"; +} +.icon-twitter:before { + content: "\f099"; +} +.icon-facebook:before { + content: "\f09a"; +} +.icon-github:before { + content: "\f09b"; +} +.icon-pinterest:before { + content: "\f0d2"; +} +.icon-youtube:before { + content: "\f167"; +} +.icon-stack-overflow:before { + content: "\f16c"; +} +.icon-instagram:before { + content: "\f16d"; +} +.icon-apple:before { + content: "\f179"; +} +.icon-windows:before { + content: "\f17a"; +} +.icon-android:before { + content: "\f17b"; +} +.icon-linux:before { + content: "\f17c"; +} +.icon-skype:before { + content: "\f17e"; +} +.icon-trello:before { + content: "\f181"; +} +.icon-slack:before { + content: "\f198"; +} +.icon-reddit:before { + content: "\f1a1"; +} +.icon-steam:before { + content: "\f1b6"; +} +.icon-spotify:before { + content: "\f1bc"; +} +.icon-twitch:before { + content: "\f1e8"; +} +.icon-paypal:before { + content: "\f1ed"; +} +.icon-cc-visa:before { + content: "\f1f0"; +} +.icon-cc-mastercard:before { + content: "\f1f1"; +} +.icon-lastfm:before { + content: "\f202"; +} +.icon-whatsapp:before { + content: "\f232"; +} +.icon-get-pocket:before { + content: "\f265"; +} +.icon-amazon:before { + content: "\f270"; +} +.icon-gitlab:before { + content: "\f296"; +} +.icon-snapchat:before { + content: "\f2ab"; +} +.icon-telegram:before { + content: "\f2c6"; +} +.icon-meetup:before { + content: "\f2e0"; +} +.icon-audible:before { + content: "\f373"; +} +.icon-aws:before { + content: "\f375"; +} +.icon-discord:before { + content: "\f392"; +} +.icon-docker:before { + content: "\f395"; +} +.icon-google-drive:before { + content: "\f3aa"; +} +.icon-google-play:before { + content: "\f3ab"; +} +.icon-hubspot:before { + content: "\f3b2"; +} +.icon-kickstarter-k:before { + content: "\f3bc"; +} +.icon-npm:before { + content: "\f3d4"; +} +.icon-patreon:before { + content: "\f3d9"; +} +.icon-playstation:before { + content: "\f3df"; +} +.icon-python:before { + content: "\f3e2"; +} +.icon-rocketchat:before { + content: "\f3e8"; +} +.icon-steam-symbol:before { + content: "\f3f6"; +} +.icon-apple-pay:before { + content: "\f415"; +} +.icon-amazon-pay:before { + content: "\f42c"; +} +.icon-mastodon:before { + content: "\f4f6"; +} +.icon-git-alt:before { + content: "\f841"; +} diff --git a/static/icons/fontawesome.eot b/static/icons/fontawesome.eot new file mode 100644 index 0000000..df4072f Binary files /dev/null and b/static/icons/fontawesome.eot differ diff --git a/static/icons/fontawesome.svg b/static/icons/fontawesome.svg new file mode 100644 index 0000000..119b700 --- /dev/null +++ b/static/icons/fontawesome.svg @@ -0,0 +1,320 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/icons/fontawesome.ttf b/static/icons/fontawesome.ttf new file mode 100644 index 0000000..f6fbe85 Binary files /dev/null and b/static/icons/fontawesome.ttf differ diff --git a/static/icons/fontawesome.woff b/static/icons/fontawesome.woff new file mode 100644 index 0000000..ec168bf Binary files /dev/null and b/static/icons/fontawesome.woff differ