refactor(wpcarro/website): Prefer substituteAll
`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
This commit is contained in:
parent
52369a11e3
commit
e107311cb8
8 changed files with 94 additions and 85 deletions
8
users/wpcarro/website/blog/fragments/post.html
Normal file
8
users/wpcarro/website/blog/fragments/post.html
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue