Creating webp versions of app icons for social media.

This commit is contained in:
Adsooi 2022-01-21 15:08:32 +01:00
parent f5cf2718ab
commit ed60f3d091
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
14 changed files with 4 additions and 4 deletions

View file

@ -16,4 +16,4 @@ GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<img class="icon-as-text icon-in-text" alt="{{ .Get 0 }}'s icon" src="/icons/apps/{{ .Get 0 | safeURL }}.svg"></img>
<img class="icon-as-text icon-in-text" alt="{{ .Get 0 }}'s icon" src="/icons/apps/svg/{{ .Get 0 | safeURL }}.svg"></img>

View file

@ -45,7 +45,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<div class="grid flex">
{{ $scratch := newScratch }}
{{ range .RelevantSoft }}
{{ $scratch.Set "img" "/icons/apps/" }}
{{ $scratch.Set "img" "/icons/apps/svg/" }}
{{ $scratch.Add "img" (lower .) }}
{{ $scratch.Add "img" ".svg" }}
{{ $scratch.Set "url" "https://apps.ad5001.eu/" }}