hugo-theme-wondermod/layouts/partials
Syphdias 54744ba694
Fix path in editPost URL for Windows (#333)
`.File.Path` is OS dependant and uses `\` as directory separator. This leads to
cases where posts get the wrong URL, if in a sub folder, e.g.
`content/posts/folder\post.md`.

One idea was to replace `\` with `/` this however breaks valid files (on Unix
systems) which include `\` in the file name.
According to the docs [`path.Join`](layouts/partials/edit_post.html) is OS
unaware and converts to a Unix-like path.

> Note: All path elements on Windows are converted to slash ('/') separators.

PS: It looks like hugo also uses this internally to build URLs.
PPS: Solution was discussed in #278.
2021-03-28 19:39:22 +05:30
..
templates Remove trailing and leading slashes off the $url for Breadcrumb gen; 2021-03-28 19:25:09 +05:30
anchored_headings.html anchored-headings: port to PaperMod 2020-11-10 12:34:22 +05:30
author.html author(partial): fix multiple authors in config displayed incorrectly 2020-10-25 13:01:49 +05:30
breadcrumbs.html Remove trailing and leading slashes off the $url for Breadcrumb gen; 2021-03-28 19:25:09 +05:30
comments.html comments: rm comments 2020-07-20 20:11:58 +05:30
cover.html add browser-level lazy loading to cover images 2021-03-27 13:16:10 +05:30
edit_post.html Fix path in editPost URL for Windows (#333) 2021-03-28 19:39:22 +05:30
extend_footer.html extended_footer: init 2020-10-18 21:52:22 +05:30
extend_head.html extended_head: init (#44) 2020-10-18 20:21:42 +05:30
footer.html Allow disabling ScrollToTop button 2021-03-25 13:34:01 +05:30
head.html Don't consider page-variable to disable HLJS while generating assets 2021-03-28 09:52:14 +05:30
header.html Fix logo not being displayed with no title pages 2021-03-27 12:46:43 +05:30
home_info.html Fix missing first level heading in home-info 2021-01-31 17:17:00 +05:30
index_profile.html Remove whitespace around urls wherever applicable 2020-12-13 16:56:41 +05:30
post_meta.html allow setting ShowReadingTime per-page 2021-01-24 18:08:15 +05:30
share_icons.html share-icons: add #hashtag generation from tags 2020-10-25 13:58:17 +05:30
social_icons.html Remove whitespace around urls wherever applicable 2020-12-13 16:56:41 +05:30
svg.html Add social icon for ctftime (#300) 2021-03-16 12:26:28 +05:30
toc.html toc: add aria-label for accessibility reasons 2020-11-06 10:58:23 +05:30
translation_list.html translation list separate partial 2021-02-06 23:50:19 +05:30