Compare commits
No commits in common. "master" and "efd4a417e59e493f1d238493bfc89db59173aafa" have entirely different histories.
master
...
efd4a417e5
|
@ -1,9 +1,2 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
||||
#
|
||||
|
||||
<!--more-->
|
||||
+++
|
||||
+++
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode | default "en" }}">
|
||||
{{- partial "head.html" . }}
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<body>
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
<main>
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "nav.html" . }}
|
||||
<section id="section_main">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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 }}
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue