Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,8 @@ bundle install
## Run Locally
To preview the site on your machine:
* Run `jekyll serve --livereload` from the project root.
* Open [http://localhost:4000](http://localhost:4000) in your browser.
* Open [http://localhost:4000](http://localhost:4000) in your browser.

For faster local iteration while writing content:
* Run `jekyll serve --config _config.yml,_config.dev.yml --livereload`
* This disables redirect generation locally, which reduces rebuild fan-out.
22 changes: 22 additions & 0 deletions _config.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Development-only overrides for faster local iteration.
# The difference is it doesn't generate the redirects.
# Use with: jekyll serve --config _config.yml,_config.dev.yml --livereload

plugins:
- jekyll-include-cache

whitelist:
- jekyll-include-cache

# Keep local output lean.
exclude:
- _site.backup
- templates
- node_modules
- tmp
- .cache
- .DS_Store
- scripts
- .github
- .git
- .vscode
30 changes: 0 additions & 30 deletions _includes/hero.html

This file was deleted.

4 changes: 2 additions & 2 deletions _includes/video-carousel.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% if page.videocarousel %}
{% if include.videocarousel %}
<section class="bg-inverse p-y-0">
<div class="owl-carousel owl-slide owl-slide-no-auto">
{% for item in page.videocarousel %}
{% for item in include.videocarousel %}
<div class="carousel-item" style="height: 70vh; background-image: url('{{ item.image }}');">
<div class="carousel-overlay"></div>
<div class="carousel-caption">
Expand Down
8 changes: 8 additions & 0 deletions _layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ <h5 class="widget-title">Recently Updated</h5>

<script>
(function () {
// Redirect trailing-slash URLs to the canonical no-slash version
// e.g. /snes/ → /snes (fixes old permalink 404s)
if (window.location.pathname.length > 1 && window.location.pathname.endsWith('/')) {
var noSlash = window.location.pathname.slice(0, -1) + window.location.search + window.location.hash;
window.location.replace(noSlash);
return;
}

var breadcrumbEl = document.getElementById('breadcrumb-topic');
var relatedWrapper = document.getElementById('related-posts-wrapper');
var relatedList = document.getElementById('related-posts-list');
Expand Down
33 changes: 0 additions & 33 deletions _layouts/blog-cards.html

This file was deleted.

2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

{% include_cached video-header.html youtube=page.youtube image=page.image %}

{% include video-carousel.html %}
{% include_cached video-carousel.html videocarousel=page.videocarousel %}

<section>
<div class="container post-container">
Expand Down
3 changes: 1 addition & 2 deletions categories/companies/crossproducts.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ breadcrumbs:
redirect_from:
- /cross-products
- /crossproducts
- /companies/crossproducts/
editlink: ../categories/companies/crossproducts.md
updatedAt: '2020-09-05'
---
Expand Down Expand Up @@ -95,7 +94,7 @@ We have a post all about Super Nintendo development kits which has a section on
### SNASM for Atari ST
The Atari ST was one of the first platforms supported by the original SNASM development kit, it allowed developing on a PC and debugging on an Atari ST, with the main benefit being that crashes on the Atari didn't affect development compared to editing on the Atari ST itself.

{% include link-to-other-site.html url="https://segaretro.org/SNASM68K" description="More information about SNASM Devkit Box for the Atari ST at Computing History." title="SNASM Devkit Box for the Atart ST - Peripheral - Computing History]" image="https://www.computinghistory.org.uk/userdata/images/large/83/67/product-118367.jpg" %}
{% include link-to-other-site.html url="https://segaretro.org/SNASM68K" description="More information about SNASM Devkit Box for the Atari ST at Computing History." title="SNASM Devkit Box for the Atart ST - Peripheral - Computing History" image="https://www.computinghistory.org.uk/userdata/images/large/83/67/product-118367.jpg" %}

---
# All Posts mentioning Cross Products
Expand Down
Loading
Loading