updated?
This commit is contained in:
parent
37da020523
commit
178586c47a
12 changed files with 36 additions and 50 deletions
|
@ -1,7 +1,6 @@
|
|||
+++
|
||||
title = "3D Modeling and CAD"
|
||||
date = 2018-07-05
|
||||
updated = 2025-05-02
|
||||
authors = ["Aron Petau"]
|
||||
description = "Modelling and Scanning in 3D using Fusion360, Sketchfab, and Photogrammetry"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Ballpark"
|
||||
title = "Ballpark"updated = "2025-05-05"
|
||||
date = 2022-03-01
|
||||
authors = ["Aron Petau"]
|
||||
description = "A 3D Game Concept in Unity"
|
||||
|
@ -25,7 +25,7 @@ banner = "/images/ballpark_menu.png"
|
|||
show_copyright = true
|
||||
show_shares = true
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
## Ballpark: 3D Environments in Unity
|
||||
|
||||
Implemented in Unity, Ballpark is a Concept work for a collaborative 2-Player Game, where one player is a navigator with a third-person perspective and another player is a copilot, responsible for interaction with the environment – featuring mostly working physics, intelligent enemies, a gun, a grappling hook system for traversing the map, a 2D Interface for navigation and a health bar system. On top of the meanest cyberpunk vibes my past self was able to conjure.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Critical Epistemology"
|
||||
title = "Critical Epistemology"updated = "2025-05-05"
|
||||
date = 2020-07-14
|
||||
authors = ["Aron Petau"]
|
||||
description = "Forum entries from the Seminar: Critical Epistemologies"
|
||||
|
@ -11,7 +11,7 @@ tags = ["alison jaggar", "elizabeth anderson", "epistemology", "ethics", "femini
|
|||
show_copyright = true
|
||||
show_shares = true
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
## Forum entries from the Seminar: Critical Epistemologies
|
||||
|
||||
### On Anderson: Institutions
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Philosophy"
|
||||
title = "Philosophy"updated = "2025-05-05"
|
||||
date = 2021-03-01
|
||||
authors = ["Aron Petau"]
|
||||
description = "A selection of my weekly commentaries from philosophical seminars at the University of Osnabrück"
|
||||
|
@ -11,7 +11,7 @@ tags = ["alison jaggar", "elizabeth anderson", "elsa dorlin", "epistemology", "e
|
|||
show_copyright = true
|
||||
show_shares = true
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
## Critical considerations during my studies
|
||||
|
||||
I have attended a fair share of philosophical seminars in my studies and consider it a core topic connected both to science and to digital environments.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Political Violence"
|
||||
title = "Political Violence"updated = "2025-05-05"
|
||||
date = 2021-03-01
|
||||
authors = ["Aron Petau"]
|
||||
description = "Forum entries from the Seminar: Is political violence justifiable? Reading Judith Butler and Elsa Dorlin"
|
||||
|
@ -12,7 +12,7 @@ tags = ["alison jaggar", "elizabeth anderson", "elsa dorlin", "epistemology", "e
|
|||
show_copyright = true
|
||||
show_shares = true
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
|
||||
## Forum entries from the Seminar: Is political violence justifiable? Reading Judith Butler and Elsa Dorlin
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Critical Philosophy of Subjectivity"
|
||||
title = "Critical Philosophy of Subjectivity"updated = "2025-05-05"
|
||||
date = 2021-03-01
|
||||
authors = ["Aron Petau"]
|
||||
description = "Forum entries from the Seminar: Critical Philosophy of Subjectivity 1: Michel Foucault"
|
||||
|
@ -11,7 +11,7 @@ tags = ["alison jaggar", "elizabeth anderson", "elsa dorlin", "epistemology", "e
|
|||
show_copyright = true
|
||||
show_shares = true
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
## Forum entries from the Seminar: Critical Philosophy of Subjectivity 1: Michel Foucault
|
||||
|
||||
### On Butler: Constituting norms =/= carrying normative responsibilities for their existence
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Master's Thesis"
|
||||
title = "Master's Thesis"updated = "2025-05-05"
|
||||
date = 2025-04-24
|
||||
authors = ["Aron Petau"]
|
||||
description = "Human - Waste: A thesis examining interactive workshops"
|
||||
|
@ -34,7 +34,7 @@ banner = "/images/masterthesis/puzzle.jpeg"
|
|||
show_copyright = true
|
||||
show_shares = true
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
## Master's Thesis: Human - Waste
|
||||
|
||||
Plastics offer significant material benefits, such as durability and versatility, yet their
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "3D printing"
|
||||
title = "3D printing"updated = "2025-05-05"
|
||||
date = 2018-05-03
|
||||
authors = ["Aron Petau"]
|
||||
description = "My 3D Printing journey and the societal implications of the technology"
|
||||
|
@ -31,7 +31,7 @@ show_shares = true
|
|||
|
||||
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
galleries = {
|
||||
gallery = [
|
||||
{ file = "cloning_station.jpg", title = "A plant propagation station now preparing our tomatoes for summer" },
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
+++
|
||||
title = "About"
|
||||
title = "About"updated = "2025-05-05"
|
||||
description = "Welcome, let me introduce myself"
|
||||
authors = ["Aron Petau"]
|
||||
date = 2023-07-26
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
## Introduction
|
||||
|
||||
I am Aron (pronouns: he/him), a 2022 graduate of the bachelor's program of Cognitive Science in Osnabrück.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
+++
|
||||
title = "Contact"
|
||||
title = "Contact"updated = "2025-05-05"
|
||||
description = "Reach me"
|
||||
authors = ["Aron Petau"]
|
||||
date= 2025-05-01
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
For starters, mails are gold and probably still the best way to reach me.
|
||||
[contact me](/mailto:aron@petau.net/)
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
+++
|
||||
title = "Terms and Privacy Statement"
|
||||
title = "Terms and Privacy Statement"updated = "2025-05-05"
|
||||
date = 2025-05-01
|
||||
authors = ["Aron Petau"]
|
||||
+++
|
||||
|
||||
updated = "2025-05-05"
|
||||
My website address is: <https://aron.petau.net> .
|
||||
|
||||
## Location
|
||||
|
|
|
@ -1,41 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Directory to search for markdown files (content folder)
|
||||
search_dir="../content"
|
||||
# Current date for the 'updated' field
|
||||
current_date=$(date +%F)
|
||||
|
||||
# Function to check and update frontmatter with the latest date
|
||||
update_frontmatter() {
|
||||
local file="$1"
|
||||
|
||||
# Check if the file contains frontmatter with +++ delimiters
|
||||
if grep -qE '^\+\+\+' "$file"; then
|
||||
# Extract frontmatter from the file (between +++ markers)
|
||||
frontmatter=$(sed -n '/^\+\+\+/,/^\+\+\+/p' "$file")
|
||||
|
||||
# Check if there's a 'date' field in the frontmatter
|
||||
if echo "$frontmatter" | grep -qE 'date\s*='; then
|
||||
# Check if there's already an 'updated' field in the frontmatter
|
||||
if echo "$frontmatter" | grep -qE 'updated\s*='; then
|
||||
# Recursive search for all markdown files in the content folder
|
||||
find ../content -type f -name "*.md" | while read file; do
|
||||
# Check if the file has frontmatter enclosed in +++
|
||||
if [ "$(head -n 1 "$file")" = "+++" ]; then
|
||||
# Check if the 'date' field exists in the frontmatter
|
||||
if grep -q '^date\s*=' "$file"; then
|
||||
# Check if the 'updated' field is already present
|
||||
if grep -q '^updated\s*=' "$file"; then
|
||||
echo "✘ Skipped: 'updated' field already present in $file"
|
||||
return
|
||||
else
|
||||
# Insert updated field directly after the date line without quotes
|
||||
sed -i "" "/^date\s*=.*/a\\
|
||||
updated = ${current_date}
|
||||
" "$file"
|
||||
echo "✔ Inserted 'updated' after date in $file"
|
||||
fi
|
||||
|
||||
# Get the current modification time of the file (formatted as YYYY-MM-DD)
|
||||
last_modified=$(date -r "$file" "+%Y-%m-%d")
|
||||
|
||||
# Update the frontmatter by adding the updated date below the 'date = ' line
|
||||
sed -i "/^\+\+\+/ {n;s/$/\nupdated = $last_modified/}" "$file"
|
||||
|
||||
echo "✔ Updated frontmatter in $file"
|
||||
else
|
||||
echo "✘ No date field found in the frontmatter of $file"
|
||||
fi
|
||||
else
|
||||
echo "✘ No frontmatter found in $file"
|
||||
fi
|
||||
}
|
||||
|
||||
# Recursively find all markdown files in the content folder and apply the update
|
||||
find "$search_dir" -type f -name "*.md" | while read file; do
|
||||
update_frontmatter "$file"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue