From 595ed7aedfe00891b30f94a518cc134fe90ece53 Mon Sep 17 00:00:00 2001 From: arian Date: Mon, 12 Feb 2024 21:53:46 +0100 Subject: [PATCH] redo a lot --- _src/_includes/partials/nav-list.njk | 5 +- _src/_includes/test.njk | 8 -- _src/index.md | 15 ++- _src/music-reviews/index.md | 2 +- _src/reading/index.md | 6 + _src/reading/list-of-finished-books.md | 8 ++ _src/reading/reading.json | 4 + _src/style.css | 6 +- _src/test.md | 11 -- _src/theming.md | 148 ------------------------- 10 files changed, 42 insertions(+), 171 deletions(-) delete mode 100644 _src/_includes/test.njk create mode 100644 _src/reading/index.md create mode 100644 _src/reading/list-of-finished-books.md create mode 100644 _src/reading/reading.json delete mode 100644 _src/test.md delete mode 100644 _src/theming.md diff --git a/_src/_includes/partials/nav-list.njk b/_src/_includes/partials/nav-list.njk index bcf43c3..e68a8e8 100644 --- a/_src/_includes/partials/nav-list.njk +++ b/_src/_includes/partials/nav-list.njk @@ -19,7 +19,10 @@ {% else %}
  • - {{ entry.title }} + + {{ entry.title }} +
  • {%- endif -%} {%- endmacro %} diff --git a/_src/_includes/test.njk b/_src/_includes/test.njk deleted file mode 100644 index 133bedd..0000000 --- a/_src/_includes/test.njk +++ /dev/null @@ -1,8 +0,0 @@ ---- -layout: base ---- - -{{ content | safe }} - -{% set navPages = collections.all | eleventyNavigation %} -{{ navPages | dump | safe }} \ No newline at end of file diff --git a/_src/index.md b/_src/index.md index cbe7c04..edbf5b9 100644 --- a/_src/index.md +++ b/_src/index.md @@ -5,4 +5,17 @@ title: 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. diff --git a/_src/music-reviews/index.md b/_src/music-reviews/index.md index f89c549..cbfd521 100644 --- a/_src/music-reviews/index.md +++ b/_src/music-reviews/index.md @@ -2,7 +2,7 @@ eleventyNavigation: key: Music Reviews title: Music Reviews -description: Sitemap for all Music Reviews +permalink: false --- # All Reviews diff --git a/_src/reading/index.md b/_src/reading/index.md new file mode 100644 index 0000000..99555c4 --- /dev/null +++ b/_src/reading/index.md @@ -0,0 +1,6 @@ +--- +eleventyNavigation: + key: Reading +title: Reading +permalink: false +--- \ No newline at end of file diff --git a/_src/reading/list-of-finished-books.md b/_src/reading/list-of-finished-books.md new file mode 100644 index 0000000..27e04f9 --- /dev/null +++ b/_src/reading/list-of-finished-books.md @@ -0,0 +1,8 @@ +--- +eleventyNavigation: + key: List of Finished Books + parent: Reading +title: List of Finished Books +--- + +TODO \ No newline at end of file diff --git a/_src/reading/reading.json b/_src/reading/reading.json new file mode 100644 index 0000000..ad554a9 --- /dev/null +++ b/_src/reading/reading.json @@ -0,0 +1,4 @@ +{ + "layout": "base", + "tags": "reading" +} \ No newline at end of file diff --git a/_src/style.css b/_src/style.css index 2e8301a..7263115 100644 --- a/_src/style.css +++ b/_src/style.css @@ -202,6 +202,10 @@ hr { .nav-list summary { padding-block: .375rem; 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, @@ -228,7 +232,7 @@ hr { height: 100%; background-color: #6A89FE; position: absolute; - inset-inline-start: -2rem; + inset-inline-start: -10rem; inset-block-start: 0; inset-block-end: 0; } \ No newline at end of file diff --git a/_src/test.md b/_src/test.md deleted file mode 100644 index 550800b..0000000 --- a/_src/test.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -eleventyNavigation: - key: Test -title: Test Page -description: Testpage -layout: test ---- - -# TEST - -page url = {{ page.url }} \ No newline at end of file diff --git a/_src/theming.md b/_src/theming.md deleted file mode 100644 index ace09d5..0000000 --- a/_src/theming.md +++ /dev/null @@ -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 - # (omits coloring in logfile) - echo -e "${msg}" | tee >(sed $'s/\033[[][^A-Za-z]*[A-Za-z]//g' >> ${LOGFILE}) -} -``` - -`inline code`