PlaidWeb / Publ

Flexible publishing system for the web
http://publ.beesbuzz.biz/
MIT License
40 stars 4 forks source link

Redirected pages still appear as local URL in entry context #571

Open fluffy-critter opened 3 months ago

fluffy-critter commented 3 months ago

Expected Behavior

An entry like:

Title: foobar
Entry-ID: 12345
Redirect-To: https://example.com/foobar

should always be linked to as https://example.com/foobar

Current Behavior

In a Page context, it links to https://example.com/foobar but in an Entry context it links to /12345-foobar (or whatever the Path-Canonical is set to)

Context

It's possible the Page context is only working because of something in my site templates; it's using entry.link. It's possible that the entry processor might be using entry.permalink or something.