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> <!DOCTYPE html>
<html lang="{{ .Site.LanguageCode | default "en" }}"> <html lang="{{ .Site.LanguageCode | default "en" }}">
{{- partial "head.html" . }} {{ partial "head.html" . }}
<body> <body>
<main>
{{ partial "header.html" . }}
{{ partial "nav.html" . }}
<section id="section_main">
{{ block "main" . }}{{ end }} {{ block "main" . }}{{ end }}
</section>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
</main>
</body> </body>
</html> </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> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device, initial-scale=1">
<meta name="author" content="{{ .Site.Author }}"> <meta name="author" content="Fanyx">
<meta name="referrer" content="no-referrer"> <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"> <link rel="stylesheet" type="text/css" href="/css/apache2.css">
</head> </head>

View File

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

View File

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

View File

@ -4,11 +4,11 @@
name = "Apache2" name = "Apache2"
license = "MIT" license = "MIT"
licenselink = "https://git.fanyx.xyz/fanyx/hugo-theme-apache2/blob/master/LICENSE" 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/" homepage = "https://git.fanyx.xyz/fanyx/hugo-theme-apache2/"
tags = ["apache2", "httpd"] tags = ["apache2", "httpd"]
features = [] features = []
min_version = "0.111.3" min_version = "0.41.0"
[author] [author]
name = "fanyx" name = "fanyx"