chipzoller / hugo-clarity

A theme for Hugo based on VMware Clarity
Other
571 stars 256 forks source link

[Feature Request] Link to Edit Page on GitHub #279

Open onweru opened 2 years ago

onweru commented 2 years ago

Discussed in https://github.com/chipzoller/hugo-clarity/discussions/244

Originally posted by **joesan** December 21, 2021 While I was using Zola, I had made a few changes to the theme that I used so that I can have a link at the bottom of each page that shows a link to the original content in GitHub which upon click takes the user to the GitHub project page to be forked. As an example., here the learn theme has this GitHub link on all pages. https://github.com/matcornic/hugo-theme-learn/blob/master/layouts/partials/header.html Could this feature be added? It seems quite simple, but I'm not getting the settings. For example., here is the snippet that adds this to the pages: ``` ``` The steps should be to add this to the single.html just below this code snippet: ```
{{- .Content }}
``` Add the editURL to the params.toml. Correct?
mansoorbarri commented 1 month ago

Can this be assigned to me?