about summary refs log tree commit diff
path: root/users/wpcarro/website/blog/fragments/post.html
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-28T00·06-0400
committerclbot <clbot@tvl.fyi>2021-12-28T00·09+0000
commite107311cb87fc219889f37f0c67cfea22b4a99e7 (patch)
treef52e7b5859eabb14a9cbeb17e68aa741ea9c3348 /users/wpcarro/website/blog/fragments/post.html
parent52369a11e3dee035b575281c80e2bf9a65546435 (diff)
refactor(wpcarro/website): Prefer substituteAll r/3483
`substituteAll` supports templating with @variables@, which I think really
cleans things up.

Change-Id: Icfad15ac9e174495ba02260d817f7330f1616c6f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4722
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/website/blog/fragments/post.html')
-rw-r--r--users/wpcarro/website/blog/fragments/post.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/wpcarro/website/blog/fragments/post.html b/users/wpcarro/website/blog/fragments/post.html
new file mode 100644
index 000000000000..44593094ecdf
--- /dev/null
+++ b/users/wpcarro/website/blog/fragments/post.html
@@ -0,0 +1,8 @@
+<li class="pb-6 md:pb-10">
+  <h2 class="text-bold text-xl">
+    <a class="font-bold text-blue-600 hover:underline" href="@postUrl@">
+      @postTitle@
+    </a>
+  </h2>
+  <p class="text-gray-500">@postDate@</p>
+</li>