get rid of /articles redirect

This commit is contained in:
Wouter Groeneveld 2021-07-01 11:40:21 +02:00
parent 7e3e913e94
commit 338ca1c8f5
30 changed files with 118 additions and 130 deletions

View File

@ -28,11 +28,6 @@ summaryLength = 20
copyright = "<a href='/no-copyright'>No &copy; reserved - sharing is caring</a>. <br/>An integral part of <a href='https://brainbaking.com/' rel='noopener' target='_blank'>Brain Baking</a>." copyright = "<a href='/no-copyright'>No &copy; reserved - sharing is caring</a>. <br/>An integral part of <a href='https://brainbaking.com/' rel='noopener' target='_blank'>Brain Baking</a>."
# Nav links in the side bar # Nav links in the side bar
[[params.navlinks]]
name = "Browse All Articles"
url = "articles/"
home = true
[[params.navlinks]] [[params.navlinks]]
name = "Appendix" name = "Appendix"
url = "tags/" url = "tags/"
@ -41,12 +36,6 @@ summaryLength = 20
name = "About the Codex" name = "About the Codex"
url = "about/" url = "about/"
[privacy] [[params.navlinks]]
[privacy.googleAnalytics] name = "RSS Feed"
anonymizeIP = true url = "/index.xml"
disable = false
respectDoNotTrack = false
useSessionStorage = false
[privacy.youtube]
disable = false
privacyEnhanced = true

25
content/_index.md Normal file
View File

@ -0,0 +1,25 @@
---
title: 'Retro Gaming'
ignore: true
description: 'Nostalgic retro games. Nintendo handheld gaming love mixed with nineties DOS games and old school PC RPGs.'
keywords:
- dos games
- old school pc RPGs
- retro pc games
- retro gba games
- gba RPGs
- retro nintendo ds games
- game retrospectives
---
**Codex | Articles | Guides | Reviews.**
<hr/>
You're looking at <a class="h-card" rel="me" href="https://jefklakscodex.com/">Jefklak</a>'s Retro Game Codex, a dedicated and highly opinionated website about nostalgic games. A lovely mix between Nintendo handheld gaming love, '90s DOS games and old school PC RPGs that were an integral part of [my youth](/about). <br/>
That healthy cocktail left a lasting impression - and netted me the Codex (and glasses). A lot of articles have been carefully restored from the black depths of the Jefklak Archive for your entertainment. As [Deckard Cain](https://www.youtube.com/watch?v=tAVVy_x3Erg) would have said it:
> Stay Awhile and Listen!
**Looking for something specific?** [Browse the Appendix](/tags).

View File

@ -1,24 +1,5 @@
--- ---
title: 'Retro Gaming' title: 'Articles'
description: 'Nostalgic retro games. Nintendo handheld gaming love mixed with nineties DOS games and old school PC RPGs.' ignore: true
keywords:
- dos games
- old school pc RPGs
- retro pc games
- retro gba games
- gba RPGs
- retro nintendo ds games
- game retrospectives
--- ---
**Codex | Articles | Guides | Reviews.**
<hr/>
You're looking at <a class="h-card" rel="me" href="https://jefklakscodex.com/articles/">Jefklak</a>'s Retro Game Codex, a dedicated and highly opinionated website about nostalgic games. A lovely mix between Nintendo handheld gaming love, '90s DOS games and old school PC RPGs that were an integral part of [my youth](/about). <br/>
That healthy cocktail left a lasting impression - and netted me the Codex (and glasses). A lot of articles have been carefully restored from the black depths of the Jefklak Archive for your entertainment. As [Deckard Cain](https://www.youtube.com/watch?v=tAVVy_x3Erg) would have said it:
> Stay Awhile and Listen!
**Looking for something specific?** [Browse the Appendix](/tags).

View File

@ -0,0 +1,5 @@
---
title: Features
ignore: true
---

View File

@ -1,5 +1,4 @@
+++ +++
imageActive = "gif/acgc.gif"
aliases = ['/articles/animalcrossing-features'] aliases = ['/articles/animalcrossing-features']
image = "gif/acgc_still.gif" image = "gif/acgc_still.gif"
date = "2020-05-24" date = "2020-05-24"
@ -28,7 +27,9 @@ Jeff is still playing the original Gamecube version of Animal Crossing - anno 20
- 12. **Cherry blossom festival** - Yes! It just passed in April. - 12. **Cherry blossom festival** - Yes! It just passed in April.
- 24. **Catching Wisp's spirits**. He's grateful and gives an item in exchange, but I can't remember which one it was... I might have sold it. Whoops. - 24. **Catching Wisp's spirits**. He's grateful and gives an item in exchange, but I can't remember which one it was... I might have sold it. Whoops.
[![golden statue](/img/games/ac/ac-statue.jpg)](https://www.jvgs.net/acblog/2018/05/25/31-features/#comment-7281) ![golden statue](/img/games/ac/ac-statue.jpg)
(Via [jvgs.net](https://www.jvgs.net/acblog/2018/05/25/31-features/#comment-7281))
Too bad no statue will be built in New Horizons... Too bad no statue will be built in New Horizons...

View File

@ -1,5 +1,4 @@
--- ---
imageActive: "gif/acnh.gif"
image: "gif/acnh_still.gif" image: "gif/acnh_still.gif"
date: "2020-12-27" date: "2020-12-27"
title: "Animal Crossing: New Horizons Adventure Blog" title: "Animal Crossing: New Horizons Adventure Blog"

View File

@ -1,5 +1,4 @@
+++ +++
imageActive = "gif/acww.gif"
image = "gif/acww_still.gif" image = "gif/acww_still.gif"
date = "2006-10-01" date = "2006-10-01"
aliases = ['/articles/animalcrossing-wirldworld'] aliases = ['/articles/animalcrossing-wirldworld']

View File

@ -3,7 +3,7 @@ image = "/img/games/gbarpg.jpeg"
date = "2006-11-15" date = "2006-11-15"
title = "Impressive GBA RPGs" title = "Impressive GBA RPGs"
aliases = ['/articles/gba-rpgs'] aliases = ['/articles/gba-rpgs']
tags = ['rpg concepts', 'Final Fantasy', 'Yggdra Union', 'Fire Emblem', 'Golden Sun', 'Tatics Ogre', 'Final Fantasy Tactics', 'Riviera', 'feature'] tags = ['rpg concepts', 'Final Fantasy', 'Yggdra Union', 'Fire Emblem', 'Golden Sun', 'Tactics Ogre', 'Final Fantasy Tactics', 'Riviera', 'feature']
+++ +++
![impressive GBA RPGs](/img/articles/GBARPGs.jpg) ![impressive GBA RPGs](/img/articles/GBARPGs.jpg)

View File

@ -1,5 +1,4 @@
+++ +++
image = "/img/articles/RPG-world_ultima.jpg"
date = "2007-01-04" date = "2007-01-04"
title = "RPG Concepts: Items" title = "RPG Concepts: Items"
aliases = ['/articles/rpg-concepts-items'] aliases = ['/articles/rpg-concepts-items']

View File

@ -1,5 +1,4 @@
+++ +++
image = "/img/articles/rpg-npc_blocking.gif"
date = "2007-01-02" date = "2007-01-02"
title = "RPG Concepts: NPCS" title = "RPG Concepts: NPCS"
aliases = ['/articles/rpg-concepts-npcs'] aliases = ['/articles/rpg-concepts-npcs']

View File

@ -0,0 +1,5 @@
---
title: Guides
ignore: true
---

View File

@ -0,0 +1,5 @@
---
title: Retrospectives
ignore: true
---

View File

@ -1,6 +1,5 @@
+++ +++
image = "gif/apogee_still.gif" image = "gif/apogee_still.gif"
imageActive = "/gif/apogee.gif"
date = "2006-10-23" date = "2006-10-23"
title = "Apogee's Legacy" title = "Apogee's Legacy"
tags = ['Apogee', 'retrospective'] tags = ['Apogee', 'retrospective']

View File

@ -1,6 +1,5 @@
--- ---
image: "gif/aria-of-sorrow_still.gif" image: "gif/aria-of-sorrow_still.gif"
imageActive: "/gif/aria-of-sorrow.gif"
date: "2018-07-31" date: "2018-07-31"
title: "Castlevania Aria of Sorrow: a retrospective" title: "Castlevania Aria of Sorrow: a retrospective"
aliases: aliases:

View File

@ -1,6 +1,5 @@
--- ---
image: "/img/articles/cotm_boss.jpg" image: "/img/articles/cotm_boss.jpg"
imageActive: "/img/articles/cotm_boss.jpg"
aliases: aliases:
- '/articles/circle-of-the-moon-retrospective/' - '/articles/circle-of-the-moon-retrospective/'
date: "2018-09-09" date: "2018-09-09"

View File

@ -0,0 +1,5 @@
---
title: Reviews
ignore: true
---

View File

@ -1,5 +1,4 @@
--- ---
imageActive: "gif/ionfury.gif"
image: "gif/ionfury_still.gif" image: "gif/ionfury_still.gif"
date: "2020-06-01" date: "2020-06-01"
title: "Ion Fury: the Spiritual Successor of Duke3D?" title: "Ion Fury: the Spiritual Successor of Duke3D?"

View File

@ -1,6 +1,6 @@
+++ ---
title = "Jefklak's Codex: Appendix" title: Appendix
+++ ---
<img class="no-border" alt="logo" src="/img/logo.png" /> <img class="no-border" alt="logo" src="/img/logo.png" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 KiB

View File

@ -1,54 +0,0 @@
{{ define "main" }}
<div class="col-xs-12 col-sm-8 col-md-9 content-column">
{{ partial "mobile_nav_toggle.html" . }}
<div class="col-lg-8">
<img src="/img/logo.png" class="logo" alt="jefklaks codex logo" />
<article>
{{ .Content }}
</article>
<h3>Latest <a href="/tags/retrospective/">Retrospectives</a> &raquo;</h3>
<div class="latest retros">
{{ $retros := first 4 (where .Pages.ByDate.Reverse ".Params.tags" "intersect" (slice "retrospective")) }}
{{ range $retros }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/tags/retrospective/">Browse all retrospectives</a> &raquo;
</span>
<h3>Latest <a href="/tags/review/">Reviews</a> &raquo;</h3>
<div class="latest reviews">
{{ $guides := first 4 (where .Pages.ByDate.Reverse ".Params.tags" "intersect" (slice "review" "preview")) }}
{{ range $guides }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/tags/review/">Browse all reviews</a> &raquo;
</span>
<h3>Latest <a href="/tags/feature/">Features</a> &raquo;</h3>
<div class="latest reviews">
{{ $guides := first 4 (where .Pages.ByDate.Reverse ".Params.tags" "intersect" (slice "feature")) }}
{{ range $guides }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/tags/feature/">Browse all features</a> &raquo;
</span>
<h3>Latest <a href="/tags/guide/">Guides</a> &raquo;</h3>
<div class="latest guides">
{{ $guides := first 4 (where .Pages.ByDate.Reverse ".Params.tags" "intersect" (slice "guide")) }}
{{ range $guides }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/tags/guide/">Browse all guides</a> &raquo;
</span>
<hr style="margin-top: 4rem" />
</div>
</div>
{{ end }}

View File

@ -1,14 +1,55 @@
<html> {{ define "main" }}
<head> <div class="col-xs-12 col-sm-8 col-md-9 content-column">
{{ with .OutputFormats.Get "RSS" }} {{ partial "mobile_nav_toggle.html" . }}
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="Jefklak's Codex" /> {{- $pages := .Site.Pages -}}
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="Jefklak's Codex" />
{{ end }}
{{ range .Site.Params.navlinks }} <div class="col-lg-8">
{{ if .home }} <img src="/img/logo.png" class="logo" alt="jefklaks codex logo" />
<meta http-equiv="refresh" content="0; URL={{ .url | absURL }}" /> <article>
{{ end }} {{ .Content }}
{{ end }} </article>
</head>
</html> <h3>Latest <a href="/articles/retrospective/">Retrospectives</a> &raquo;</h3>
<div class="latest retros">
{{ $retros := first 4 (where $pages.ByDate.Reverse ".Params.tags" "intersect" (slice "retrospective")) }}
{{ range $retros }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/articles/retrospective/">Browse all retrospectives</a> &raquo;
</span>
<h3>Latest <a href="/tags/review/">Reviews</a> &raquo;</h3>
<div class="latest reviews">
{{ $guides := first 4 (where $pages.ByDate.Reverse ".Params.tags" "intersect" (slice "review" "preview")) }}
{{ range $guides }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/tags/review/">Browse all reviews</a> &raquo;
</span>
<h3>Latest <a href="/tags/feature/">Features</a> &raquo;</h3>
<div class="latest reviews">
{{ $guides := first 4 (where $pages.ByDate.Reverse ".Params.tags" "intersect" (slice "feature")) }}
{{ range $guides }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/tags/feature/">Browse all features</a> &raquo;
</span>
<h3>Latest <a href="/tags/guide/">Guides</a> &raquo;</h3>
<div class="latest guides">
{{ $guides := first 4 (where $pages.ByDate.Reverse ".Params.tags" "intersect" (slice "guide")) }}
{{ range $guides }}
{{ partial "portfolio-block.html" . }}
{{ end }}
</div>
<span class="latest-all">
<a href="/tags/guide/">Browse all guides</a> &raquo;
</span>
<hr style="margin-top: 4rem" />
</div>
</div>
{{ end }}

View File

@ -1,6 +1,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ .Title }} | {{ .Site.Title }}</title> {{ if .Title }}
<title>{{ .Title }} | {{ .Site.Title }}</title>
{{ else }}
<title>{{ .Site.Title }}</title>
{{ end }}
<meta content="{{ .Title }} | {{ .Site.Title }}" property="og:title"> <meta content="{{ .Title }} | {{ .Site.Title }}" property="og:title">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">

View File

@ -2,9 +2,6 @@
<div class="col-md-4"> <div class="col-md-4">
<a href="{{ .Permalink }}" title="" class="box-masonry-image with-hover-overlay with-hover-icon"> <a href="{{ .Permalink }}" title="" class="box-masonry-image with-hover-overlay with-hover-icon">
<img loading="lazy" src="{{.Site.BaseURL}}{{ .Params.image }}" alt="thumbnail of {{ .Title }}" class="img-responsive img-inactive"> <img loading="lazy" src="{{.Site.BaseURL}}{{ .Params.image }}" alt="thumbnail of {{ .Title }}" class="img-responsive img-inactive">
{{ if .Params.imageActive }}
<img loading="lazy" src="{{.Site.BaseURL}}{{ .Params.imageActive }}" alt="hover thumbnail of {{ .Title }}" class="img-responsive img-active">
{{ end }}
</a> </a>
</div> </div>
<div class="col-md-8"> <div class="col-md-8">

View File

@ -16,9 +16,6 @@
<p style="position: relative;"> <p style="position: relative;">
<img src="{{ $url }}{{ .Params.image }}" alt="game cover image" alt="game cover" class="img-responsive img-inactive" style="border: 1px solid black"/> <img src="{{ $url }}{{ .Params.image }}" alt="game cover image" alt="game cover" class="img-responsive img-inactive" style="border: 1px solid black"/>
{{ with .Params.imageActive }}
<img src="{{ $url }}{{ . }}" alt="game cover image active" alt="game cover" class="img-responsive img-active" style="border: 1px solid black"/>
{{ end }}
{{ with .Params.game_platform }} {{ with .Params.game_platform }}
<img src="{{ $url }}img/{{ . }}.png" alt="{{ . }}" alt="platform" class="sidebar-game-platform img-responsive"/> <img src="{{ $url }}img/{{ . }}.png" alt="{{ . }}" alt="platform" class="sidebar-game-platform img-responsive"/>
@ -46,9 +43,7 @@
<!-- ripped from BB's minimal theme --> <!-- ripped from BB's minimal theme -->
{{ $related := first 4 (where (where .Site.Pages.ByDate.Reverse ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }} {{ $related := first 4 (where (where .Site.Pages.ByDate.Reverse ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }}
{{ if $related }} {{ if $related }}
<div class="sidebar-header"> <div class="sidebar-header">
<span>Related Articles</span> <span>Related Articles</span>
<img src="/img/gob_purse.gif" alt="related articles" /> <img src="/img/gob_purse.gif" alt="related articles" />
@ -69,16 +64,14 @@
{{ end }} {{ end }}
</ul> </ul>
<hr/> <hr/>
{{ end }} {{ end }}
<div class="sidebar-header"> <div class="sidebar-header">
<span>Latest Articles</span> <span>New Old Things.</span>
<img src="/img/gob_letter.gif" alt="latest articles" /> <img src="/img/gob_letter.gif" alt="latest articles" />
</div> </div>
{{ with .Site.GetPage "section" "articles" }}
<ul class="sidebar-menu"> <ul class="sidebar-menu">
{{ range first 5 .Data.Pages.ByDate.Reverse }} {{ range first 5 (where (where .Site.Pages.ByDate.Reverse ".Section" "in" (slice "articles")) ".Params.ignore" "!=" "true") }}
<li> <li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a><br/> <a href="{{ .RelPermalink }}">{{ .Title }}</a><br/>
<span class="sidebar-date"> <span class="sidebar-date">
@ -91,7 +84,6 @@
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }}
<div class="sidebar-header"> <div class="sidebar-header">
<span>Looking For More?</span> <span>Looking For More?</span>