Add link to source code

This commit is contained in:
Yan Lin 2025-05-13 11:50:15 +02:00
parent ed9566d057
commit 6ceea612a2
7 changed files with 22 additions and 2 deletions

View file

@ -61,6 +61,8 @@
<div class="container"> <div class="container">
<p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;"> <p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;">
Copyright © 2025. Designed and implemented by Yan Lin. Copyright © 2025. Designed and implemented by Yan Lin.
<span class="mx-1">|</span>
<a class="link-secondary" target="_blank" href="https://git.yanlincs.com/yanlin/Homepage">Source Code</a>
</p> </p>
</div> </div>
</footer> </footer>

2
dist/index.html vendored
View file

@ -709,6 +709,8 @@
<div class="container"> <div class="container">
<p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;"> <p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;">
Copyright © 2025. Designed and implemented by Yan Lin. Copyright © 2025. Designed and implemented by Yan Lin.
<span class="mx-1">|</span>
<a class="link-secondary" target="_blank" href="https://git.yanlincs.com/yanlin/Homepage">Source Code</a>
</p> </p>
</div> </div>
</footer> </footer>

View file

@ -123,6 +123,8 @@
<div class="container"> <div class="container">
<p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;"> <p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;">
Copyright © 2025. Designed and implemented by Yan Lin. Copyright © 2025. Designed and implemented by Yan Lin.
<span class="mx-1">|</span>
<a class="link-secondary" target="_blank" href="https://git.yanlincs.com/yanlin/Homepage">Source Code</a>
</p> </p>
</div> </div>
</footer> </footer>

View file

@ -171,6 +171,8 @@
<div class="container"> <div class="container">
<p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;"> <p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;">
Copyright © 2025. Designed and implemented by Yan Lin. Copyright © 2025. Designed and implemented by Yan Lin.
<span class="mx-1">|</span>
<a class="link-secondary" target="_blank" href="https://git.yanlincs.com/yanlin/Homepage">Source Code</a>
</p> </p>
</div> </div>
</footer> </footer>

View file

@ -457,6 +457,8 @@
<div class="container"> <div class="container">
<p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;"> <p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;">
Copyright © 2025. Designed and implemented by Yan Lin. Copyright © 2025. Designed and implemented by Yan Lin.
<span class="mx-1">|</span>
<a class="link-secondary" target="_blank" href="https://git.yanlincs.com/yanlin/Homepage">Source Code</a>
</p> </p>
</div> </div>
</footer> </footer>

12
sync.sh
View file

@ -1,4 +1,12 @@
#!/bin/bash
REMOTE_HOST=hetzner
python parser/md.py python parser/md.py
python generate.py python generate.py
rsync -avP --delete ./dist/ hetzner:~/homepage/dist rsync -avP --delete ./dist/ ${REMOTE_HOST}:/root/homepage/dist
rsync -avP ./docker-compose.yml hetzner:~/homepage/ rsync -avP ./docker-compose.yml ${REMOTE_HOST}:/root/homepage/
if [ "$1" = "--restart" ]; then
ssh ${REMOTE_HOST} "cd /root/homepage && docker-compose down && docker-compose up -d"
fi

View file

@ -50,6 +50,8 @@
<div class="container"> <div class="container">
<p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;"> <p class="text-center text-secondary" style="font-size: 0.8rem; font-family: 'Lato', sans-serif;">
Copyright © 2025. Designed and implemented by Yan Lin. Copyright © 2025. Designed and implemented by Yan Lin.
<span class="mx-1">|</span>
<a class="link-secondary" target="_blank" href="https://git.yanlincs.com/yanlin/Homepage">Source Code</a>
</p> </p>
</div> </div>
</footer> </footer>