diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-06 01:43:08 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-06 01:43:08 +0800 |
| commit | 8d679ad58d6930eb9dfe2be5c03086af0a0dd992 (patch) | |
| tree | c0d7bcc8e30493b0633aafaa031051e1d6068fa4 /layouts/partials | |
| parent | a316c983a6e3118a5278b0522381217f31c7b47c (diff) | |
add shortcode tweet-ref for creating tweet reference in footnotes
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/social_quote_tweet.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/social_quote_tweet.html b/layouts/partials/social_quote_tweet.html index b3068aa..d0bd66d 100644 --- a/layouts/partials/social_quote_tweet.html +++ b/layouts/partials/social_quote_tweet.html @@ -4,7 +4,7 @@ {{ with .title }}<span>{{ . }}</span>{{ end }} </div> - {{ $dnt := true }} + {{- $dnt := true -}} {{- $url := printf "https://twitter.com/%v/status/%v" .user .id -}} {{- $query := querify "url" $url "dnt" $dnt -}} {{- $request := printf "https://publish.twitter.com/oembed?%s" $query -}} |
