Compare commits

..

35 Commits
v1.0.2 ... main

Author SHA1 Message Date
a32c3a32c1 change gitea icon
All checks were successful
/ deploy (push) Successful in 58s
2024-09-06 10:15:26 +02:00
bfe04ecbab change age and school year 2024-09-06 09:56:56 +02:00
be635f0b8d fix gitea url
All checks were successful
/ deploy (push) Successful in 1m14s
2024-09-05 17:10:06 +02:00
a4d8a9b95c change gitea url
All checks were successful
/ deploy (push) Successful in 46s
2024-09-05 16:55:23 +02:00
f39681119a It works! Cleanup workflow file
Some checks are pending
/ deploy (push) Waiting to run
2024-04-27 20:29:59 +02:00
f4602e85c2 dupe key
All checks were successful
/ deploy (push) Successful in 47s
2024-04-27 20:26:44 +02:00
ce1d74239a secrets vergeten 2024-04-27 20:26:02 +02:00
b8bbdcd4f6 waarom dit wel?
All checks were successful
/ deploy (push) Successful in 46s
2024-04-27 20:24:33 +02:00
71d75703d8 test
All checks were successful
/ deploy (push) Successful in 44s
2024-04-27 20:22:53 +02:00
6f05b61f55 sketchy
All checks were successful
/ deploy (push) Successful in 47s
2024-04-27 20:21:28 +02:00
7ac6436352 troubleshooting
All checks were successful
/ deploy (push) Successful in 1m27s
2024-04-27 20:18:52 +02:00
1879182fd0 attempt #238902839
All checks were successful
/ deploy (push) Successful in 47s
2024-04-27 20:14:54 +02:00
542810aeaa attempt #238902839
All checks were successful
/ deploy (push) Successful in 41s
2024-04-27 20:13:35 +02:00
5493f3f91d ik word gek
All checks were successful
/ deploy (push) Successful in 49s
2024-04-27 20:11:20 +02:00
8ccb9333d7 attempt #82983248935
All checks were successful
/ deploy (push) Successful in 47s
2024-04-27 20:09:03 +02:00
909be5661c Is it the spacing??!?!?!
All checks were successful
/ deploy (push) Successful in 42s
2024-04-27 20:07:25 +02:00
9eef32f85c attempt #932487
All checks were successful
/ deploy (push) Successful in 46s
2024-04-27 20:05:13 +02:00
02234dc71e attempt #82983248934
All checks were successful
/ deploy (push) Successful in 46s
2024-04-27 19:59:19 +02:00
726e3b8a66 another attempt
Some checks failed
/ deploy (push) Failing after 42s
2024-04-27 19:55:44 +02:00
346e05a4cd another attempt
Some checks failed
/ deploy (push) Failing after 44s
2024-04-27 19:51:25 +02:00
fc98ca8e25 runt dit wel???
All checks were successful
/ deploy (push) Successful in 40s
2024-04-27 19:44:55 +02:00
ad422cbeea attempt_2
All checks were successful
/ deploy (push) Successful in 42s
2024-04-27 19:43:44 +02:00
a52d7f459f test2
All checks were successful
/ deploy (push) Successful in 43s
2024-04-27 19:40:15 +02:00
a1027bb23c deploy test
All checks were successful
/ deploy (push) Successful in 42s
2024-04-27 19:35:42 +02:00
84c5b1a04b change ci/cd setup
All checks were successful
/ deploy (push) Successful in 54s
2024-04-27 19:28:07 +02:00
aa53794b91 fix hero image on certain pages & fix title
Some checks failed
/ deploy (push) Failing after 1m29s
2024-04-27 19:25:57 +02:00
da133ee527 add plausible analytics
All checks were successful
/ deploy (push) Successful in 47s
2024-03-02 16:00:04 +01:00
300400c196 site.Language.Params deprecation, now using site.Params directly
All checks were successful
/ deploy (push) Successful in 45s
2024-02-08 21:40:04 +01:00
45faef42db update hugo version to v0.122.0 in workflow
All checks were successful
/ deploy (push) Successful in 59s
2024-02-08 21:33:38 +01:00
fd18e61c6d add gitea shortcode, add images to skills
Some checks failed
/ deploy (push) Failing after 33s
2024-02-08 14:01:29 +01:00
840a136aab remove notes from menu
All checks were successful
/ deploy (push) Successful in 1m12s
2024-02-08 11:27:21 +01:00
2dcb1ae264 fix spelling error
All checks were successful
/ deploy (push) Successful in 36s
2024-01-07 12:58:07 +01:00
549d09934d add owncloud share link
Some checks failed
/ deploy (push) Has been cancelled
2024-01-07 12:57:19 +01:00
6e2d1f1cf5 Change roc to Windesheim
All checks were successful
/ deploy (push) Successful in 35s
2023-10-20 17:12:35 +02:00
7ca1ee7e81 Update .gitea/workflows/hugo.yaml
All checks were successful
/ deploy (push) Successful in 28s
2023-10-01 21:48:20 +00:00
40 changed files with 487 additions and 94 deletions

View File

@ -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

View File

@ -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
View File

@ -0,0 +1,9 @@
/* @font-face { */
/* font-family: font; */
/* src: url('/fonts/EBGaramond-VariableFont_wght.ttf'); */
/* } */
/**/
/* html { */
/* font-family: font; */
/* font-weight: 500; */
/* } */

View 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
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 KiB

View File

@ -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

View File

@ -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" },
]

View File

@ -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/" },

View File

@ -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]]

View File

@ -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"

View File

@ -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

View File

@ -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)

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

View File

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 158 KiB

View File

@ -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" >}}

View File

@ -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" >}}

View File

@ -2,6 +2,7 @@
title: "SQL notes"
date: 2023-06-13
draft: false
showHero: false
---
# SQL opdrachten & antwoorden

View File

@ -2,6 +2,7 @@
title: "SQL notities"
date: 2023-06-13
draft: false
showHero: false
---
# SQL opdrachten & antwoorden

View File

@ -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.

View File

@ -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
View 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>

View 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 -}}

Binary file not shown.

Binary file not shown.

93
static/fonts/OFL.txt Normal file
View 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
View 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 arent 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1 +1 @@
Subproject commit c627ebdfac71b69d77b00a17f97471685d19d91b
Subproject commit f06bcb2a557cabf6071a78018304f323c71247cc

@ -1 +1 @@
Subproject commit 9ebb1434f1371d76ef6c19d071b5a27762b42c85
Subproject commit 19e0284810127d1d56e2d813a311b0bd73bba96c