Skip to content

Commit

Permalink
switch over to nextgen
Browse files Browse the repository at this point in the history
  • Loading branch information
winks committed May 23, 2022
1 parent 713f8c5 commit 1603bc8
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 38 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ public/
tmp/
themes/
lastrun*.txt
blueprints/
31 changes: 11 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,42 +1,33 @@
HUGO?='hugo'
SSG?='nextgen'
SASS?='sass'
CSSMIN?="$${HOME}/bin/cssmin"


all: regen fixstuff rsync
all: regen rsync

beta: regen fixstuff rsync-beta
beta: regen rsync-beta

clean:
rm -rf public/*
rm -rf public/.*

css:
${SASS} themes/f5norg/sass/v3.sass themes/f5norg/v3.orig.css
cat themes/f5norg/v3.orig.css | ${CSSMIN} > themes/f5norg/static/media/css/v3.css
rm themes/f5norg/v3.orig.css themes/f5norg/v3.orig.css.map
blueprints/f5n.org/static/media/css/v3.min.css: blueprints/f5n.org/sass/v3.sass
${SASS} blueprints/f5n.org/sass/v3.sass blueprints/f5n.org/static/media/css/v3.orig.css
cat blueprints/f5n.org/static/media/css/v3.orig.css | ${CSSMIN} > blueprints/f5n.org/static/media/css/v3.min.css
#rm themes/f5norg/v3.orig.css themes/f5norg/v3.orig.css.map

generate:
${HUGO}
cp public/blog/index.xml public/blog/atom.xml
cp public/stack/index.xml public/stack/atom.xml

fixstuff:
bash ./scripts/hook_final.sh
css: blueprints/f5n.org/static/media/css/v3.min.css

regen: css generate fixstuff
generate:
${SSG}

reserve2: regen
${HUGO} server -D
regen: css generate

reserve: regen serve

serve:
cd public && python3 -m http.server 8081

watch: regen
${HUGO} server -D -b f5n.org --watch

rsync:
rsync -av --delete --exclude=media/misc public/ deploy_f5n:www/f5n.org/public

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ These are the sources for [f5n.org](http://f5n.org).

## Tools used

* [hugo](http://gohugo.io) 0.59.1
* [sass](http://sass-lang.com) (Dart Sass 1.30.0)
* [nextgen](https://github.com/winks/nextgen)
* [sass](https://sass-lang.com) (Dart Sass 1.30.0)
* cssmin (currently [this one](https://github.com/winks/cssmin-go))

## Howto

```
git clone https://github.com/winks/hugo-f5norg/ themes/f5norg
git clone https://github.com/winks/nextgen-blueprints blueprints
nextgen
```
5 changes: 5 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
draft = false
title = "f5n"
date = 2011-06-18T23:23:23Z
+++
4 changes: 0 additions & 4 deletions content/blog/2015/popular-movies-i-might-have-seen.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ TLDR: I don't watch many mainstream movies. For the definition of mainstream tha

*Key*: **Seen it**, Haven’t seen it

{{< rawhtml >}}
<div class="red-green">
{{< /rawhtml >}}

### 2000

Expand Down Expand Up @@ -305,8 +303,6 @@ TLDR: I don't watch many mainstream movies. For the definition of mainstream tha
- Dawn of the Planet of the Apes
- Interstellar

{{< rawhtml >}}
</div>
{{< /rawhtml >}}

For the record: He has watched 33, I have 65 out of 234 (if I counted correctly). I find my numbers quite interesting, although misleading. If I subtract the 12 Marvel movies, 8 Harry Potter movies and 5 Tolkien movies, there goes a good third.
18 changes: 9 additions & 9 deletions content/blog/2016/travel-costa-rica.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,53 +17,53 @@ Watched [Skyfall](http://www.imdb.com/title/tt1074638/) and [Pan](http://www.imd

Had dinner at [Cafe Mundo](http://www.tripadvisor.com/Restaurant_Review-g309293-d780146-Reviews-Cafe_Mundo-San_Jose_San_Jose_Metro_Province_of_San_Jose.html) - food was very good but the first in a long streak of venues without prices for drinks on the menu.

{{< figure src="/media/blog/travel/cr_0209.jpg" title="view from the plane" >}}
{{ macros::figure( src="/media/blog/travel/cr_0209.jpg", title="view from the plane" ) }}

### 10.02.2016

Early start with breakfast at 7:00. But it was pretty good - learned about [Gallo pinto](https://en.wikipedia.org/wiki/Gallo_pinto). We were picked up at 7:40 and were to go to [Irazú Volcano](https://en.wikipedia.org/wiki/Iraz%C3%BA_Volcano) and met some nice people on the tour. Sadly the weather was not good (read: horrible) and we saw a wall of fog instead of the crater. Plus it was roughly 6°C and raining - lovely. But at least the landscape and the rest of the trip was good - visited Cartago and the [Basílica de Nuestra Señora de los Ángeles](https://en.wikipedia.org/wiki/Basilica_of_Our_Lady_of_the_Angels,_Cartago). Then a little scare because all the first 50 photos from the first SD card seemed to be gone (but could be recovered later). Then the [Jardín Botánico Lankester](http://www.tripadvisor.com/Attraction_Review-g309231-d2513607-Reviews-Jardin_Botanico_Lankester-Cartago_Province_of_Cartago.html) [I'm going to regret trying to reproduce all á and í correctly very soon I guess].
We were left behind at the lunch restaurant (in the [Orosí Valley](https://en.wikipedia.org/wiki/Oros%C3%AD) I think), to be picked up for the next part of the journey. That's about when it started to rain most of the time. After a bit of driving we arrived at [Hotel Villa Florencia](http://www.villaflorencia.com/) in Turrialba, which was pretty awesome with a terrace with a sofa on it right into the forest, sadly a bit remote so only a bit of walking before heading to the hotel bar for a snack and a beer or two.

{{< figure src="/media/blog/travel/cr_0210.jpg" title="no crater" >}}
{{ macros::figure( src="/media/blog/travel/cr_0210.jpg", title="no crater" ) }}

### 11.02.2016

Got up at 5 (wait, wasn't this supposed to be some kind of vacation?), very quick breakfast at 6:15 (because nobody had told us we'd be going to a place where we would have breakfast, so we asked to have something before the official start time...) only to discover that because of the rain and the condition of the roads our transport would be late 30mins. Oh well, gave the poor cook/bartender we had stressed for nothing some extra tip and hoped she wouldn't hate us too much. Were dropped of at [El Ceibo](http://www.tripadvisor.com/Restaurant_Review-g309261-d2460975-Reviews-El_Ceibo-Province_of_Limon.html) in Guápiles to be transferred to another bus at 8:30 - there was the breakfast nobody had mentioned. Met two nice British couples and waited for the other people to arrive. And waited. And waited. Again it seemed to be the roads (a real landslide that blocked one or more roads, actually) and at 11:30 we were on our way. Saw a sloth (actually, a wet ball of fur in a tree - but I swear it was a sloth. And didn't move). Arrived at [Tortuguero](http://www.tortugueroinfo.com/) and went to [Evergreen Lodge](http://www.tortugueroinfo.com/tortuguero/evergreen_tortuguero/evergreen_us.htm) by boat. Went on a trip to the village, saw a lot of animals, were soaked by the rain and had a quick glance at the Caribbean Sea.

{{< figure src="/media/blog/travel/cr_0211.jpg" title="Tortuguero" >}}
{{ macros::figure( src="/media/blog/travel/cr_0211.jpg", title="Tortuguero" ) }}

### 12.02.2016

Alarm at 4:45 (hey, what was that with the vacation?) and got some coffee (yay). The boat trip should start at 5:45 but apparently everyone was late - the French tourists, the French guide, our guide... Then I noticed I had forgotten our tickets in the room and did a not very smart sprint across wet tiles and back, but was quick enough and didn't slip. Then we again waited at the national park's ticket counter until 6:30, but at least it stopped raining and the trip was pretty good. Just no alligators to be seen. :( Breakfast at 8:30, then we should've been picked up by the boat at 9:30... which turned into 11:55 and another meal at El Ceibo at 15:00, where a lot of drivers were already waiting for their passengers, so hooray for 10 minute lunch. Again 2h of driving and we arrived at [Hacienda Pozo Azul](http://www.pozoazul.com/). Had a quiet evening with a short hike and a beer afterwards. The "hotel" was a bit weird as in that you sleep in a [tent](http://www.pozoazul.com/cuculmeca.html) - but it's a big army tent with a real bed inside and a little brickwork bathroom extension. Not too bad, but I prefer real camping or a real hotel room. Maybe this is for people who never have been living in a real tent for a week?
{{< figure src="/media/blog/travel/cr_0212.jpg" title="some kind of iguana" >}}
{{ macros::figure( src="/media/blog/travel/cr_0212.jpg", title="some kind of iguana" ) }}



### 13.02.2016

Alarm at 7:15 - awesome. Breakfast in an open space room and swamped by flies and other insects, ah well, at least also a lot of hummingbirds and butterflies in sight. Then when you think you have already adjusted that everything is always a few minutes late here you want to be there exactly on time and not earlier... then someone's waiting for you, if only a few minutes. Anyway, I'm on a horse! And it was surprisingly fun after all those years (must have been around 20 years if I'm not mistaken) - just that they had trained them to accelerate only on some kind of smooching churping sound I didn't seem to be able to create and no leg queues at all and so my horse was the only one that only ever followed the others and never sped up on my command. At least decelerating worked. Back to the hotel, packing up things (wait, is this really the fifth hotel in five days already?) and waiting for the transfer - which is late, again. At least the reception could call them and ask, so the nagging "will they arrive at all?" was settled. That trip was a bit longer again then and it was nearly dark when we arrived at [Lavas Tacotal](http://tacotal.com/en/) - which is not in La Fortuna at all, despite their claims. At least for me 12km to a smallish town is not "in" - but at least there's a great steak house across the road. Actually that's all there is.

{{< figure src="/media/blog/travel/cr_0213.jpg" title="Look at my horse, my horse is amazing." >}}
{{ macros::figure( src="/media/blog/travel/cr_0213.jpg", title="Look at my horse, my horse is amazing." ) }}

### 14.02.2016

Hotel staff gave highly conflicting answers how much a taxi would cost and as it was Sunday morning and we didn't even know if shops in La Fortuna were open or the interesting sounding thing in the other direction was open... we spent the morning watching birds near the hotel, was also nice. At around lunch time we were picked up for a tour to [Arenal Volcano](https://en.wikipedia.org/wiki/Arenal_Volcano) and gladly the weather was better. Again we were lucky with a pretty nice small group of people for that. After that we were driven to some hot springs (all we knew, not which ones) - turned out to be [EcoTermales](http://ecotermalesfortuna.cr/), which are apparently the famous ones. Nice misunderstanding when being picked up again: "Where did you go now?" - "EcoTermales" - "Oh, wow, we tried to book that but it was already fully booked. When did you organize that trip?" - "Hm, back in November." - "WTF?" - "And they told us we were pretty late already, with travelling to Costa Rica from Germany (and not the US)" - "W T F?" - "Oh wait, you meant the hot springs? Were part of the trip package, so yes, still November, but accidentally" - "...".

{{< figure src="/media/blog/travel/cr_0214.jpg" title="Arenal Volcano" >}}
{{ macros::figure( src="/media/blog/travel/cr_0214.jpg", title="Arenal Volcano" ) }}

### 15.02.2016

Transfer to San Jose to Hotel Don Carlos again. Let the sightseeing begin. First a coffee at [Cafe Miel](http://www.tripadvisor.com/Restaurant_Review-g309293-d7215964-Reviews-Cafe_Miel_Costa_Rica-San_Jose_San_Jose_Metro_Province_of_San_Jose.html), then to the Casa Amarilla, Parque España, Jardín de Paz and Parque Morazán. Railway station, Edificio Metalico, Plaza de la Libertad Electoral, Parque Nacional, Teatro Nacional, Teatro Melico Salazar and Catedral Metropolitana, then off to the Mercado Central. Had a very good [Guaro](https://en.wikipedia.org/wiki/Guaro_%28drink%29) Sour at the hotel bar.

{{< figure src="/media/blog/travel/cr_0215.jpg" title="Teatro Nacional, San José" >}}
{{ macros::figure( src="/media/blog/travel/cr_0215.jpg", title="Teatro Nacional, San José" ) }}

### 16.02.2016 - 17.02.2016

Spent 2 or so hours [watching butterflies at Spirogyra Butterfly Garden](http://www.butterflygardencr.com/), then more sightseeing, drinking coffee and aimlessly walking through town. As we'd never been to the US and were quite curious we stopped by at the Taco Bell in Calle 5 for a light lunch one day. Wasn't bad, but nothing special, as expected. I don't remember on which day, but we went to [La Criollita](http://www.tripadvisor.com/Restaurant_Review-g309293-d2539975-Reviews-La_Criollita-San_Jose_San_Jose_Metro_Province_of_San_Jose.html) for dinner twice because it was very good, moderately priced and close to the Hotel. Whereas the oddly (for Non-Germans) named [Stiefel Pub](http://www.tripadvisor.com/Restaurant_Review-g309293-d3806854-Reviews-Stiefel_Pub-San_Jose_San_Jose_Metro_Province_of_San_Jose.html) was pretty awesome, as they had some local microbrews on tap according to our guide book - and they didn't disappoint. They have a small wooden board with 4 smallish tasting glasses, so we got to taste 8 different beers for ~20 EUR. I forgot to take a photo and my Spanish is not good enough, but they had a picture of [Das Boot](http://www.thinkgeek.com/product/e9d8/) and apparently there would have been some beer for sale in it, it kinda fits their name. We also visited the Mercado La Coca Cola (in the district of the same interesting name), which was definitely different than the Mercado Central - a lot less souvenir shops, a lot more "real" shops like small hardware stores, electrical stuff (as in cables and parts) and so on.

{{< figure src="/media/blog/travel/cr_0216.jpg" title="definitely a butterfly" >}}
{{ macros::figure( src="/media/blog/travel/cr_0216.jpg", title="definitely a butterfly" ) }}

{{< figure src="/media/blog/travel/cr_0217.jpg" title="a busy street corner in Coca Cola (San José district)" >}}
{{ macros::figure( src="/media/blog/travel/cr_0217.jpg", title="a busy street corner in Coca Cola (San José district)" ) }}

### 18.02.2016

Expand Down
2 changes: 1 addition & 1 deletion content/blog/2022/self-hosting.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
draft = false
title = "Self Hosting"
title = "Self-Hosting"
date = 2022-05-05T11:37:38Z
+++

Expand Down
6 changes: 6 additions & 0 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
draft = false
title = "Blog posts"
date = 2011-06-18T23:23:23Z
rsslink = "/blog/atom.xml"
+++
6 changes: 6 additions & 0 deletions content/stack/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
draft = false
title = "Stack posts"
date = 2011-06-18T23:23:23Z
rsslink = "/stack/atom.xml"
+++
7 changes: 7 additions & 0 deletions nextgen.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
baseurl = "https://f5n.org"
title = "f5n"
rsslink = "/atom.xml"
blueprint = "blueprints/f5n.org"

[author]
name = "Florian Anderiasch"

0 comments on commit 1603bc8

Please sign in to comment.