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>
|
||||
<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>
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
</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>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device, initial-scale=1">
|
||||
<meta name="author" content="Fanyx">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="{{ .Site.Author }}">
|
||||
<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,5 +1,8 @@
|
|||
<header>
|
||||
<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>
|
||||
</header>
|
|
@ -1,10 +1,17 @@
|
|||
<nav>
|
||||
<div class="section_header">links</div>
|
||||
<div class="content_section_text">
|
||||
<p>/links/</p>
|
||||
{{ range $.Site.Params.Links }}
|
||||
<p>|-- <a href="{{ .Link }}">{{ .Name }}</a></p>
|
||||
<p>|</p>
|
||||
{{ end }}
|
||||
</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>
|
||||
</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 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/"
|
||||
tags = ["apache2", "httpd"]
|
||||
features = []
|
||||
min_version = "0.41.0"
|
||||
min_version = "0.111.3"
|
||||
|
||||
[author]
|
||||
name = "fanyx"
|
||||
|
|
Loading…
Reference in New Issue