Creating webp versions of app icons for social media.
This commit is contained in:
parent
f5cf2718ab
commit
ed60f3d091
14 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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/" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue