Compare commits

...

11 Commits

5 changed files with 29 additions and 12 deletions

View File

@ -62,12 +62,17 @@ steps:
exclude: exclude:
- pull_request - pull_request
- name: notify # - name: notify
image: plugins/matrix # image: spotlightkid/drone-matrixchat-notify:latest
settings: # settings:
homeserver: https://data.coop # homeserver: https://data.coop
roomid: plKSghHbepWeUEtbHE:data.coop # roomid: '!plKSghHbepWeUEtbHE:data.coop'
username: # userid:
from_secret: matrix_username # from_secret: matrix_username
password: # password:
from_secret: matrix_password # from_secret: matrix_password
# markdown: 'yes'
# template: |
# `${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}**
#
# ${DRONE_PULL_REQUEST_TITLE}](${DRONE_COMMIT_LINK})

View File

@ -17,7 +17,15 @@ markup:
languages: languages:
da: da:
title: data.coop title: data.coop
weight: 1 params:
description: "Et datakollektiv, der passer på dine data."
weight: 1
# First Hugo looks in your post front matter for an images value (images: [""])
# Then Hugo searchs for image page resources with feature, cover or thumbnail in their name. These are images files under a directory that matches the post (e.g. content\posts\first-post)
# If not images are found, Hugo looks for images (images: [""]) in your site config
# If no image if found, then an image-less Twitter summary card is used instead of summary_large_image
# https://digitaldrummerj.me/hugo-preview-when-sharing-twitter/
images: ["/static/img/some_card_preview_large_da.png"]
LanguageName: Dansk LanguageName: Dansk
menu: menu:
nav: nav:
@ -35,7 +43,10 @@ languages:
weight: 4 weight: 4
en: en:
title: data.coop title: data.coop
params:
description: "A data collective that takes care of your data."
weight: 2 weight: 2
images: ["/static/img/some_card_preview_large_en.png"]
LanguageName: English LanguageName: English
menu: menu:
nav: nav:
@ -52,5 +63,3 @@ languages:
url: "en/rights/" url: "en/rights/"
weight: 4 weight: 4
params:
description: "Et datakollektiv, der passer på dine data."

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -17,6 +17,9 @@
<meta name="msapplication-TileColor" content="#4b3aba"> <meta name="msapplication-TileColor" content="#4b3aba">
<meta name="theme-color" content="#4b3aba"> <meta name="theme-color" content="#4b3aba">
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/opengraph.html" . }}
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }} {{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}"> <link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">