File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ module.exports = function (eleventyConfig) {
9797 return hoverableHTML ;
9898 } ) ;
9999
100+ eleventyConfig . addFilter ( "encodeURI" , ( link ) => {
101+ return encodeURI ( link ) ;
102+ } ) ;
103+
100104 // Date formatting stuff
101105 eleventyConfig . addFilter ( "readableDate" , ( dateObj ) => {
102106 return DateTime . fromJSDate ( dateObj ) . toFormat ( "MMM dd, yyyy" ) ;
Original file line number Diff line number Diff line change 11<footer >
22 <a href =" https://cyberb.space/feed.xml" >subscribe</a > |
33 <a href =" https://github.com/riastrad/cyberbspace/tree/main/{{ page.inputPath }}" >view source</a > |
4- <a href =" {{ metadata.author.social }}" >discuss</a >
4+ <a href =" mailto: {{ metadata.author.email }}?subject=[cyberbspace] thoughts on {{ page.url | encodeURI }}" >discuss</a >
55 <p >
66 © ; Josh Erb {{ page .date | dateYear }}
77 </p >
You can’t perform that action at this time.
0 commit comments