Selaa lähdekoodia

fix navbar waight

tags/v1.0.0
somrat 4 vuotta sitten
vanhempi
commit
968d4a7b06
2 muutettua tiedostoa jossa 6 lisäystä ja 7 poistoa
  1. 1
    1
      exampleSite/config.toml
  2. 5
    6
      layouts/partials/head.html

+ 1
- 1
exampleSite/config.toml Näytä tiedosto

@@ -80,7 +80,7 @@ weight = 7
[[menu.static]]
name = "Themefisher"
URL = "https://themefisher.com/"
weight = 7
weight = 8

############################# Default Parameters ##########################
[params]

+ 5
- 6
layouts/partials/head.html Näytä tiedosto

@@ -4,15 +4,14 @@

{{ "<!-- mobile responsive meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description"
content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
{{ with .Site.Params.author }}
<meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}

{{ "<!-- plugins -->" | safeHTML }}
{{ range .Site.Params.plugins.css }}
<link rel="stylesheet" href="{{ .link | absURL }} ">
<link rel="stylesheet" href="{{ .link | absURL }}">
{{ end }}

{{"<!-- Main Stylesheet -->"|safeHTML}}
@@ -20,10 +19,10 @@
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">

{{"<!-- Custom stylesheet - for your changes -->" |safeHTML}}
<link rel="stylesheet" href="{{ `css/custom.css` | relURL}} " media="screen">
<link rel="stylesheet" href="{{ `css/custom.css` | relURL}}" media="screen">

{{ "<!--Favicon-->" | safeHTML }}
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
<link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">

</head>

Loading…
Peruuta
Tallenna