Skip to content

Commit 2f71a32

Browse files
authored
Change link format (#121)
To be more compliant with default jekyll environments we change the link format form `YYYY-MM-DD-<title` to `YYYY/MM/DD/<title>`. As there are many old posts with links in the old format out in the wilde we add `jekyll-redirect-from` plugin to rewrite old links to new link style To achieve this there were some internal links to be fixed too. All old post got property `redirect_from` to handle the necessary rewrites.
1 parent f2cb5dc commit 2f71a32

32 files changed

+44
-12
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ gemspec
66

77

88
gem "webrick", "~> 1.8"
9+
gem 'jekyll-redirect-from'

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ date_format: "%B %-d, %Y"
208208
timezone: "Europe/Berlin"
209209
markdown: kramdown
210210
highlighter: rouge
211-
permalink: /:year-:month-:day-:title/
211+
permalink: /:year/:month/:day/:title/
212212
paginate: 5
213213

214214
kramdown:
@@ -249,6 +249,7 @@ include:
249249
plugins:
250250
- jekyll-paginate
251251
- jekyll-sitemap
252+
- jekyll-redirect-from
252253

253254
# Beautiful Jekyll / Dean Attali
254255
# 2fc73a3a967e97599c9763d05e564189

_posts/2020-12-20-monkey-home-is-open.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ subtitle: Codeaffen project homepage started today
55
thumbnail-img: /assets/img/codeaffen_wo_bg.png
66
author: cmeissner
77
tags: [project, homepage, welcome]
8+
redirect_from: /2020-12-20-monkey-home-is-open/
89
---
910

1011
After creating some code we started today our homepage. It comes as blog and is completly managed via github as we like most of githubs features a lot.
1112
What can you expect here. Beside blog posts to our projects and how to work on it we think we spot on other interesting topics we encouter in our daily work.
1213

13-
![codeaffen](../assets/img/codeaffen_wo_bg.png){: .mx-auto.d-block :}
14+
![codeaffen](/assets/img/codeaffen_wo_bg.png){: .mx-auto.d-block :}
1415

1516
## Contributing
1617

_posts/2020-12-22-hieradata-announcement-0.1.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ gh-repo: codeaffen/ansible-hiera-data
77
gh-badge: [star, watch, fork, follow]
88
author: cmeissner
99
last-updated: 2021-01-05
10+
redirect_from: /2020-12-22-hieradata-announcement-0.1.0/
1011
---
1112

1213
We are proud to announce the release of version 0.1.0 of our new ansible collection.

_posts/2021-01-04-phpypam-announcement-1.0.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ gh-repo: codeaffen/phpypam
77
gh-badge: [star, watch, fork, follow]
88
author: cmeissner
99
last-updated: 2021-01-05
10+
redirect_from: /2021-01-04-phpypam-announcement-1.0.1/
1011
---
1112

1213
We are proud to announce the release of version 1.0.1 of phpypam.

_posts/2021-01-05-contact-us-at-keybase.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ subtitle: Let's get in touch!
55
thumbnail-img: /assets/img/codeaffen_wo_bg.png
66
tags: [project, homepage, contact, keybase]
77
author: gmzabos
8+
redirect_from: /2021-01-05-contact-us-at-keybase/
89
---
910

1011

_posts/2021-01-07-writing-phpipam-ansible-modules.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tags: [project, phpipam, ansible, contributing]
66
author: cmeissner
77
gh-repo: codeaffen/phpipam-ansible-modules
88
gh-badge: [star, watch, fork, follow]
9+
redirect_from: /2021-01-07-writing-phpipam-ansible-modules/
910
---
1011

1112
We started to develop our [phpipam-ansible-modules](https://github.com/codeaffen/phpipam-ansible-modules) to manage phpIPAM installation from within Ansible.
@@ -32,7 +33,7 @@ You should also look into phpIPAM's WebUI as the API documentation does not say
3233

3334
For most controllers `name` is a mandatory parameter, in our case `number` is also required.
3435

35-
![new vlan dialog](../assets/img/phpipam_new_vlan_dialog.jpg)
36+
![new vlan dialog](/assets/img/phpipam_new_vlan_dialog.jpg)
3637

3738
In the `Add VLAN` dialog is also defined that `default` is the default L2 Domain.
3839

_posts/2021-01-25-virtual-envs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Using virtual environments for development
44
subtitle: Isolate your sandbox
55
tags: [development, python, ruby, node.js]
66
author: cmeissner
7+
redirect_from: /2021-01-25-virtual-envs/
78
---
89

910
If you develop on different projects in different languages it can happen that different versions of the respective scriptin languges are used.

_posts/2021-02-02-hbase-coprocessors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: How to remove coprocessor table attributes
44
subtitle: Coprocessors in HBase
55
tags: [apache, hadoop, hbase, phoenix, coprocessor]
66
author: gmzabos
7+
redirect_from: /2021-02-02-hbase-coprocessors/
78
---
89

910
{: .box-warning}

_posts/2021-03-02-self-hosted-bitwarden.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Bitwarden on premise
44
subtitle: Operate your own bitwarden infrastructure
55
tags: [bitwarden, password managers, docker, container]
66
author: cmeissner
7+
redirect_from: /2021-03-02-self-hosted-bitwarden/
78
---
89

910
## Why bitwarden?
@@ -58,7 +59,7 @@ We try our test installation with the chrome extension. For that we created a fr
5859

5960
You need to open the settings dialog gear symbol on the upper left corner and write the url to your installation in the server field. All other field can be left blank but you can also put your url in there. Finally you need to click the save button in the upper right corner.
6061

61-
![Bitwarden extension settings](../../assets/img/bitwarden_ext_settings.png)
62+
![Bitwarden extension settings](/assets/img/bitwarden_ext_settings.png)
6263

6364
Now you can create a new account on your server and start to use is like you would use bitwarden cloud.
6465

0 commit comments

Comments
 (0)