Closed RMHogervorst closed 5 years ago
Thanks for the PR @RMHogervorst .
On the face of it it looks sensible and correct, but I've had a thought about where this should be, and how it should be folded into this project.
We have a submodule for the theme here. Could you please fork that instead, and include it in the layouts folder of that module. Apologies, hugo has some complexities around themes, templates and sites.
Could you also then modify the partial file schedule.html
to integrate into what you've written?
Thanks in advance.
This is a very simple building block that allows us to create a tweet this anchor (link) with a filled in tweet.
You use it like this:
{{< tweetthis "this is a test tweet with hashtags" "satRdays" >}}
The first argument, tweetthis calls the correct shortcode, the second argument is the main text and the third is the hashtags. The end results is a prefilled tweet that people can modify in their browser.