Updated logo plus favicons and added logoWidth param.
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
BIN
static/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
static/android-chrome-384x384.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5 KiB |
9
static/browserconfig.xml
Normal file
|
|
@ -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>
|
||||
BIN
static/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 321 B |
BIN
static/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 761 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 557 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
BIN
static/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
1
static/safari-pinned-tab.svg
Normal file
|
|
@ -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>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
19
static/site.webmanifest
Normal file
|
|
@ -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"
|
||||
}
|
||||