πŸš§πŸ—οΈπŸ‘·πŸΎNote: This site is under construction. Expect a lot of broken links and layouts. Have feedback? Email me at [email protected]

Home β†’ The Bikeshed β†’ Components

feedbackLink.html Shortcode

Published:

This partial helps with making the feedback link at the end of posts. It builds upon my previous attempt at this. If you don’t want the footer to show, set hideFoot in the frontmatter to true. It used to be a shortcode, but πŸ€·πŸΎβ€β™‚οΈ.

Source Code

{{- $args := print "subject=" page.Title "&body=" "I read this post (" page.Permalink ") and..." -}} {{ site.Params.author.feedbackemail }}

It looks ugly but this is to prevent percent encoding, which would prevent the email’s body and subject form showing up when you click the email link.