redo a lot
This commit is contained in:
parent
abfce118b2
commit
595ed7aedf
|
|
@ -19,7 +19,10 @@
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ entry.url }}"{% if entry.url == page.url %} aria-current="page" {% endif %}>{{ entry.title }}</a>
|
<a href="{{ entry.url }}"
|
||||||
|
{% if entry.url == page.url %}aria-current="page" {% endif %}>
|
||||||
|
{{ entry.title }}
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
layout: base
|
|
||||||
---
|
|
||||||
|
|
||||||
{{ content | safe }}
|
|
||||||
|
|
||||||
{% set navPages = collections.all | eleventyNavigation %}
|
|
||||||
{{ navPages | dump | safe }}
|
|
||||||
|
|
@ -5,4 +5,17 @@ title: Home
|
||||||
layout: home
|
layout: home
|
||||||
---
|
---
|
||||||
|
|
||||||
**This is a WIP and nothing is final!**
|
# Welcome to my Personal Homepage!
|
||||||
|
Feel free to have a look
|
||||||
|
|
||||||
|
# Content
|
||||||
|
I just put here whatever I feel like is appropriate. I always write reviews for albums I buy, both because it's fun and to prepare for my English Advanced certificate.
|
||||||
|
|
||||||
|
# Who am I
|
||||||
|
My name is Arian Furrer (as you can guess by the footer) and I was born in March 2005. I am currently in an apprenticeship for System Engineering, which I'll finish in August of 2024. For professional inuiries, check my [LinkedIn Profile](https://www.linkedin.com/in/arian-furrer-295a6a2b3/). **People who pay for LinkedIn Pro or however it's called will be ignored. I only talk to real humans, not entities.**
|
||||||
|
|
||||||
|
## Skills
|
||||||
|
As a system engineer, my biggest skills are related to administering Linux servers & desktop environments, Windows Server 2016 and newer, and scripting in Bash and PowerShell. Other than that I consider myself good at problem-solving, which I credit my autism for.
|
||||||
|
|
||||||
|
## Hobbies
|
||||||
|
In my free time, I maintain a number of private and public web-pages, such as this one, [my notes from the first year of the apprenticeship (DE)](https://azo-notes.arian.li), a [PlantUML Instance](https://uml.arian.li) and more. I also play video games, mainly on console, read books (see my list of finished books [here](/reading/list-of-finished-books/)), collect music (Discogs link is in the footer) and play the electric guitar.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
key: Music Reviews
|
key: Music Reviews
|
||||||
title: Music Reviews
|
title: Music Reviews
|
||||||
description: Sitemap for all Music Reviews
|
permalink: false
|
||||||
---
|
---
|
||||||
|
|
||||||
# All Reviews
|
# All Reviews
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
eleventyNavigation:
|
||||||
|
key: Reading
|
||||||
|
title: Reading
|
||||||
|
permalink: false
|
||||||
|
---
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
eleventyNavigation:
|
||||||
|
key: List of Finished Books
|
||||||
|
parent: Reading
|
||||||
|
title: List of Finished Books
|
||||||
|
---
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"layout": "base",
|
||||||
|
"tags": "reading"
|
||||||
|
}
|
||||||
|
|
@ -202,6 +202,10 @@ hr {
|
||||||
.nav-list summary {
|
.nav-list summary {
|
||||||
padding-block: .375rem;
|
padding-block: .375rem;
|
||||||
transition: color .1s ease-in-out;
|
transition: color .1s ease-in-out;
|
||||||
|
-webkit-transition: color .1s ease-in-out;
|
||||||
|
-moz-transition: color .1s ease-in-out;
|
||||||
|
-ms-transition: color .1s ease-in-out;
|
||||||
|
-o-transition: color .1s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-list a:hover,
|
.nav-list a:hover,
|
||||||
|
|
@ -228,7 +232,7 @@ hr {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #6A89FE;
|
background-color: #6A89FE;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset-inline-start: -2rem;
|
inset-inline-start: -10rem;
|
||||||
inset-block-start: 0;
|
inset-block-start: 0;
|
||||||
inset-block-end: 0;
|
inset-block-end: 0;
|
||||||
}
|
}
|
||||||
11
_src/test.md
11
_src/test.md
|
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
eleventyNavigation:
|
|
||||||
key: Test
|
|
||||||
title: Test Page
|
|
||||||
description: Testpage
|
|
||||||
layout: test
|
|
||||||
---
|
|
||||||
|
|
||||||
# TEST
|
|
||||||
|
|
||||||
page url = {{ page.url }}
|
|
||||||
148
_src/theming.md
148
_src/theming.md
|
|
@ -1,148 +0,0 @@
|
||||||
---
|
|
||||||
eleventyNavigation:
|
|
||||||
key: Theming
|
|
||||||
order: 99999999
|
|
||||||
title: Theming
|
|
||||||
layout: base
|
|
||||||
---
|
|
||||||
|
|
||||||
The backend for this site is [11ty (Eleventy)](https://11ty.dev)
|
|
||||||
|
|
||||||
The layout of this site is a basic 2 column layout, adapted from [W3Schools](https://www.w3schools.com/howto/howto_css_three_columns.asp).
|
|
||||||
|
|
||||||
The color scheme for both the site and code blocks is [Dracula](https://draculatheme.com/). Since there is only one Cyan and one Purple, I decided to make unvisited links Green, visited links Orange and Links that are being hovered on Yellow.
|
|
||||||
|
|
||||||
For fonts, I use **Fira Sans** for everything except headings, which use **Open Sans**. Both are available on [Google Fonts](https://fonts.google.com/).
|
|
||||||
|
|
||||||
The navigation I stole from [this blog](https://www.mikeaparicio.com/posts/2022-08-19-nested-navigation-in-eleventy/) and adapted it to my needs. I am working on making the current page expanded if there are subpages but it doesn't want to work.
|
|
||||||
|
|
||||||
Also, the footer not being at the bottom for short pages is annoying but I don't know how to fix it.
|
|
||||||
|
|
||||||
*****
|
|
||||||
|
|
||||||
See all elements below:
|
|
||||||
|
|
||||||
*****
|
|
||||||
|
|
||||||
**Bold Text**, *Italics text (asterisks)*, _italics text (underscores)_, ~~strikethrough text~~
|
|
||||||
|
|
||||||
*****
|
|
||||||
|
|
||||||
Unordered list
|
|
||||||
|
|
||||||
- unordered list item 1
|
|
||||||
- list item 1.1
|
|
||||||
- list item 1.2
|
|
||||||
- list item 1.3
|
|
||||||
- unordered list item 2
|
|
||||||
- unordered list item 3
|
|
||||||
- list item 3.1
|
|
||||||
- unordered list item 4
|
|
||||||
|
|
||||||
Ordered list
|
|
||||||
|
|
||||||
1. first item
|
|
||||||
2. second item
|
|
||||||
|
|
||||||
*****
|
|
||||||
|
|
||||||
Mixed list
|
|
||||||
|
|
||||||
1. First
|
|
||||||
- Bullet 1
|
|
||||||
- Bullet 2
|
|
||||||
2. Second
|
|
||||||
3. Third
|
|
||||||
- Bullet 1
|
|
||||||
- Bullet 2
|
|
||||||
- Bullet 2.1
|
|
||||||
- Bullet 2.2
|
|
||||||
4. Fourth
|
|
||||||
|
|
||||||
*****
|
|
||||||
|
|
||||||
# Heading 1
|
|
||||||
## Heading 2
|
|
||||||
### Heading 3
|
|
||||||
#### Heading 4
|
|
||||||
##### Heading 5
|
|
||||||
###### Heading 6
|
|
||||||
|
|
||||||
*****
|
|
||||||
|
|
||||||
Quotes
|
|
||||||
|
|
||||||
> quote level 1
|
|
||||||
|
|
||||||
Nested quotes
|
|
||||||
|
|
||||||
> quote level 1
|
|
||||||
> next line
|
|
||||||
>> quote level 2
|
|
||||||
>> next line
|
|
||||||
>>> quote level 3
|
|
||||||
>>> next line
|
|
||||||
>>> next next line
|
|
||||||
|
|
||||||
*****
|
|
||||||
|
|
||||||
PowerShell code
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
Connect-VIServer
|
|
||||||
$vms = Get-VM
|
|
||||||
ForEach ($vm in $vms) {
|
|
||||||
Write-Output $vm.Name
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Bash code
|
|
||||||
|
|
||||||
```bash
|
|
||||||
function log() {
|
|
||||||
|
|
||||||
# logs strings to both the terminal and a file
|
|
||||||
# usage: log { 1 | 2 | 3 } 'String'
|
|
||||||
# 1 => INFORMATION
|
|
||||||
# 2 => ERROR
|
|
||||||
# 3 => DEBUG
|
|
||||||
|
|
||||||
if [ "$LOGFILE" = "" ]; then
|
|
||||||
LOGFILE=/dev/null
|
|
||||||
fi
|
|
||||||
if [ "$NORMAL" = "" ]; then
|
|
||||||
NORMAL='\e[0m'
|
|
||||||
fi
|
|
||||||
if [ "$PURPLE" = "" ]; then
|
|
||||||
PURPLE='\e[35m'
|
|
||||||
fi
|
|
||||||
if [ "$CYAN" = "" ]; then
|
|
||||||
CYAN='\e[36m'
|
|
||||||
fi
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
1)
|
|
||||||
msg_type="INFORMATION"
|
|
||||||
;;
|
|
||||||
|
|
||||||
2)
|
|
||||||
msg_type="ERROR"
|
|
||||||
;;
|
|
||||||
|
|
||||||
3)
|
|
||||||
msg_type="DEBUG"
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo "Wrong input; exiting"
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
|
|
||||||
msg="[${PURPLE}$(date -Ins)${NORMAL}] [${CYAN}${msg_type}${NORMAL}]: $2"
|
|
||||||
# tee command from <https://unix.stackexchange.com/questions/694671/leave-color-in-stdout-but-remove-from-tee>
|
|
||||||
# (omits coloring in logfile)
|
|
||||||
echo -e "${msg}" | tee >(sed $'s/\033[[][^A-Za-z]*[A-Za-z]//g' >> ${LOGFILE})
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
`inline code`
|
|
||||||
Loading…
Reference in New Issue