Edit this link

My goal is a link from the rendered page, to edit the content of that page.

For example: https://github.com/kaihendry/netlify-cms-testing/blob/master/layouts/partials/footer.html

But I noticed the Edit this link doesn’t work for pages for which there is no content, like index or list pages. So how do I point to the source of these pages or perhaps omit the Edit this link for non-content pages please?

Thank you!

Do a check if the file exists.

{{ if .File }}
  foo
{{ else }}
  bar
{{ end }}

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.