fix: remove trailing / in links

This commit is contained in:
Astreaprtcl 2025-08-11 08:53:34 +02:00
parent bfcff3cd6c
commit 333a02754d
Signed by untrusted user who does not match committer: astreaprtcl
GPG key ID: C1A416D9DF13737B
3 changed files with 10 additions and 10 deletions

View file

@ -14,10 +14,10 @@ collections_dir: articles
collections: collections:
news: news:
output: true output: true
permalink: /news/:path permalink: /news:path
announce: announce:
output: true output: true
permalink: /announcements/:path permalink: /announcements:path
# Exclude from processing. # Exclude from processing.
# The following items will not be processed, by default. # The following items will not be processed, by default.

View file

@ -22,7 +22,7 @@ settings:
# implicit platform. # implicit platform.
# For example, if default_platform was twitter, then @user would be # For example, if default_platform was twitter, then @user would be
# equivalent to twitter@user. # equivalent to twitter@user.
#default_platform: email default_platform: email
# Linkers configuration # Linkers configuration
# Each linker defines how to format and link a specific platform or service. # Each linker defines how to format and link a specific platform or service.
@ -104,4 +104,4 @@ linkers:
reddit: reddit:
badge: "\U000f044d" # nf-md-reddit badge: "\U000f044d" # nf-md-reddit
format: "u/^u" format: "u/^u"
link: "https://reddit.com/u/^u" link: "https://reddit.com/u/^u"

View file

@ -13,13 +13,13 @@ main:
url: / url: /
idn: 'home' idn: 'home'
- title: About - title: About
url: /about/ url: /about
idn: 'about' idn: 'about'
- title: Linuxposting News - title: Linuxposting News
url: /news/ url: /news
idn: 'new' idn: 'new'
- title: Announcements - title: Announcements
url: /announcements/ url: /announcements
idn: 'ann' idn: 'ann'
- title: Molly's Page - title: Molly's Page
url: https://molly.linuxposting.xyz/ url: https://molly.linuxposting.xyz/
@ -27,14 +27,14 @@ main:
target: '_blank' target: '_blank'
sub: sub:
- title: Register - title: Register
url: /register/ url: /register
idn: 'reg' idn: 'reg'
- title: Contact Us - title: Contact Us
url: "/contact/" url: "/contact"
idn: 'msg' idn: 'msg'
# - title: Theme Selection # - title: Theme Selection
# url: "#" # url: "#"
# idn: 'theme' # idn: 'theme'
- title: Get a prize - title: Get a prize
url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
target: _blank target: _blank