Skip to content

Commit

Permalink
Reapply "changed theming of js-dos player"
Browse files Browse the repository at this point in the history
This reverts commit 75169ca.
  • Loading branch information
torbjornbp committed Jul 30, 2024
1 parent 75169ca commit b4610cc
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 10 deletions.
1 change: 1 addition & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ params:
footer: "© Torbjørn Bakken Pedersen 2023 -- {Year}"
goatcounter: "torbjorn888888"
favicon: "/favicon.png"
defaultImage: "/favicon.png"

minify:
disableCSS: false
Expand Down
39 changes: 29 additions & 10 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,41 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Title }} | {{ .Site.Title }}</title>

<!-- OpenGraph tags -->
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:description" content="{{ .Description }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:image" content="{{ with .Params.images }}{{ ($.Page.Resources.GetMatch (index . 0)).Permalink }}{{ else }}{{ .Site.Params.defaultImage | absURL }}{{ end }}" />
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:locale" content="{{ .Site.LanguageCode }}" />

<!-- Twitter Card tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ .Title }}">
<meta name="twitter:description" content="{{ .Description }}">
<meta name="twitter:image" content="{{ with .Params.images }}{{ ($.Page.Resources.GetMatch (index . 0)).Permalink }}{{ else }}{{ .Site.Params.defaultImage | absURL }}{{ end }}">
<!-- Stylesheets -->
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}" />
<link rel="stylesheet" href="{{ "css/fonts.css" | relURL }}" />

<!-- Custom head content -->
{{ partial "head_custom.html" . }}

<!-- Favicon -->
{{ with .Site.Params.favicon }}
<link rel="icon" type="image/png" href="/favicon.png">
{{ end }}
{{ end }}
</head>

<body>
<h1 style="text-align: center;">{{ partial "clown.html" . }}</h1>
<nav>
<ul class="menu">
<p><strong>Torbjørn Bakken Pedersen's page</strong></p>
{{ range .Site.Menus.main }}
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
<hr>
</nav>
<ul class="menu">
<p><strong>Torbjørn Bakken Pedersen's page</strong></p>
{{ range .Site.Menus.main }}
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
<hr>
</nav>
1 change: 1 addition & 0 deletions static/baryon.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
url: "baryon.jsdos",
background: "go.png",
kiosk: "true",
theme: "corporate"
});
</script>
</body>
Expand Down

0 comments on commit b4610cc

Please sign in to comment.