1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

treewide: set title from basename if it doesn't exist

This commit is contained in:
RGBCube 2025-06-08 17:58:48 +03:00
parent de33425078
commit bd49960b65
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
5 changed files with 11 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{{ function process(entry, toplevel = false) }}
<div class="relative p-4{{ if !toplevel }} my-4 md:mx-8{{ /if }} border-1 bg-white dark:bg-black">
{{ if entry.data.title }}
{{ if entry.data.url }}
<a
class="
reset