Compare commits

..

No commits in common. "master" and "efd4a417e59e493f1d238493bfc89db59173aafa" have entirely different histories.

8 changed files with 29 additions and 64 deletions

View File

@ -1,9 +1,2 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
#
<!--more-->
+++
+++

View File

@ -1,9 +1,15 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode | default "en" }}">
{{- partial "head.html" . }}
{{ partial "head.html" . }}
<body>
<main>
{{ partial "header.html" . }}
{{ partial "nav.html" . }}
<section id="section_main">
{{ block "main" . }}{{ end }}
</section>
{{ partial "footer.html" . }}
</main>
</body>
</html>

View File

@ -1,18 +0,0 @@
{{ block "main" . }}
{{ partial "header.html" . }}
{{ partial "nav.html" . }}
<div class="grid-display">
<section class="posts">
<div class="section_header">posts</div>
{{ range first 5 .Pages }}
<div class="content_section_text">
<p><a href="{{ .RelPermalink }}">/{{ .Title }}/</a></p>
<br>
<p>{{ .Summary }}</p>
</div>
{{ end }}
</section>
</div>
{{ end }}

View File

@ -1,10 +0,0 @@
<footer>
<p>
created by {{ .Site.Author }}
</p>
<p>
created with <a href="https://gohugo.io/">hugo</a>
-
source code: <a href="{{ .Site.Source }}">{{ .Site.Source }}</a>
</p>
</footer>

View File

@ -1,10 +1,14 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="{{ .Site.Author }}">
<meta name="viewport" content="width=device, initial-scale=1">
<meta name="author" content="Fanyx">
<meta name="referrer" content="no-referrer">
{{ hugo.Generator }}
<title>{{ if .Title }}{{ .Title }} | {{ end }} {{ .Site.Title }}</title>
{{- if or .Description .Site.Params.description }}
<meta name="description" content="{{ .Description | default .Site.Params.description }}">
{{- end }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
<link rel="icon" href="/favicon.png">
<link rel="stylesheet" type="text/css" href="/css/apache2.css">
</head>

View File

@ -1,8 +1,5 @@
<header>
<div class="section_header section_header_red">
{{- if .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}
</div>
<div id="encrypt">
encrypt everything
{{- if .Title }}{{ .Title }} | {{ end }} {{ .Site.Title -}}
</div>
</header>

View File

@ -1,17 +1,10 @@
<nav>
<div class="section_header">links</div>
<section class="content_section_text">
{{- range .Site.Params.Links }}
<p>/{{ .Service }}/</p>
<p>
--
<a href="{{ .Link }}">{{ .Name }}</a>
</p>
<br>
{{ end -}}
</section>
<div class="section_header">recent posts</div>
<section class="content_section_text">
</section>
<div class="content_section_text">
<p>/links/</p>
{{ range $.Site.Params.Links }}
<p>|-- <a href="{{ .Link }}">{{ .Name }}</a></p>
<p>|</p>
{{ end }}
</div>
</nav>

View File

@ -4,11 +4,11 @@
name = "Apache2"
license = "MIT"
licenselink = "https://git.fanyx.xyz/fanyx/hugo-theme-apache2/blob/master/LICENSE"
description = "A simple theme based on the Apache httpd default site and css."
description = "A simple theme based on the HTTPD default site and css."
homepage = "https://git.fanyx.xyz/fanyx/hugo-theme-apache2/"
tags = ["apache2", "httpd"]
features = []
min_version = "0.111.3"
min_version = "0.41.0"
[author]
name = "fanyx"