Themes: add new gohugo theme
parent
28a8e13e8f
commit
04149db38a
@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2022 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@ -0,0 +1,2 @@
|
||||
+++
|
||||
+++
|
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Basic page meta -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .isHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
</title>
|
||||
|
||||
<!-- Style -->
|
||||
<link rel="stylesheet" type="text/css" href="public/main.css">
|
||||
<link rel="icon" href="public/icon.svg" type="image/svg+xml" sizes="any">
|
||||
|
||||
<!-- OpenGraph -->
|
||||
<meta property="og:locale" content="en_GB">
|
||||
<meta property="og:title" content="Jae's Website">
|
||||
<meta property="og:url" content="https://jae.fi">
|
||||
<meta property="og:site_name" content="Jae's Website">
|
||||
<meta property="og:description" content="The website of Jae Lo Presti">
|
||||
<meta property="og:image" content="https://bm.jae.fi/web/Logo-abs.png">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="page">
|
||||
<div class="header">
|
||||
<a href="/">
|
||||
<h1>
|
||||
<span class="title">{{ .Site.Title }}</span><br/>
|
||||
<span class="subtitle">{{ .Site.SubTitle }}</span>
|
||||
</h1>
|
||||
</a>
|
||||
<!-- TEMPORARY -->
|
||||
<img src="public/logo.svg" alt="Logo" />
|
||||
</div>
|
||||
<div class="cpage">
|
||||
<div class="mainPage">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{ partial "navigation.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Basic page meta -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>
|
||||
{{ block "title" . }} {{ .Site.Title }} {{ if .Page }}| {{ .Page.Title }} {{ end }} {{ end }}
|
||||
</title>
|
||||
|
||||
|
||||
<!-- Style -->
|
||||
<link rel="stylesheet" type="text/css" href="/main.css">
|
||||
<link rel="icon" href="/icon.svg" type="image/svg+xml" sizes="any">
|
||||
|
||||
<!-- OpenGraph -->
|
||||
<meta property="og:locale" content="en_GB">
|
||||
<meta property="og:title" content="Jae's Website">
|
||||
<meta property="og:url" content="https://jae.fi">
|
||||
<meta property="og:site_name" content="Jae's Website">
|
||||
<meta property="og:description" content="The website of Jae Lo Presti">
|
||||
<meta property="og:image" content="https://bm.jae.fi/web/Logo-abs.png">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="page">
|
||||
<div class="header">
|
||||
<a href="/">
|
||||
<h1>
|
||||
<span class="title">{{ .Site.Title }}</span><br/>
|
||||
<span class="subtitle">Random Beeps'n Boops</span>
|
||||
</h1>
|
||||
</a>
|
||||
<!-- TEMPORARY -->
|
||||
<img src="/logo.svg" alt="Logo" />
|
||||
</div>
|
||||
<div class="cpage">
|
||||
<div class="mainPage">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "navigation.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,33 @@
|
||||
<div class="navigation">
|
||||
<h1>NAVIGATION</h1>
|
||||
<div class="linklist">
|
||||
<div class="header">
|
||||
<h4>Links</h4>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>Pages</p>
|
||||
|
||||
<ul>
|
||||
{{ range .Site.Menus.main }}
|
||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<p>Wiki</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="index.html">The Index</a></li>
|
||||
<li><a href="help.html">Help me!</a></li>
|
||||
<li><a href="experiments.html">Experiments</a></li>
|
||||
<li><a href="internet.html">The Internet</a></li>
|
||||
<li><a href="stories.html">Stories & Lore</a></li>
|
||||
<li><a href="socpol.html">Society & Politics</a></li>
|
||||
<li><a href="trans.html">Trans stuff</a></li>
|
||||
<li><a href="french.html">In French!</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<p>CC-BY SA 4.0 Jae Lo Presti; Robot on the internet since 2012; This website is <a href="https://gitea.blesmrt.net/jae/staticweb">Open-Source</a> and under the MIT license</p>
|
||||
</div>
|
@ -0,0 +1,15 @@
|
||||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Maintheme"
|
||||
license = "MIT"
|
||||
licenselink = "https://gitea.blesmrt.net/jae/staticweb/src/branch/beep/LICENSE"
|
||||
description = ""
|
||||
homepage = "https://jae.fi/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.41.0"
|
||||
|
||||
[author]
|
||||
name = "Jae"
|
||||
homepage = "https://jae.fi"
|
Reference in New Issue