Skip to content

Mount a Link entry to Home to create short url #8539

Answered by earthwytch
earthwytch asked this question in Q&A
Discussion options

You must be logged in to vote

Nvm I was being a plonker... 🙄

I just needed to add a route instead of a mount point:

/content/collections/short_urls.yaml

title: 'Short URLs'
template: default
layout: layout
route: /{slug}
revisions: false
sort_dir: asc
date_behavior:
  past: public
  future: private
preview_targets:
  -
    label: Entry
    url: '{permalink}'
    refresh: true

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by earthwytch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant