feat(svg): now serving svgs in separate files
This commit is contained in:
@@ -43,9 +43,9 @@
|
||||
{{- else if (eq .name "qq") -}}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="feather" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path transform="scale(0.04) translate(75 40)" stroke-width="50" d="M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z"></path></svg>
|
||||
{{- else if (eq .name "root me") -}}
|
||||
<img class="feather" width="24" height="24" alt="Root-me" src="{{"rootme.svg" | relURL}}">
|
||||
<object type="image/svg+xml" class="feather" width="24" height="24" alt="Root-me" data="{{"rootme.svg" | relURL}}"></object>
|
||||
{{- else if (eq .name "GPG") -}}
|
||||
<img class="feather" width="24" height="24" alt="GPG" src="{{"Gnupg-logo.svg" | relURL}}">
|
||||
<object type="image/svg+xml" class="feather" width="24" height="24" alt="GPG" data="{{"Gnupg-logo.svg" | relURL}}"></object>
|
||||
{{- else -}}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="feather feather-link" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user