Commit 2d3ec00
authored
fix(docs): prefix blog post card hrefs with base_url (#1552)
`post.url` resolves to a root-absolute path (`/blog/...`) and drops the
`/noir` base path when the site is served from a GitHub Pages
subdirectory. Clicking a card from the blog index or an author page
landed on `https://owasp-noir.github.io/blog/...` (404) instead of
`/noir/blog/...`. Prefix with `{{ base_url }}` to match how every other
nav/footer link in the templates is built.1 parent e7ed2c4 commit 2d3ec00
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments