-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I've put this in pages/ files inlined in the markdown section:
<a class="btn btn--gray-border" href="https://twitter.com/intent/tweet?url=https%3A%2F%2Ftimelinez.github.io%2Faerosolized-covid-19%2Ftest&via=AerosolizedC19&text=%23COVIDisAirborne%20%23masks4All%20%23bewareOfSharedAir%20%23ventilation. See: " target="_blank">Tweet This Page</a>
I'd prefer to have it in a template:
<a class="btn btn--gray-border" href="https://twitter.com/intent/tweet?url=https%3A%2F%2Ftimelinez.github.io%2Faerosolized-covid-19{{ page.url }}&via=AerosolizedC19&text=%23COVIDisAirborne%20%23masks4All%20%23bewareOfSharedAir%20%23ventilation. See: " target="_blank">Tweet This Page</a>
That is not perfect as it doesn't have the hash of the location in the URL, and Jekyll/Liquid doesn't know anything about that I don't think.
I'm not sure how it goes solved - maybe some Javascript to fix url the URL to include the location.hash after hashchange. I tried to get that working but couldn't.
Metadata
Metadata
Assignees
Labels
No labels