Compare commits

..

11 Commits

Author SHA1 Message Date
11e66000c9 Merge pull request 'Lets go back' (#11) from mvc into main
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 32s
Reviewed-on: #11
2024-12-13 22:20:38 +01:00
afd60d3d58 Merge pull request 'Trying something ...' (#10) from mvc into main
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Has been cancelled
Reviewed-on: #10
2024-12-13 22:16:16 +01:00
8b57e2af8b Merge pull request 'Trying something ...' (#9) from mvc into main
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Has been cancelled
Reviewed-on: #9
2024-12-13 22:13:25 +01:00
2029db143f Merge pull request 'Trying something ...' (#8) from mvc into main
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 8s
Reviewed-on: #8
2024-12-13 22:09:22 +01:00
93c8a066cb Merge pull request 'Renaming + CSS' (#7) from mvc into main
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 32s
Reviewed-on: #7
2024-12-13 22:01:49 +01:00
a2c6b94da1 Merge pull request 'mvc' (#6) from mvc into main
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 14s
Reviewed-on: #6
2024-12-13 21:55:54 +01:00
63372e8210 Merge pull request 'Loads and loads of data' (#5) from mvc into main
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 34s
Reviewed-on: #5
2024-12-12 23:32:37 +01:00
e2e8c8bf66 Merge pull request 'Clas based startup' (#4) from mvc into main
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 34s
Reviewed-on: #4
2024-12-12 20:07:41 +01:00
adfa478eca Merge pull request 'Lets test' (#3) from mvc into main
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Failing after 4m30s
Reviewed-on: #3
2024-12-12 20:02:38 +01:00
7f7dd5139e Merge pull request 'mvc' (#2) from mvc into main
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Has been cancelled
Reviewed-on: #2
2024-12-12 20:00:00 +01:00
ffa1ae346f Merge pull request 'mvc' (#1) from mvc into main
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Failing after 4m28s
Reviewed-on: #1
2024-12-11 23:59:51 +01:00
10 changed files with 10 additions and 18 deletions

View File

@@ -67,8 +67,7 @@ class MetadataProcessor:
self.data["favorites"].append({
"name": metadata.get("name", "Unknown"),
"image": metadata.get("image", "images/default.jpg"),
"description": metadata.get("summary", "No description provided"),
"path": os.path.relpath(root, self.input_dir).replace(os.sep, "/"),
"description": metadata.get("summary", "No description provided")
})
def generate_json(self):

View File

@@ -4,8 +4,8 @@ description: En kort sammenligning af priserne
author: Henrik Jess
date: ons 11 dec 23:25:00 CET 2024
summary: Fødevarer er markant billigere i Portugal med få undtagelser som bær og specialvarer.
favorite: true
image: images/budget2.jpg
favorite: false
image: images/pic05.jpg
category: Økonomi
tags: [Portugal, Budget, Økonomi]
---

View File

@@ -696,7 +696,7 @@
</div>
<div class="col-4 col-12-medium">
<p><small> <em>Kort: Leveomkostningerne i Portugal er lave, især på bolig og dagligvarer. Få indsigt i, hvordan du kan leve godt og billigt under sydens sol med et gennemtænkt budget.</em></small></p>
<p><small> <em>Kort: "Leveomkostningerne i Portugal er lave, især på bolig og dagligvarer. Få indsigt i, hvordan du kan leve godt og billigt under sydens sol med et gennemtænkt budget."</em></small></p>
</div>
</div>

View File

@@ -11,9 +11,9 @@
"author": "Henrik Jess"
},
{
"name": "El- og vandregninger i Portugal: Sådan påvirker de leveomkostningerne",
"name": "\"El- og vandregninger i Portugal: Sådan påvirker de leveomkostningerne\"",
"path": "Budget",
"author": "Henrik Jess"
"author": "\"Henrik Jess\""
},
{
"name": "Permanent ophold i Portugal",
@@ -86,12 +86,5 @@
"author": "Henrik Jess"
}
],
"favorites": [
{
"name": "Budget - Indkøb",
"image": "images/budget2.jpg",
"description": "Fødevarer er markant billigere i Portugal med få undtagelser som bær og specialvarer.",
"path": "Budget"
}
]
"favorites": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

View File

@@ -25,10 +25,10 @@
<div class="mini-posts">
{% for favorite in data.favorites %}
<article>
<a href="{{ favorite.path }}" class="image">
<a href="#" class="image">
<img src="{{ url_for('static', path=favorite.image) }}" alt="{{ favorite.name }}" />
</a>
<p><b>{{ favorite.path }}</b>: {{ favorite.description }}</p>
<p>{{ favorite.description }}</p>
</article>
{% endfor %}
</div>