blob: 759104b561b127f3566f58d29ba3e686883dd1f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{{- $user := default "jack" (.Get "user" | default (.Get 0)) -}}
{{- $status := default "20" (.Get "status" | default (.Get 1)) -}}
{{- $caption := default "Twitter Tweet" (.Get "caption" | default (.Get 2)) -}}
<twitter-tweet>
<blockquote class="twitter-tweet">
<a href="https://twitter.com/{{ $user }}/status/{{ $status }}">
https://twitter.com/{{ $user }}/status/{{ $status }}
</a>
</blockquote>
<script
async
src="https://platform.twitter.com/widgets.js"
>
</script>
</twitter-tweet>
<footer>{{ $caption }}</footer>
|