From 1c1b0158dcaedd8db2c53d5fe56bcc3f092c0611 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Nov 28 2024 18:26:32 +0000 Subject: Use base/link.html for shortcut links This include (that we already use on the top bar) has some nice logic that gets links right when I build them to show in a subdirectory of my fedorapeople.org space. --- diff --git a/_layouts/home.html b/_layouts/home.html index 4dd5688..58d4d3a 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -72,7 +72,7 @@ {% assign community_items = site.data.centos.navbar | where: "name", "Community" %} {% for community_item in community_items %} {% for shortcut in community_item.menu %} - {{ shortcut.name }} + {% include base/link.html class="btn btn-primary text-nowrap" name=shortcut.name url=shortcut.link icon=shortcut.icon %} {% endfor %} {% endfor %}