Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/scss/components/_main-menu-mobile.scss3
-rw-r--r--layouts/partials/google-fonts.html6
2 files changed, 6 insertions, 3 deletions
diff --git a/assets/scss/components/_main-menu-mobile.scss b/assets/scss/components/_main-menu-mobile.scss
index 9c654ab..b66a70e 100644
--- a/assets/scss/components/_main-menu-mobile.scss
+++ b/assets/scss/components/_main-menu-mobile.scss
@@ -37,6 +37,9 @@
animation-delay: 0.6s;
}
}
+ @include media-breakpoint-up(md) {
+ display: none;
+ }
}
ul {
font-size: 30px;
diff --git a/layouts/partials/google-fonts.html b/layouts/partials/google-fonts.html
index 410a0f6..daec7c3 100644
--- a/layouts/partials/google-fonts.html
+++ b/layouts/partials/google-fonts.html
@@ -1,5 +1,5 @@
-{{ with .Site.Params.fonts }}
+{{ with .Site.Params.fonts.google_fonts }}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="{{ .google_fonts }}" rel="stylesheet">
-{{ end }} \ No newline at end of file
+ <link href="{{ . }}" rel="stylesheet">
+{{ end }}