Initial commit v2
This commit is contained in:
parent
efd4a417e5
commit
f46c369a78
|
@ -1,2 +1,9 @@
|
||||||
+++
|
---
|
||||||
+++
|
title: "{{ replace .Name "-" " " | title }}
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
||||||
|
#
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
<!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>
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
{{ 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 }}
|
|
@ -0,0 +1,10 @@
|
||||||
|
<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,14 +1,10 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="author" content="Fanyx">
|
<meta name="author" content="{{ .Site.Author }}">
|
||||||
<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>
|
|
@ -1,5 +1,8 @@
|
||||||
<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>
|
|
@ -1,10 +1,17 @@
|
||||||
<nav>
|
<nav>
|
||||||
<div class="section_header">links</div>
|
<div class="section_header">links</div>
|
||||||
<div class="content_section_text">
|
<section class="content_section_text">
|
||||||
<p>/links/</p>
|
{{- range .Site.Params.Links }}
|
||||||
{{ range $.Site.Params.Links }}
|
<p>/{{ .Service }}/</p>
|
||||||
<p>|-- <a href="{{ .Link }}">{{ .Name }}</a></p>
|
<p>
|
||||||
<p>|</p>
|
--
|
||||||
{{ end }}
|
<a href="{{ .Link }}">{{ .Name }}</a>
|
||||||
</div>
|
</p>
|
||||||
|
<br>
|
||||||
|
{{ end -}}
|
||||||
|
</section>
|
||||||
|
<div class="section_header">recent posts</div>
|
||||||
|
<section class="content_section_text">
|
||||||
|
|
||||||
|
</section>
|
||||||
</nav>
|
</nav>
|
|
@ -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 HTTPD default site and css."
|
description = "A simple theme based on the Apache 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.41.0"
|
min_version = "0.111.3"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "fanyx"
|
name = "fanyx"
|
||||||
|
|
Loading…
Reference in New Issue