mirror of https://github.com/jpanther/congo.git
Compare commits
4 Commits
3adf96de10
...
da74b6972b
Author | SHA1 | Date |
---|---|---|
Wolf Noble | da74b6972b | |
James Panther | 9b30ac01db | |
Nathan Dimmock | 03e673e6a5 | |
Wolf Noble | c1d4f0c003 |
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -71,6 +71,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
|
||||||
| sun | {{< icon sun >}} |
|
| sun | {{< icon sun >}} |
|
||||||
| tag | {{< icon tag >}} |
|
| tag | {{< icon tag >}} |
|
||||||
| telegram | {{< icon telegram >}} |
|
| telegram | {{< icon telegram >}} |
|
||||||
|
| threads | {{< icon threads >}} |
|
||||||
| tiktok | {{< icon tiktok >}} |
|
| tiktok | {{< icon tiktok >}} |
|
||||||
| translate | {{< icon translate >}} |
|
| translate | {{< icon translate >}} |
|
||||||
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
||||||
|
|
|
@ -71,6 +71,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
|
||||||
| sun | {{< icon sun >}} |
|
| sun | {{< icon sun >}} |
|
||||||
| tag | {{< icon tag >}} |
|
| tag | {{< icon tag >}} |
|
||||||
| telegram | {{< icon telegram >}} |
|
| telegram | {{< icon telegram >}} |
|
||||||
|
| threads | {{< icon threads >}} |
|
||||||
| tiktok | {{< icon tiktok >}} |
|
| tiktok | {{< icon tiktok >}} |
|
||||||
| translate | {{< icon translate >}} |
|
| translate | {{< icon translate >}} |
|
||||||
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
||||||
|
|
|
@ -71,6 +71,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
|
||||||
| sun | {{< icon sun >}} |
|
| sun | {{< icon sun >}} |
|
||||||
| tag | {{< icon tag >}} |
|
| tag | {{< icon tag >}} |
|
||||||
| telegram | {{< icon telegram >}} |
|
| telegram | {{< icon telegram >}} |
|
||||||
|
| threads | {{< icon threads >}} |
|
||||||
| tiktok | {{< icon tiktok >}} |
|
| tiktok | {{< icon tiktok >}} |
|
||||||
| translate | {{< icon translate >}} |
|
| translate | {{< icon translate >}} |
|
||||||
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
||||||
|
|
|
@ -71,6 +71,7 @@ The full list of built-in icons and their corresponding names can referenced bel
|
||||||
| sun | {{< icon sun >}} |
|
| sun | {{< icon sun >}} |
|
||||||
| tag | {{< icon tag >}} |
|
| tag | {{< icon tag >}} |
|
||||||
| telegram | {{< icon telegram >}} |
|
| telegram | {{< icon telegram >}} |
|
||||||
|
| threads | {{< icon threads >}} |
|
||||||
| tiktok | {{< icon tiktok >}} |
|
| tiktok | {{< icon tiktok >}} |
|
||||||
| translate | {{< icon translate >}} |
|
| translate | {{< icon translate >}} |
|
||||||
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
| triangle-exclamation | {{< icon triangle-exclamation >}} |
|
||||||
|
|
|
@ -7,3 +7,6 @@
|
||||||
{{ if ne .Params.logo nil }}
|
{{ if ne .Params.logo nil }}
|
||||||
{{ warnf "[CONGO] Theme parameter `logo` has been renamed to `header.logo`. Please update your site configuration." }}
|
{{ warnf "[CONGO] Theme parameter `logo` has been renamed to `header.logo`. Please update your site configuration." }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if eq .Params.header.logo .Params.header.logo_dark }}
|
||||||
|
{{- warnf "[CONGO] Interactions with a single resource via multiple distinct resource handles can be problematic. It is recommended to only declare `header.logo_dark` when it is distinct from `header.logo`." }}
|
||||||
|
{{- end }}
|
|
@ -5,17 +5,29 @@
|
||||||
<a href="{{ "" | relLangURL }}" class="mr-2">
|
<a href="{{ "" | relLangURL }}" class="mr-2">
|
||||||
<img
|
<img
|
||||||
src="{{ $logo.RelPermalink }}"
|
src="{{ $logo.RelPermalink }}"
|
||||||
|
{{- if eq $logo.MediaType.SubType "svg" }}
|
||||||
|
width="25"
|
||||||
|
height="25"
|
||||||
|
class="m-0 p-0 object-scale-down object-left{{ if $logo_dark }} hidden dark:flex{{ end }}"
|
||||||
|
{{- else }}
|
||||||
width="{{ div $logo.Width 2 }}"
|
width="{{ div $logo.Width 2 }}"
|
||||||
height="{{ div $logo.Height 2 }}"
|
height="{{ div $logo.Height 2 }}"
|
||||||
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left{{ if $logo_dark }} hidden dark:flex{{ end }}"
|
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left{{ if $logo_dark }} hidden dark:flex{{ end }}"
|
||||||
|
{{- end }}
|
||||||
alt="{{ .Site.Title }}"
|
alt="{{ .Site.Title }}"
|
||||||
/>
|
/>
|
||||||
{{- if $logo_dark }}
|
{{- if $logo_dark }}
|
||||||
<img
|
<img
|
||||||
src="{{ $logo_dark.RelPermalink }}"
|
src="{{ $logo_dark.RelPermalink }}"
|
||||||
|
{{- if eq $logo_dark.MediaType.SubType "svg" }}
|
||||||
|
width="25"
|
||||||
|
height="25"
|
||||||
|
class="m-0 p-0 object-scale-down object-left{{ if $logo }} !dark:hidden{{ end }}"
|
||||||
|
{{- else }}
|
||||||
width="{{ div $logo_dark.Width 2 }}"
|
width="{{ div $logo_dark.Width 2 }}"
|
||||||
height="{{ div $logo_dark.Height 2 }}"
|
height="{{ div $logo_dark.Height 2 }}"
|
||||||
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left dark:hidden"
|
class="max-h-[10rem] max-w-[10rem] object-scale-down object-left{{ if $logo }} !dark:hidden{{ end }}"
|
||||||
|
{{- end }}
|
||||||
alt="{{ .Site.Title }}"
|
alt="{{ .Site.Title }}"
|
||||||
/>
|
/>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
Loading…
Reference in New Issue