Compare commits
35 Commits
Author | SHA1 | Date | |
---|---|---|---|
a32c3a32c1 | |||
bfe04ecbab | |||
be635f0b8d | |||
a4d8a9b95c | |||
f39681119a | |||
f4602e85c2 | |||
ce1d74239a | |||
b8bbdcd4f6 | |||
71d75703d8 | |||
6f05b61f55 | |||
7ac6436352 | |||
1879182fd0 | |||
542810aeaa | |||
5493f3f91d | |||
8ccb9333d7 | |||
909be5661c | |||
9eef32f85c | |||
02234dc71e | |||
726e3b8a66 | |||
346e05a4cd | |||
fc98ca8e25 | |||
ad422cbeea | |||
a52d7f459f | |||
a1027bb23c | |||
84c5b1a04b | |||
aa53794b91 | |||
da133ee527 | |||
300400c196 | |||
45faef42db | |||
fd18e61c6d | |||
840a136aab | |||
2dcb1ae264 | |||
549d09934d | |||
6e2d1f1cf5 | |||
7ca1ee7e81 |
@ -3,10 +3,19 @@ on:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
# Allows external webhook trigger
|
||||
repository_dispatch:
|
||||
types:
|
||||
- webhook
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -16,32 +25,39 @@ jobs:
|
||||
- name: Setup Hugo
|
||||
uses: https://github.com/peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.111.3'
|
||||
hugo-version: '0.124.0'
|
||||
# extended: true
|
||||
|
||||
- name: Build site
|
||||
run: hugo --minify
|
||||
|
||||
# - name: Create tarfile
|
||||
# run: tar -cf website.tar public
|
||||
# -C switch means cd to public and then tar all contents
|
||||
- name: Create tarfile
|
||||
run: tar -cf website.tar -C public .
|
||||
|
||||
# - name: Create release
|
||||
# id: create-release
|
||||
# uses: actions/release-action@main
|
||||
# with:
|
||||
# files: |-
|
||||
# website.tar
|
||||
# api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
- name: Deploy to server
|
||||
uses: https://github.com/appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
source: ./website.tar
|
||||
target: /tmp/
|
||||
overwrite: true
|
||||
|
||||
# - name: Upload artifacts
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: website-files.tar
|
||||
# path: website.tar
|
||||
- name: Extract archive
|
||||
uses: https://github.com/appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
script: |
|
||||
rm -r ${{ secrets.WEB_DIR }}/*
|
||||
tar -xvf /tmp/website.tar --directory ${{ secrets.WEB_DIR }}/
|
||||
rm /tmp/website.tar
|
||||
|
||||
- name: Setup Minio client
|
||||
run: wget https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x ./mc && ./mc alias set deploy ${{ secrets.S3_ENDPOINT }} ${{ secrets.S3_ACCESS_KEY }} ${{ secrets.S3_SECRET_KEY }}
|
||||
|
||||
- name: Deploy to Garage
|
||||
run: ./mc mirror --remove --overwrite ./public/ deploy/${{ secrets.S3_BUCKET }}
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: website.tar
|
||||
|
||||
|
@ -1,40 +0,0 @@
|
||||
name: release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: setup go
|
||||
uses: https://github.com/actions/setup-go@v4
|
||||
with:
|
||||
go-version: '>=1.20.1'
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: https://github.com/peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.111.3'
|
||||
# extended: true
|
||||
|
||||
- name: Build site
|
||||
run: hugo --minify
|
||||
|
||||
- name: Create tarfile
|
||||
run: tar -cf website.tar public
|
||||
|
||||
- name: Create relesase
|
||||
id: create-release-action
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
website.tar
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
9
assets/css/custom.css
Normal file
9
assets/css/custom.css
Normal file
@ -0,0 +1,9 @@
|
||||
/* @font-face { */
|
||||
/* font-family: font; */
|
||||
/* src: url('/fonts/EBGaramond-VariableFont_wght.ttf'); */
|
||||
/* } */
|
||||
/**/
|
||||
/* html { */
|
||||
/* font-family: font; */
|
||||
/* font-weight: 500; */
|
||||
/* } */
|
3
assets/icons/gitea-white.svg
Normal file
3
assets/icons/gitea-white.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg style="color: white" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Gitea</title><path d="M4.209 4.603c-.247 0-.525.02-.84.088-.333.07-1.28.283-2.054 1.027C-.403 7.25.035 9.685.089 10.052c.065.446.263 1.687 1.21 2.768 1.749 2.141 5.513 2.092 5.513 2.092s.462 1.103 1.168 2.119c.955 1.263 1.936 2.248 2.89 2.367 2.406 0 7.212-.004 7.212-.004s.458.004 1.08-.394c.535-.324 1.013-.893 1.013-.893s.492-.527 1.18-1.73c.21-.37.385-.729.538-1.068 0 0 2.107-4.471 2.107-8.823-.042-1.318-.367-1.55-.443-1.627-.156-.156-.366-.153-.366-.153s-4.475.252-6.792.306c-.508.011-1.012.023-1.512.027v4.474l-.634-.301c0-1.39-.004-4.17-.004-4.17-1.107.016-3.405-.084-3.405-.084s-5.399-.27-5.987-.324c-.187-.011-.401-.032-.648-.032zm.354 1.832h.111s.271 2.269.6 3.597C5.549 11.147 6.22 13 6.22 13s-.996-.119-1.641-.348c-.99-.324-1.409-.714-1.409-.714s-.73-.511-1.096-1.52C1.444 8.73 2.021 7.7 2.021 7.7s.32-.859 1.47-1.145c.395-.106.863-.12 1.072-.12zm8.33 2.554c.26.003.509.127.509.127l.868.422-.529 1.075a.686.686 0 0 0-.614.359.685.685 0 0 0 .072.756l-.939 1.924a.69.69 0 0 0-.66.527.687.687 0 0 0 .347.763.686.686 0 0 0 .867-.206.688.688 0 0 0-.069-.882l.916-1.874a.667.667 0 0 0 .237-.02.657.657 0 0 0 .271-.137 8.826 8.826 0 0 1 1.016.512.761.761 0 0 1 .286.282c.073.21-.073.569-.073.569-.087.29-.702 1.55-.702 1.55a.692.692 0 0 0-.676.477.681.681 0 1 0 1.157-.252c.073-.141.141-.282.214-.431.19-.397.515-1.16.515-1.16.035-.066.218-.394.103-.814-.095-.435-.48-.638-.48-.638-.467-.301-1.116-.58-1.116-.58s0-.156-.042-.27a.688.688 0 0 0-.148-.241l.516-1.062 2.89 1.401s.48.218.583.619c.073.282-.019.534-.069.657-.24.587-2.1 4.317-2.1 4.317s-.232.554-.748.588a1.065 1.065 0 0 1-.393-.045l-.202-.08-4.31-2.1s-.417-.218-.49-.596c-.083-.31.104-.691.104-.691l2.073-4.272s.183-.37.466-.497a.855.855 0 0 1 .35-.077z" fill="white"></path></svg>
|
After Width: | Height: | Size: 2.0 KiB |
2
assets/icons/gitea.svg
Normal file
2
assets/icons/gitea.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="currentColor" width="800px" height="800px" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><path d="M4.209 4.603c-.247 0-.525.02-.84.088-.333.07-1.28.283-2.054 1.027C-.403 7.25.035 9.685.089 10.052c.065.446.263 1.687 1.21 2.768 1.749 2.141 5.513 2.092 5.513 2.092s.462 1.103 1.168 2.119c.955 1.263 1.936 2.248 2.89 2.367 2.406 0 7.212-.004 7.212-.004s.458.004 1.08-.394c.535-.324 1.013-.893 1.013-.893s.492-.527 1.18-1.73c.21-.37.385-.729.538-1.068 0 0 2.107-4.471 2.107-8.823-.042-1.318-.367-1.55-.443-1.627-.156-.156-.366-.153-.366-.153s-4.475.252-6.792.306c-.508.011-1.012.023-1.512.027v4.474l-.634-.301c0-1.39-.004-4.17-.004-4.17-1.107.016-3.405-.084-3.405-.084s-5.399-.27-5.987-.324c-.187-.011-.401-.032-.648-.032zm.354 1.832h.111s.271 2.269.6 3.597C5.549 11.147 6.22 13 6.22 13s-.996-.119-1.641-.348c-.99-.324-1.409-.714-1.409-.714s-.73-.511-1.096-1.52C1.444 8.73 2.021 7.7 2.021 7.7s.32-.859 1.47-1.145c.395-.106.863-.12 1.072-.12zm8.33 2.554c.26.003.509.127.509.127l.868.422-.529 1.075a.686.686 0 0 0-.614.359.685.685 0 0 0 .072.756l-.939 1.924a.69.69 0 0 0-.66.527.687.687 0 0 0 .347.763.686.686 0 0 0 .867-.206.688.688 0 0 0-.069-.882l.916-1.874a.667.667 0 0 0 .237-.02.657.657 0 0 0 .271-.137 8.826 8.826 0 0 1 1.016.512.761.761 0 0 1 .286.282c.073.21-.073.569-.073.569-.087.29-.702 1.55-.702 1.55a.692.692 0 0 0-.676.477.681.681 0 1 0 1.157-.252c.073-.141.141-.282.214-.431.19-.397.515-1.16.515-1.16.035-.066.218-.394.103-.814-.095-.435-.48-.638-.48-.638-.467-.301-1.116-.58-1.116-.58s0-.156-.042-.27a.688.688 0 0 0-.148-.241l.516-1.062 2.89 1.401s.48.218.583.619c.073.282-.019.534-.069.657-.24.587-2.1 4.317-2.1 4.317s-.232.554-.748.588a1.065 1.065 0 0 1-.393-.045l-.202-.08-4.31-2.1s-.417-.218-.49-.596c-.083-.31.104-.691.104-.691l2.073-4.272s.183-.37.466-.497a.855.855 0 0 1 .35-.077z"/></svg>
|
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/img/crosswalk.jpg
Normal file
BIN
assets/img/crosswalk.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 937 KiB |
@ -3,8 +3,9 @@
|
||||
# https://blowfish.page/docs/getting-started/
|
||||
|
||||
theme = ["hugo-cloak-email", "blowfish"]
|
||||
baseURL = "https://mziesel.com/"
|
||||
baseURL = "https://mziesel.nl/"
|
||||
defaultContentLanguage = "nl"
|
||||
title = "Mans Ziesel"
|
||||
|
||||
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
|
||||
|
||||
|
@ -1,24 +1,26 @@
|
||||
languageCode = "en"
|
||||
languageName = "English"
|
||||
displayName = "EN"
|
||||
isoCode = "en"
|
||||
weight = 2
|
||||
rtl = false
|
||||
|
||||
[params]
|
||||
displayName = "EN"
|
||||
isoCode = "en"
|
||||
rtl = false
|
||||
dateFormat = "2 January 2006"
|
||||
|
||||
title = "Mans Ziesel"
|
||||
# logo = "img/Mans_Ziesel_Portrait.jpg"
|
||||
description = "Website of Mans Ziesel"
|
||||
# copyright = "Copy, _right?_ :thinking_face:"
|
||||
|
||||
dateFormat = "2 January 2006"
|
||||
|
||||
[author]
|
||||
name = "Mans Ziesel"
|
||||
image = "img/Mans_Ziesel_Portrait.jpg"
|
||||
headline = "Student at ROC van Twente"
|
||||
headline = "ICT student at Windesheim - HBO-ICT"
|
||||
# bio = "A little bit about you"
|
||||
links = [
|
||||
# { email = "mailto:mans@mziesel.com" },
|
||||
{ github = "https://github.com/mansziesel" },
|
||||
{ linkedin = "https://linkedin.com/in/mansziesel" },
|
||||
{ gitea = "https://git.mziesel.nl/mans" },
|
||||
{ github = "https://github.com/mansziesel" },
|
||||
]
|
||||
|
@ -1,21 +1,23 @@
|
||||
languageCode = "nl"
|
||||
languageName = "Nederlands"
|
||||
displayName = "NL"
|
||||
isoCode = "nl"
|
||||
weight = 1
|
||||
rtl = false
|
||||
|
||||
[params]
|
||||
displayName = "NL"
|
||||
isoCode = "nl"
|
||||
rtl = false
|
||||
dateFormat = "2 January 2006"
|
||||
|
||||
title = "Mans Ziesel"
|
||||
# logo = "img/Mans_Ziesel_Portrait.jpg"
|
||||
description = "Website van Mans Ziesel"
|
||||
# copyright = "Copy, _right?_ :thinking_face:"
|
||||
|
||||
dateFormat = "2 January 2006"
|
||||
|
||||
[author]
|
||||
name = "Mans Ziesel"
|
||||
image = "img/Mans_Ziesel_Portrait.jpg"
|
||||
headline = "ICT'er & student bij ROC van Twente"
|
||||
headline = "ICT'er & student bij Windesheim - HBO-ICT"
|
||||
# bio = "A little bit about you"
|
||||
links = [
|
||||
# { email = "mailto:mans@mziesel.com" },
|
||||
@ -30,15 +32,16 @@ dateFormat = "2 January 2006"
|
||||
# { facebook = "https://facebook.com/mansziesel" },
|
||||
# { flickr = "https://www.flickr.com/photos/mansziesel/" },
|
||||
# { foursquare = "https://foursquare.com/mansziesel" },
|
||||
{ linkedin = "https://linkedin.com/in/mansziesel" },
|
||||
{ gitea = "https://git.mziesel.nl/mans" },
|
||||
{ github = "https://github.com/mansziesel" },
|
||||
# { gitlab = "https://gitlab.com/mansziesel" },
|
||||
# { gitlab = "https://git.mziesel.nl/mans" },
|
||||
# { google = "https://www.google.com/" },
|
||||
# { hashnode = "https://mansziesel.hashnode.dev" },
|
||||
# { instagram = "https://instagram.com/mansziesel" },
|
||||
# { keybase = "https://keybase.io/mansziesel" },
|
||||
# { kickstarter = "https://www.kickstarter.com/profile/mansziesel" },
|
||||
# { lastfm = "https://lastfm.com/user/mansziesel" },
|
||||
{ linkedin = "https://linkedin.com/in/mansziesel" },
|
||||
# { mastodon = "https://mastodon.instance/@mansziesel" },
|
||||
# { medium = "https://medium.com/mansziesel" },
|
||||
# { microsoft = "https://www.microsoft.com/" },
|
||||
|
@ -25,15 +25,15 @@
|
||||
pageRef = "ervaringen"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Notes"
|
||||
pageRef = "notities"
|
||||
weight = 40
|
||||
# [[main]]
|
||||
# name = "Notes"
|
||||
# pageRef = "notities"
|
||||
# weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Contact"
|
||||
pageRef = "contact"
|
||||
weight = 50
|
||||
weight = 40
|
||||
|
||||
#[[main]]
|
||||
#[[main]]
|
||||
|
@ -25,15 +25,15 @@
|
||||
pageRef = "ervaringen"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Notities"
|
||||
pageRef = "notities"
|
||||
weight = 40
|
||||
# [[main]]
|
||||
# name = "Notities"
|
||||
# pageRef = "notities"
|
||||
# weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Contact"
|
||||
pageRef = "contact"
|
||||
weight = 50
|
||||
weight = 40
|
||||
|
||||
#[[main]]
|
||||
# name = "Parent"
|
||||
|
@ -18,6 +18,7 @@ enableCodeCopy = true
|
||||
disableImageOptimization = false
|
||||
|
||||
defaultBackgroundImage = "img/Mountains_BG.jpg" # used as default for background images
|
||||
# defaultBackgroundImage = "img/crosswalk.jpg" # used as default for background images
|
||||
smartTOC = true
|
||||
smartTOCHideUnfocusedChildren = true
|
||||
|
||||
@ -29,7 +30,7 @@ smartTOCHideUnfocusedChildren = true
|
||||
showCopyright = true
|
||||
showThemeAttribution = true
|
||||
showAppearanceSwitcher = true
|
||||
showScrollToTop = false
|
||||
showScrollToTop = true
|
||||
|
||||
[homepage]
|
||||
layout = "background-custom" # valid options: page, profile, hero, card, background, custom
|
||||
@ -37,7 +38,7 @@ smartTOCHideUnfocusedChildren = true
|
||||
showRecent = false
|
||||
showRecentItems = 5
|
||||
showMoreLink = false
|
||||
showMoreLinkDest = "/posts"
|
||||
showMoreLinkDest = "/ervaringen/"
|
||||
cardView = false
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true # only used when layout equals background
|
||||
|
@ -1,6 +1,8 @@
|
||||
---
|
||||
title: "Contact"
|
||||
date: 2023-03-19T14:51:43+01:00
|
||||
showHero: false
|
||||
---
|
||||
My email address is {{< cloakemail "mans@mziesel.com" >}}
|
||||
|
||||
If you wish to share files with me you can do so [here](https://cloud.mziesel.nl/s/rPWLqytartiPuVV)
|
||||
|
@ -1,5 +1,8 @@
|
||||
---
|
||||
title: "Contact"
|
||||
date: 2023-03-19T14:51:40+01:00
|
||||
showHero: false
|
||||
---
|
||||
Mijn mail adres is {{< cloakemail "mans@mziesel.com" >}}
|
||||
|
||||
Als je bestanden met mij wilt delen dan kan dat [hier](https://cloud.mziesel.nl/s/rPWLqytartiPuVV)
|
||||
|
BIN
content/ervaringen/skills-heroes/01_skills_heroes_einde.jpg
Normal file
BIN
content/ervaringen/skills-heroes/01_skills_heroes_einde.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 336 KiB |
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
@ -17,3 +17,5 @@ The qualification competition for the ICT administrators took place in Leiden. 2
|
||||
### Skills the Finals
|
||||
|
||||
Skills the Finals took place in Amsterdam on March 23 and 24, 2023. In the final, I competed against the rest of the students who had made it to the final. Ultimately, I came in seventh place in the Netherlands.
|
||||
|
||||
{{< carousel images="*.jpg" >}}
|
||||
|
@ -17,3 +17,5 @@ De kwalificatiewedstrijd voor de ICT-beheerders vond plaats in Leiden. Er namen
|
||||
### De finale
|
||||
|
||||
Op 23 en 24 maart 2023 vond Skills the Finals plaats in Amsterdam. In de finale nam ik het op tegen de rest van de studenten die het tot de finale hadden geschopt. Uiteindelijk ben ik zevende geworden van Nederland.
|
||||
|
||||
{{< carousel images="*.jpg" >}}
|
||||
|
@ -2,6 +2,7 @@
|
||||
title: "SQL notes"
|
||||
date: 2023-06-13
|
||||
draft: false
|
||||
showHero: false
|
||||
---
|
||||
|
||||
# SQL opdrachten & antwoorden
|
||||
|
@ -2,6 +2,7 @@
|
||||
title: "SQL notities"
|
||||
date: 2023-06-13
|
||||
draft: false
|
||||
showHero: false
|
||||
---
|
||||
|
||||
# SQL opdrachten & antwoorden
|
||||
|
@ -1,10 +1,11 @@
|
||||
---
|
||||
title: "About Me"
|
||||
date: 2023-03-19
|
||||
showHero: false
|
||||
---
|
||||
My name is Mans, I am 18 years old, and I am a motivated IT student.
|
||||
My name is Mans, I am 19 years old, and I am a motivated IT student.
|
||||
|
||||
Currently, I am in the first year of the *HBO ICT* program at Windesheim.
|
||||
Currently, I am in the second year of the *HBO ICT* program at Windesheim.
|
||||
Before this, I completed the *Expert IT systems* and devices program at ROC van Twente.
|
||||
During my education, I built a solid foundation in a wide range of IT-related fields, such as programming, networking, system administration, and cybersecurity.
|
||||
In addition to my studies, I have completed various internships and practical projects where I could apply my knowledge in practice and further develop my skills.
|
||||
|
@ -1,10 +1,11 @@
|
||||
---
|
||||
title: "Over Mij"
|
||||
date: 2023-03-19
|
||||
showHero: false
|
||||
---
|
||||
Mijn naam is Mans, ik ben 18 jaar en ik ben een gemotiveerde IT student.
|
||||
Mijn naam is Mans, ik ben 19 jaar en ik ben een gemotiveerde IT student.
|
||||
|
||||
Momenteel zit ik in het eerste jaar van de opleiding *HBO ICT* op Windesheim. Hiervoor heb ik de opleiding *Expert IT systems and devices* afgemaakt op het ROC van Twente.
|
||||
Momenteel zit ik in het tweede jaar van de opleiding *HBO-ICT* op Windesheim. Hiervoor heb ik de opleiding *Expert IT systems and devices* afgemaakt op het ROC van Twente.
|
||||
Tijdens mijn opleiding heb ik een stevige basis opgebouwd in een breed scala aan IT-gerelateerde vakgebieden, zoals: programmeren, netwerking, systeembeheer en cyber security.
|
||||
Naast mijn opleiding heb ik diverse stages en praktische projecten voltooid waarbij ik mijn kennis in de praktijk heb kunnen toepassen en mijn vaardigheden verder heb kunnen ontwikkelen.
|
||||
Om meer te weten te komen over mijn ervaring, kijk dan op de ervaring pagina.
|
||||
|
150
layouts/partials/head.html
Normal file
150
layouts/partials/head.html
Normal file
@ -0,0 +1,150 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
{{ with .Site.Language.Params.htmlCode | default .Site.LanguageCode }}
|
||||
<meta http-equiv="content-language" content="{{ . }}" />
|
||||
{{ end }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
{{/* Title */}}
|
||||
{{ if .IsHome -}}
|
||||
<title>{{ .Site.Title | emojify }}</title>
|
||||
<meta name="title" content="{{ .Site.Title | emojify }}" />
|
||||
{{- else -}}
|
||||
<title>{{ .Title | emojify }} - {{ .Site.Title | emojify }}</title>
|
||||
<meta name="title" content="{{ .Title | emojify }} - {{ .Site.Title | emojify }}" />
|
||||
{{- end }}
|
||||
{{/* Metadata */}}
|
||||
{{ with (.Params.Summary | default .Params.Description) | default .Site.Params.description -}}
|
||||
<meta name="description" content="{{ . }}" />
|
||||
{{- end }}
|
||||
{{ with .Params.Tags | default .Site.Params.keywords -}}
|
||||
<meta name="keywords" content="{{ range . }}{{ . }}, {{ end -}}" />
|
||||
{{- end }}
|
||||
{{ with .Site.Params.robots }}
|
||||
<meta name="robots" content="{{ . }}" />
|
||||
{{ end }}
|
||||
{{ with .Params.robots }}
|
||||
<meta name="robots" content="{{ . }}" />
|
||||
{{ end }}
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
{{ printf `
|
||||
<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink ($.Site.Title | emojify) |
|
||||
safeHTML }}
|
||||
{{ end -}}
|
||||
{{/* Asset bundles */}}
|
||||
{{ $assets := newScratch }}
|
||||
{{ $cssScheme := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "blowfish")) }}
|
||||
{{ if not $cssScheme }}
|
||||
{{ $cssScheme = resources.Get "css/schemes/blowfish.css" }}
|
||||
{{ end }}
|
||||
{{ $assets.Add "css" (slice $cssScheme) }}
|
||||
{{ $cssMain := resources.Get "css/compiled/main.css" }}
|
||||
{{ $assets.Add "css" (slice $cssMain) }}
|
||||
{{ $cssCustom := resources.Get "css/custom.css" }}
|
||||
{{ if $cssCustom }}
|
||||
{{ $assets.Add "css" (slice $cssCustom) }}
|
||||
{{ end }}
|
||||
{{ $bundleCSS := $assets.Get "css" | resources.Concat "css/main.bundle.css" | resources.Minify | resources.Fingerprint
|
||||
"sha512" }}
|
||||
<link type="text/css" rel="stylesheet" href="{{ $bundleCSS.RelPermalink }}"
|
||||
integrity="{{ $bundleCSS.Data.Integrity }}" />
|
||||
{{ $jsAppearance := resources.Get "js/appearance.js" }}
|
||||
{{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate "js/appearance.js" . | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
<script type="text/javascript" src="{{ $jsAppearance.RelPermalink }}"
|
||||
integrity="{{ $jsAppearance.Data.Integrity }}"></script>
|
||||
{{ if .Site.Params.enableSearch | default false }}
|
||||
{{ $jsFuse := resources.Get "lib/fuse/fuse.min.js" }}
|
||||
{{ $jsSearch := resources.Get "js/search.js" }}
|
||||
{{ $assets.Add "js" (slice $jsFuse $jsSearch) }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.enableCodeCopy | default false }}
|
||||
{{ $jsCode := resources.Get "js/code.js" }}
|
||||
{{ $assets.Add "js" (slice $jsCode) }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.rtl | default false }}
|
||||
{{ $jsRTL := resources.Get "js/rtl.js" }}
|
||||
{{ $assets.Add "js" (slice $jsRTL) }}
|
||||
{{ end }}
|
||||
{{ if $assets.Get "js" }}
|
||||
{{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint
|
||||
"sha512" }}
|
||||
<script defer type="text/javascript" id="script-bundle" src="{{ $bundleJS.RelPermalink }}"
|
||||
integrity="{{ $bundleJS.Data.Integrity }}" data-copy="{{ i18n " code.copy" }}" data-copied="{{ i18n " code.copied"
|
||||
}}"></script>
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.disableImageZoom | default true }}
|
||||
<script src="{{ "js/zoom.min.js" | relURL }}"></script>
|
||||
{{ end }}
|
||||
{{/* Icons */}}
|
||||
{{ if templates.Exists "partials/favicons.html" }}
|
||||
{{ partialCached "favicons.html" .Site }}
|
||||
{{ else }}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | relURL }}" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}" />
|
||||
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}" />
|
||||
{{ end }}
|
||||
{{/* Site Verification */}}
|
||||
{{ with .Site.Params.verification.google }}
|
||||
<meta name="google-site-verification" content="{{ . }}" />
|
||||
{{ end }}
|
||||
{{ with .Site.Params.verification.bing }}
|
||||
<meta name="msvalidate.01" content="{{ . }}" />
|
||||
{{ end }}
|
||||
{{ with .Site.Params.verification.pinterest }}
|
||||
<meta name="p:domain_verify" content="{{ . }}" />
|
||||
{{ end }}
|
||||
{{ with .Site.Params.verification.yandex }}
|
||||
<meta name="yandex-verification" content="{{ . }}" />
|
||||
{{ end }}
|
||||
{{/* Social */}}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{/* Schema */}}
|
||||
{{ partial "schema.html" . }}
|
||||
{{/* Me */}}
|
||||
{{ with .Site.Author.name }}
|
||||
<meta name="author" content="{{ . }}" />{{ end }}
|
||||
{{ with .Site.Author.links }}
|
||||
{{ range $links := . }}
|
||||
{{ range $name, $url := $links }}
|
||||
<link href="{{ $url }}" rel="me" />{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{/* Vendor */}}
|
||||
{{ partial "vendor.html" . }}
|
||||
{{/* Analytics */}}
|
||||
{{ partial "analytics/main.html" .Site }}
|
||||
{{/* Extend head - eg. for custom analytics scripts, etc. */}}
|
||||
{{ if templates.Exists "partials/extend-head.html" }}
|
||||
{{ partialCached "extend-head.html" .Site }}
|
||||
{{ end }}
|
||||
<meta name="theme-color"/>
|
||||
{{/* Firebase */}}
|
||||
{{ with $.Site.Params.firebase }}
|
||||
{{ if isset $.Site.Params "firebase" }}
|
||||
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
|
||||
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
|
||||
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
|
||||
<script>
|
||||
|
||||
const firebaseConfig = {
|
||||
apiKey: {{ $.Site.Params.firebase.apiKey }},
|
||||
authDomain: {{ $.Site.Params.firebase.apiKey }},
|
||||
projectId: {{ $.Site.Params.firebase.projectId }},
|
||||
storageBucket: {{ $.Site.Params.firebase.storageBucket }},
|
||||
messagingSenderId: {{ $.Site.Params.firebase.messagingSenderId }},
|
||||
appId: {{ $.Site.Params.firebase.appId }},
|
||||
measurementId: {{ $.Site.Params.firebase.measurementId }}
|
||||
};
|
||||
|
||||
var app = firebase.initializeApp(firebaseConfig);
|
||||
var db = firebase.firestore();
|
||||
var auth = firebase.auth();
|
||||
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<script defer data-domain="mziesel.nl" src="https://pl.mziesel.nl/js/script.js"></script>
|
||||
</head>
|
67
layouts/shortcodes/gitea.html
Normal file
67
layouts/shortcodes/gitea.html
Normal file
@ -0,0 +1,67 @@
|
||||
{{ $id := delimit (slice "github" (partial "functions/uid.html" .)) "-" }}
|
||||
{{- $githubURL := print "https://git.mziesel.nl/api/v1/repos/" (.Get "repo") -}}
|
||||
{{- $githubData := getJSON ($githubURL) -}}
|
||||
{{- $githubColors := .Site.Data.githubColors -}}
|
||||
{{- with $githubData -}}
|
||||
|
||||
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
||||
<div
|
||||
class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">
|
||||
|
||||
<div class="flex items-center">
|
||||
<span class="text-2xl text-neutral-800 dark:text-neutral" style="margin-right:10px;">
|
||||
{{ partial "icon.html" "gitea-white" }}
|
||||
</span>
|
||||
<div
|
||||
id="{{ $id }}-full_name"
|
||||
class="m-0 font-bold text-xl text-neutral-800 decoration-primary-500 hover:underline hover:underline-offset-2 dark:text-neutral">
|
||||
{{ .full_name | markdownify | emojify }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p id="{{ $id }}-description" class="m-0 mt-2 text-md text-neutral-800 dark:text-neutral">
|
||||
{{ .description | markdownify | emojify }}
|
||||
</p>
|
||||
|
||||
<div class="m-0 mt-2 flex items-center">
|
||||
|
||||
<span class="mr-1 inline-block h-3 w-3 rounded-full"
|
||||
style="background-color: {{ if .language }} {{- index $githubColors .language -}} {{ else }} #0077b6 {{ end }}"></span>
|
||||
<div class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
|
||||
{{ if .language }} {{ .language }} {{ else }} null {{ end }}
|
||||
</div>
|
||||
|
||||
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
|
||||
{{ partial "icon.html" "star" }}
|
||||
</span>
|
||||
<div id="{{ $id }}-stargazers" class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
|
||||
{{ .stargazers_count }}
|
||||
</div>
|
||||
|
||||
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
|
||||
{{ partial "icon.html" "fork" }}
|
||||
</span>
|
||||
<div id="{{ $id }}-forks" class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
|
||||
{{ .forks }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<script>
|
||||
fetch({{ $githubURL }}, {
|
||||
headers: new Headers({
|
||||
'User-agent': 'Mozilla/4.0 Custom User Agent'
|
||||
})
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
document.getElementById('{{ $id }}-full_name').innerHTML = data.full_name;
|
||||
document.getElementById('{{ $id }}-description').innerHTML = data.description;
|
||||
document.getElementById('{{ $id }}-stargazers').innerHTML = data.stargazers_count;
|
||||
document.getElementById('{{ $id }}-forks').innerHTML = data.forks;
|
||||
})
|
||||
.catch(error => console.error(error))
|
||||
</script>
|
||||
</a>
|
||||
{{- end -}}
|
BIN
static/fonts/EBGaramond-Italic-VariableFont_wght.ttf
Normal file
BIN
static/fonts/EBGaramond-Italic-VariableFont_wght.ttf
Normal file
Binary file not shown.
BIN
static/fonts/EBGaramond-VariableFont_wght.ttf
Normal file
BIN
static/fonts/EBGaramond-VariableFont_wght.ttf
Normal file
Binary file not shown.
93
static/fonts/OFL.txt
Normal file
93
static/fonts/OFL.txt
Normal file
@ -0,0 +1,93 @@
|
||||
Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
73
static/fonts/README.txt
Normal file
73
static/fonts/README.txt
Normal file
@ -0,0 +1,73 @@
|
||||
EB Garamond Variable Font
|
||||
=========================
|
||||
|
||||
This download contains EB Garamond as both variable fonts and static fonts.
|
||||
|
||||
EB Garamond is a variable font with this axis:
|
||||
wght
|
||||
|
||||
This means all the styles are contained in these files:
|
||||
EBGaramond-VariableFont_wght.ttf
|
||||
EBGaramond-Italic-VariableFont_wght.ttf
|
||||
|
||||
If your app fully supports variable fonts, you can now pick intermediate styles
|
||||
that aren’t available as static fonts. Not all apps support variable fonts, and
|
||||
in those cases you can use the static font files for EB Garamond:
|
||||
static/EBGaramond-Regular.ttf
|
||||
static/EBGaramond-Medium.ttf
|
||||
static/EBGaramond-SemiBold.ttf
|
||||
static/EBGaramond-Bold.ttf
|
||||
static/EBGaramond-ExtraBold.ttf
|
||||
static/EBGaramond-Italic.ttf
|
||||
static/EBGaramond-MediumItalic.ttf
|
||||
static/EBGaramond-SemiBoldItalic.ttf
|
||||
static/EBGaramond-BoldItalic.ttf
|
||||
static/EBGaramond-ExtraBoldItalic.ttf
|
||||
|
||||
Get started
|
||||
-----------
|
||||
|
||||
1. Install the font files you want to use
|
||||
|
||||
2. Use your app's font picker to view the font family and all the
|
||||
available styles
|
||||
|
||||
Learn more about variable fonts
|
||||
-------------------------------
|
||||
|
||||
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
||||
https://variablefonts.typenetwork.com
|
||||
https://medium.com/variable-fonts
|
||||
|
||||
In desktop apps
|
||||
|
||||
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
||||
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
||||
|
||||
Online
|
||||
|
||||
https://developers.google.com/fonts/docs/getting_started
|
||||
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
||||
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
||||
|
||||
Installing fonts
|
||||
|
||||
MacOS: https://support.apple.com/en-us/HT201749
|
||||
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
||||
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
||||
|
||||
Android Apps
|
||||
|
||||
https://developers.google.com/fonts/docs/android
|
||||
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
||||
|
||||
License
|
||||
-------
|
||||
Please read the full license text (OFL.txt) to understand the permissions,
|
||||
restrictions and requirements for usage, redistribution, and modification.
|
||||
|
||||
You can use them in your products & projects – print or digital,
|
||||
commercial or otherwise.
|
||||
|
||||
This isn't legal advice, please consider consulting a lawyer and see the full
|
||||
license for all details.
|
BIN
static/fonts/static/EBGaramond-Bold.ttf
Normal file
BIN
static/fonts/static/EBGaramond-Bold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-BoldItalic.ttf
Normal file
BIN
static/fonts/static/EBGaramond-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-ExtraBold.ttf
Normal file
BIN
static/fonts/static/EBGaramond-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-ExtraBoldItalic.ttf
Normal file
BIN
static/fonts/static/EBGaramond-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-Italic.ttf
Normal file
BIN
static/fonts/static/EBGaramond-Italic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-Medium.ttf
Normal file
BIN
static/fonts/static/EBGaramond-Medium.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-MediumItalic.ttf
Normal file
BIN
static/fonts/static/EBGaramond-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-Regular.ttf
Normal file
BIN
static/fonts/static/EBGaramond-Regular.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-SemiBold.ttf
Normal file
BIN
static/fonts/static/EBGaramond-SemiBold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/static/EBGaramond-SemiBoldItalic.ttf
Normal file
BIN
static/fonts/static/EBGaramond-SemiBoldItalic.ttf
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
Subproject commit c627ebdfac71b69d77b00a17f97471685d19d91b
|
||||
Subproject commit f06bcb2a557cabf6071a78018304f323c71247cc
|
@ -1 +1 @@
|
||||
Subproject commit 9ebb1434f1371d76ef6c19d071b5a27762b42c85
|
||||
Subproject commit 19e0284810127d1d56e2d813a311b0bd73bba96c
|
Loading…
Reference in New Issue
Block a user