diff options
author | Fredrik Jonsson <frjo@xdeb.org> | 2022-08-04 14:10:09 +0300 |
---|---|---|
committer | Fredrik Jonsson <frjo@xdeb.org> | 2022-08-04 14:10:09 +0300 |
commit | 67ee530bd8371d17e70d912b50d9882128299dad (patch) | |
tree | 19f8bfebb2f5b1ec9ad321d8de31f25826b04908 | |
parent | 617ab51ed72ca52c0ea789e8f25eccd75b5c92a4 (diff) |
Updated logo plus favicons and added logoWidth param.v2.3.0
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | exampleSite/config.yaml | 2 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | static/android-chrome-192x192.png | bin | 0 -> 5542 bytes | |||
-rw-r--r-- | static/android-chrome-384x384.png | bin | 0 -> 12309 bytes | |||
-rw-r--r-- | static/apple-touch-icon.png | bin | 5751 -> 5164 bytes | |||
-rw-r--r-- | static/browserconfig.xml | 9 | ||||
-rw-r--r-- | static/favicon-16x16.png | bin | 0 -> 321 bytes | |||
-rw-r--r-- | static/favicon-32x32.png | bin | 0 -> 761 bytes | |||
-rw-r--r-- | static/favicon.ico | bin | 1150 -> 7406 bytes | |||
-rw-r--r-- | static/favicon.png | bin | 557 -> 0 bytes | |||
-rw-r--r-- | static/images/logo.png | bin | 1991 -> 5180 bytes | |||
-rw-r--r-- | static/images/logo@2x.png | bin | 3135 -> 0 bytes | |||
-rw-r--r-- | static/mstile-150x150.png | bin | 0 -> 4820 bytes | |||
-rw-r--r-- | static/safari-pinned-tab.svg | 1 | ||||
-rw-r--r-- | static/site.webmanifest | 19 |
16 files changed, 33 insertions, 1 deletions
@@ -218,6 +218,7 @@ params: languageDir: "" # Set ltr or rtl, defaults to ltr. logo: false # Turn off the logo. logoPath: # Relative path to site logo, defaults to "images/logo.png", no leading slash. + logoWidth: # Set logo width, defaults to none. mainSections: # The sections you want to have listed on the front page. - "section1" # Default to the section with most content if not set. - "section2" # Set to empty if no section should be listed. diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 25dd0a6..4c7f509 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -36,7 +36,9 @@ params: icon: "apple-touch-icon.png" image: "apple-touch-icon.png" imageMaxWidth: 400 + logoWidth: 64 mobileMenu: true poweredby: false + realfavicongenerator: true sidebar: true submitted: true diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b87464d..7c00a8b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -15,7 +15,7 @@ <body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}"> <div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}"> <header class="header layout__header"> -{{ if $.Param "logo" | default true }}<a href="{{ "/" | relLangURL }}" title="Home" rel="home" class="header__logo"><img src="{{ with $.Param "logopath" }}{{ . | relURL }}{{ else }}{{ "/images/logo.png" | relURL }}{{ end }}" alt="Home" class="header__logo-image"></a>{{ end }} +{{ if $.Param "logo" | default true }}<a href="{{ "/" | relLangURL }}" title="Home" rel="home" class="header__logo"><img src="{{ with $.Param "logopath" }}{{ . | relURL }}{{ else }}{{ "/images/logo.png" | relURL }}{{ end }}"{{ with $.Param "logowidth" }} width="{{ . }}"{{ end }} alt="Home" class="header__logo-image"></a>{{ end }} <h1 class="header__site-name"> <a href="{{ "/" | relLangURL }}" title="Home" class="header__site-link" rel="home"><span>{{ site.Title }}</span></a> </h1> diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png Binary files differnew file mode 100644 index 0000000..8283cb8 --- /dev/null +++ b/static/android-chrome-192x192.png diff --git a/static/android-chrome-384x384.png b/static/android-chrome-384x384.png Binary files differnew file mode 100644 index 0000000..7cf4872 --- /dev/null +++ b/static/android-chrome-384x384.png diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png Binary files differindex 7916122..d7637ff 100644 --- a/static/apple-touch-icon.png +++ b/static/apple-touch-icon.png diff --git a/static/browserconfig.xml b/static/browserconfig.xml new file mode 100644 index 0000000..5cd27e3 --- /dev/null +++ b/static/browserconfig.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<browserconfig> + <msapplication> + <tile> + <square150x150logo src="/mstile-150x150.png"/> + <TileColor>#603cba</TileColor> + </tile> + </msapplication> +</browserconfig> diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png Binary files differnew file mode 100644 index 0000000..a0d7dde --- /dev/null +++ b/static/favicon-16x16.png diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png Binary files differnew file mode 100644 index 0000000..0765a70 --- /dev/null +++ b/static/favicon-32x32.png diff --git a/static/favicon.ico b/static/favicon.ico Binary files differindex fffa682..ef49508 100644 --- a/static/favicon.ico +++ b/static/favicon.ico diff --git a/static/favicon.png b/static/favicon.png Binary files differdeleted file mode 100644 index dabdf14..0000000 --- a/static/favicon.png +++ /dev/null diff --git a/static/images/logo.png b/static/images/logo.png Binary files differindex 84892be..72aaa45 100644 --- a/static/images/logo.png +++ b/static/images/logo.png diff --git a/static/images/logo@2x.png b/static/images/logo@2x.png Binary files differdeleted file mode 100644 index 132ae28..0000000 --- a/static/images/logo@2x.png +++ /dev/null diff --git a/static/mstile-150x150.png b/static/mstile-150x150.png Binary files differnew file mode 100644 index 0000000..cee8987 --- /dev/null +++ b/static/mstile-150x150.png diff --git a/static/safari-pinned-tab.svg b/static/safari-pinned-tab.svg new file mode 100644 index 0000000..017b3a2 --- /dev/null +++ b/static/safari-pinned-tab.svg @@ -0,0 +1 @@ +<svg height="462pt" preserveAspectRatio="xMidYMid meet" viewBox="0 0 462 462" width="462pt" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(.1 0 0 -.1 0 462)"><path d="m3869 4591c-34-35-36-59-8-95 12-15 23-44 26-66 5-34-5-58-80-202-96-184-214-394-323-575-56-91-74-130-74-157 0-32 3-36 25-36 29 0 50 18 484 430 190 180 333 308 349 312 57 16 65 58 27 134-53 105-124 171-270 248-83 44-117 46-156 7z"/><path d="m757 4504c-27-27 19-112 142-264 94-117 264-254 352-285 56-20 152-19 196 2 39 18 73 65 73 100 0 45-93 206-155 268l-60 60-115 22c-63 12-171 39-240 59-138 41-181 49-193 38z"/><path d="m2724 4364c-13-51 108-311 206-443 78-105 190-208 234-216 55-11 76 2 104 63l26 57-21 100c-40 191-79 266-156 298-28 12-119 54-200 94s-157 73-167 73c-13 0-22-9-26-26z"/><path d="m1980 4217c0-33 70-184 125-267 111-172 300-366 376-385 45-11 87 19 116 82 24 52 25 58 12 115-17 84-79 206-125 249-29 27-94 60-244 124-255 109-260 111-260 82z"/><path d="m3947 3529c-25-13-315-76-835-180l-797-160-136 21c-75 12-147 20-160 18-38-5-31-65 24-183 34-75 73-201 157-505 60-223 115-415 120-428 28-66 174-182 228-182 14 0 36 13 51 29 25 27 43 33 167 56 76 14 147 27 157 29 16 4 17-12 17-220 0-123-2-224-4-224s-249-50-548-111c-340-69-549-116-558-125-13-14-12-18 12-39 32-28 112-59 194-76 56-11 68-10 254 34 159 38 497 108 622 129l27 5 4-606c3-579 4-609 24-679 30-102 46-122 104-122 42 0 60 17 88 80 47 109 65 330 81 979 5 222 11 405 13 407 7 7 345 43 505 54 197 13 440 13 631-1 137-9 154-9 180 7 51 30 63 83 35 153-33 83-212 166-411 191-74 10-79 9-137-19-34-17-72-37-86-45-14-9-181-46-372-84l-348-69v222 223l88 16c48 9 140 24 204 33l117 16 88-31c105-38 148-40 194-9s76 79 100 161c12 39 77 253 145 475 108 354 128 408 158 446 51 61 62 90 45 111-38 46-343 224-383 224-12-1-38-10-59-21zm-62-219c17-19 17-25 1-147-22-159-76-460-118-655l-31-148h-57c-44 0-350-62-417-85-10-3-13 39-13 189v193l73 12c198 32 365 65 390 78 31 15 51 56 42 83-14 43-48 70-112 90-82 25-127 25-168 0-18-11-76-33-128-49l-95-28-4 143-3 143-34 35c-19 20-33 38-30 40 8 8 612 124 650 125 24 1 42-6 54-19zm-990-200c34-36 44-85 44-237l1-112-37-10c-215-57-439-109-444-103-12 13-120 384-114 391 7 6 466 99 501 100 11 1 33-12 49-29zm45-720c0-199 0-200-22-205-13-3-88-21-168-39-80-19-146-33-148-31-6 6-104 377-100 379 6 5 403 94 421 95 16 1 17-15 17-199z"/><path d="m1370 3490c-19-12-46-33-60-45-65-61-932-445-1132-501-96-27-130-47-122-69 9-21 47-33 190-55l139-22 433 201c238 111 437 201 442 201 25 0 13-44-46-163-258-516-724-1180-1116-1594-64-66-88-99-88-117 0-35 18-33 76 11 244 184 711 625 899 850l60 72 3-232c4-299-12-598-43-812-26-182-86-492-104-538s-13-83 24-195c42-125 84-207 137-267 32-36 46-45 73-45 38 0 78 28 93 67 31 79 38 198 67 1138 8 270 18 583 21 697l7 207 124-119c143-137 260-229 349-273 70-34 104-32 131 9 34 53-11 209-98 339-59 86-70 93-206 110-65 9-160 23-211 32l-92 16-21 69c-11 38-17 74-13 81 68 115 417 634 449 667 55 57 70 92 53 128-10 20-48 45-151 96-160 80-210 91-267 56z"/></g></svg>
\ No newline at end of file diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..90046ae --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "Zen Demo", + "short_name": "Zen Demo", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-384x384.png", + "sizes": "384x384", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} |