Skip to content

Commit

Permalink
Fix wrong Stylesheet Import (#99)
Browse files Browse the repository at this point in the history
* fix wrong css import

* fix wrong css import

* prevent main menu from lowercase-ify
  • Loading branch information
Sebastian Warnke authored Sep 29, 2021
1 parent b5813c9 commit 147297f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ .Site.Params.extra.highlightjsstyle | default "default" }}.min.css">
{{ end }}

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400&family=Roboto+Slab:400,700&family=Roboto:300,300i,400,400i,500,500i,700,700i">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400|Roboto+Slab:400,700|Roboto:300,300i,400,400i,500,500i,700,700i">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<link rel="stylesheet" href="{{ "css/main.css" | absURL }}">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/main_menu.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ with .Site.Menus.main }}
<section id="main-menu-pane" class="text-center main-menu">
{{ range sort . }}
<h4><a class="menu-item" href="{{ .URL }}">{{ .Name | lower }}</a></h4>
<h4><a class="menu-item" href="{{ .URL }}">{{ .Name }}</a></h4>
{{ end }}
</section>
{{ end }}

0 comments on commit 147297f

Please sign in to comment.