Skip to content

Commit

Permalink
Config: default to no trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidyjames committed Nov 5, 2024
1 parent f2cbe9f commit 5e7820f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions _config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Endless Apps
summary: Learning and educational apps created specifically for Endless OS
image: "/images/endless.png"
separator: "⋅"
baseurl: "/"
baseurl: ""
color:
primary: "#f15a22"
primary-text: "#fff"
Expand All @@ -12,7 +12,13 @@ collections:
apps:
title: Apps
output: true
permalink: /:path/
# Omit the trailing slash to create slightly cleaner links and make it a bit
# easier to grab the app ID off the end of the URL. This causes Jekyll to
# generate pages as `com.example.app.html` instead of `com.example.app/index.html`.
# Since Jekyll and GitHub Pages allow omitting the extension, URLs become
# `/com.example.app` instead of `/com.example.app/`. Jekyll and GitHub Pages
# still redirect `/com.example.app/` to `/com.example.app` for us.
permalink: /:path

defaults:
- scope:
Expand All @@ -23,7 +29,6 @@ defaults:

markdown: kramdown

permalink: pretty
sass:
style: compressed

Expand Down

0 comments on commit 5e7820f

Please sign in to comment.