<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hibby/papermodx/layouts/partials/edit_post.html, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.hibbian.org/hibby/papermodx/atom?h=master</id>
<link rel='self' href='https://git.hibbian.org/hibby/papermodx/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.hibbian.org/hibby/papermodx/'/>
<updated>2022-03-27T13:14:06Z</updated>
<entry>
<title>Use `site` function instead of `.Site` or `$.Site`</title>
<updated>2022-03-27T13:14:06Z</updated>
<author>
<name>Aditya Telange</name>
<email>21258296+adityatelange@users.noreply.github.com</email>
</author>
<published>2022-03-27T13:14:06Z</published>
<link rel='alternate' type='text/html' href='https://git.hibbian.org/hibby/papermodx/commit/?id=575cc0ca8c4e5904c7ae77e76db812c52e5f8ed1'/>
<id>urn:sha1:575cc0ca8c4e5904c7ae77e76db812c52e5f8ed1</id>
<content type='text'>
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
</content>
</entry>
<entry>
<title>Fix Spacing in overall repo</title>
<updated>2021-03-30T12:56:43Z</updated>
<author>
<name>Aditya Telange</name>
<email>21258296+adityatelange@users.noreply.github.com</email>
</author>
<published>2021-03-30T12:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.hibbian.org/hibby/papermodx/commit/?id=196b82645e33d171aeb36cb9da100f3382aac914'/>
<id>urn:sha1:196b82645e33d171aeb36cb9da100f3382aac914</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix path in editPost URL for Windows (#333)</title>
<updated>2021-03-28T14:09:22Z</updated>
<author>
<name>Syphdias</name>
<email>syphdias+git@gmail.com</email>
</author>
<published>2021-03-28T14:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.hibbian.org/hibby/papermodx/commit/?id=54744ba6943321c22e69d65ef2377b398f70eb7d'/>
<id>urn:sha1:54744ba6943321c22e69d65ef2377b398f70eb7d</id>
<content type='text'>
`.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.

&gt; 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.</content>
</entry>
<entry>
<title>Add option to show link in meta data for editing posts (#278)</title>
<updated>2021-03-23T09:28:26Z</updated>
<author>
<name>Syphdias</name>
<email>syphdias+git@gmail.com</email>
</author>
<published>2021-03-23T09:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.hibbian.org/hibby/papermodx/commit/?id=abfdb54c92a26dcfaf876d2e06c1059ec9254694'/>
<id>urn:sha1:abfdb54c92a26dcfaf876d2e06c1059ec9254694</id>
<content type='text'>
Usage

- in site config =&gt;

    Params:
    editPost:
        URL: "https://github.com/&lt;path_to_repo&gt;/content"
        Text: "Suggest Changes" # edit text 
        appendFilePath: true # to append file path to Edit link

- in front-matter vars =&gt;
    ---
    editPost:
        URL: "https://github.com/&lt;path_to_repo&gt;/content"
        Text: "Suggest Changes" # edit text 
        appendFilePath: true # to append file path to Edit link
    ---

- Front-matter vars overrides global ones
</content>
</entry>
</feed>
