website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

commit 9adc0f3ff88198d6fd9fb867be3bff1a59daf550
parent 8319dba61318a763334e7e8bbee7803a3bb54b7c
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Wed,  8 Nov 2023 10:25:38 +0200

Delete unused files

Diffstat:
Dcontent/about.md | 94-------------------------------------------------------------------------------
Dlayouts/_default/_markup/render-codeblock-mermaid.html | 4----
Dlayouts/_default/baseof.html | 96-------------------------------------------------------------------------------
Dlayouts/_default/list.html | 45---------------------------------------------
Dlayouts/_default/rss.xml | 39---------------------------------------
Dlayouts/_default/single.html | 73-------------------------------------------------------------------------
Dlayouts/categories/terms.html | 23-----------------------
Dlayouts/index.html | 52----------------------------------------------------
Dlayouts/partials/footer.html | 8--------
Dlayouts/partials/header.html | 26--------------------------
Dlayouts/partials/math.html | 7-------
Dlayouts/robots.txt | 2--
Dlayouts/tags/terms.html | 23-----------------------
13 files changed, 0 insertions(+), 492 deletions(-)

diff --git a/content/about.md b/content/about.md @@ -1,94 +0,0 @@ -+++ -title = "About" -description = "A minimal, latex-style hugo theme for personal blogging" -date = "2023-06-20" -aliases = ["about-us", "about-texify2", "contact"] -author = "weastur" -+++ -A minimal, latex-style hugo theme for personal blogging. -The successor of the original [TeXify](https://github.com/queensferryme/hugo-theme-texify) - -<iframe src="https://ghbtns.com/github-btn.html?user=weastur&repo=hugo-texify2&type=star&count=false&size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe> - -## Features - -- **Social sharing buttons** -- **Any comment engine (giscus, remark42, hyvor, etc.)** -- **Word Counter and Reading Time** -- **[Mermaid](https://mermaid.js.org) support** -- **DuckDuckGo search** -- **Configurable root font size** -- **Buymeacoffee widget** -- **Auto numbered subtitles** -- **Simplified config** -- **Hugo modules support** -- **Tested on Chrome, Safari, Edge, Firefox** -- [Disqus](https://disqus.com/) & Google Analytics included -- Responsive design for mobile devices -- Customize the site with your stylesheets -- Math equations powered by [KaTeX](https://katex.org/) -([MathJax](https://www.mathjax.org/) has been deleted) -- Minimal CSS, No JavaScript, Blazing Fast! - -\* Diff with the original texify is **bold** - -## Usage - -### Install as git submodule - -Install: - -```bash -git submodule add https://github.com/weastur/hugo-texify2.git themes/hugo-texify2 -echo "theme = 'hugo-texify2'" >> hugo.toml -``` - -Upgrade: - -```bash -git submodule foreach git pull origin master -``` - -### Install as hugo module - -Initialize hugo modules, if not done yet: - -```bash -hugo mod init github.com/<username>/<projectName> -``` - -add `[module]` section to your `hugo.toml`: - -```bash -[module] -[[module.imports]] - path = 'github.com/weastur/hugo-texify2' -``` - -load/update theme module - -```bash -hugo mod get -u github.com/weastur/hugo-texify2 -``` - -See [`hugo.toml`](https://github.com/weastur/hugo-texify2/blob/master/hugo.toml) -for an example configuration. - -## Development - -Install `pre-commit` - -```bash -pre-commit install -make dev -``` - -## Acknowledgement - -The following software inspires the design of this theme: - -- <https://github.com/vincentdoerig/latex-css> -- <https://github.com/7ma7X/HugoTeX> -- <https://theme.typora.io/theme/Academic/> -- <https://github.com/queensferryme/hugo-theme-texify> -- <https://sharingbuttons.io> diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html @@ -1,4 +0,0 @@ -<div class="mermaid"> - {{- .Inner | safeHTML }} -</div> -{{ .Page.Store.Set "hasMermaid" true }} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html @@ -1,96 +0,0 @@ -<!DOCTYPE html> -<html lang="{{ .Site.LanguageCode }}" style="font-size: {{ .Site.Params.rootFontSize | default "100%" }}"> - -<head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - - <!-- author --> - <meta name="author" content="{{ .Site.Author.name }}"> - - <!-- description --> - {{ if .Description }} - <meta name="description" content="{{ .Description }}"> - {{ else if and .IsPage .Summary }} - <meta name="description" content="{{ .Summary }}"> - {{ else }} - <meta name="description" content="{{ .Site.Params.description }}"> - {{ end }} - - <!-- favicon --> - <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png"> - <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png"> - - <!-- keywords --> - {{ if .Keywords }} - <meta name="keywords" content="{{ delimit .Keywords " " }} {{ delimit .Site.Params.keywords " " }}"> - {{ else }} - <meta name="keywords" content="{{ delimit .Site.Params.keywords " " }}"> - {{ end }} - - <!-- math --> - {{ if or .Params.math .Site.Params.math }} - {{ partial "math.html" . }} - {{ end }} - - <!-- buymeacoffee --> - {{ .Site.Params.buymeacoffee.code | safeHTML }} - - <!-- opengraph --> - {{ template "_internal/opengraph.html" . }} - - <!-- permalink --> - <link rel="canonical" href="{{ .Permalink }}"> - - <!-- rss --> - {{ range .AlternativeOutputFormats -}} - {{ printf ` - <link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{ end -}} - - <!-- schema --> - {{ template "_internal/schema.html" . }} - - <!-- style --> - {{ $options := dict "transpiler" "dartsass" "targetPath" "css/common.css" }} - {{ with resources.Get "sass/layouts/common.scss" | toCSS $options | postCSS | minify | fingerprint }} - <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> - {{ end }} - - {{ $options := dict "transpiler" "dartsass" "targetPath" "css/content.css" }} - {{ with resources.Get "sass/layouts/content.scss" | toCSS $options | postCSS | minify | fingerprint }} - <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> - {{ end }} - - <!-- title --> - {{ if .IsHome }} - <title>{{ .Site.Title }}</title> - {{ else }} - <title>{{ .Title }} - {{ .Site.Title }}</title> - {{ end }} - - <!-- twitter --> - {{ template "_internal/twitter_cards.html" . }} - - {{ block "head" . }}{{ end }} -</head> - -<body> - <div id="wrapper"> - {{ partial "header.html" . }} - {{ block "main" . }}{{ end }} - {{ partial "footer.html" . }} - </div> - - <!-- custom js --> - {{ range .Site.Params.customJS }} - <script src="{{ . | absURL }}"></script> - {{ end }} - - <!-- google analytics --> - {{ template "_internal/google_analytics.html" . }} - -</body> - -</html> diff --git a/layouts/_default/list.html b/layouts/_default/list.html @@ -1,45 +0,0 @@ -{{ define "head" }} -{{ $options := dict "transpiler" "dartsass" "targetPath" "css/list.css" }} -{{ with resources.Get "sass/layouts/list.scss" | toCSS $options | postCSS | minify | fingerprint }} - <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> -{{ end }} -{{ end }} - -{{ define "main" }} -<main id="main" class="archive"> - {{ if .Site.Params.enableDuckDuckGoSearchBox }} - <div id="searchbox"> - <form method="get" id="ddgSearch" target="_blank" action="https://duckduckgo.com/"> - <input type="hidden" name="sites" value="{{ .Site.BaseURL }}"/> - <input type="hidden" name="kf" value="-1"> <!-- no favicons --> - <input type="hidden" name="kh" value="1"> <!-- https --> - <input type="hidden" name="kae" value="d" > <!-- dark theme --> - <input type="hidden" name="k1" value="-1" > <!-- no ads --> - <input type="text" name="q" placeholder="Search…" aria-label="Search michaelneuper.com on DuckDuckGo"/> - <button type="submit"> - <svg aria-hidden="true" height="1rem" viewBox="0 0 16 16" version="1.1" width="1rem" data-view-component="true" class="octicon octicon-search Button-visual"> - <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> - </svg> - </button> - </form> - </div> - {{ end }} - {{ $pages := where .Data.Pages "Type" "posts" }} - {{ range $pages.GroupByDate "2006-01" }} - <div class="post-group"> - <h3>{{ dateFormat "January 2006" (printf "%s-01" .Key) }}</h3> - <ul> - {{ range .Pages }} - <li> - <a class="link" href="{{ .RelPermalink }}">{{ .Title }}</a> - <time>{{ .PublishDate.Format .Site.Params.dateFormat }}</time> - </li> - {{ end }} - </ul> - </div> - {{ end }} - <div class="post-group"> - <h3>...</h3> - </div> -</main> -{{ end }} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml @@ -1,39 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = (where (where $pctx.RegularPages ".Section" "posts") "Kind" "page") -}} -{{- else -}} -{{- $pages = (where (where $pctx.Pages ".Section" "posts") "Kind" "page") -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} -{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }} -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> - <link>{{ .Permalink }}</link> - <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description> - <generator>Hugo -- gohugo.io</generator> - <language>{{ site.Language.LanguageCode }}</language>{{ with .Site.Author.email }} - <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }} - <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }} - <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} - <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} - {{- with .OutputFormats.Get "RSS" -}} - {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} - {{- end -}} - {{ range $pages }} - <item> - <title>{{ .Title }}</title> - <link>{{ .Permalink }}</link> - <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> - {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} - <guid>{{ .Permalink }}</guid> - <description>{{ .Summary | html }}</description> - </item> - {{ end }} - </channel> -</rss> diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -1,73 +0,0 @@ -{{ define "head" }} -{{ $options := dict "transpiler" "dartsass" "targetPath" "css/single.css" }} -{{ with resources.Get "sass/layouts/single.scss" | toCSS $options | postCSS | minify | fingerprint }} - <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> -{{ end }} -{{ end }} - -{{ define "main" }} -<main id="main" class="post"> - {{ if ne .Section "posts"}} - <article class="content {{ if .Site.Params.numberedSubtitles }}numbered-subtitles{{ end }}"> - {{ .Content }} - </article> - - {{ else }} - <div class="post-heading"> - <h1 class="post-title">{{ .Title }}</h1> - <div class="publish-date">{{ .PublishDate.Format .Site.Params.dateFormat }}</div> - </div> - - {{ if ne .Params.tags nil }} - <div> - {{ range .Params.tags }} - <a class="link tag" href='{{ "tags" | absURL }}/{{ . | urlize }}'>#{{ . }}</a> - {{ end }} - <br></br> - </div> - {{ end }} - {{ if cond (ne .Params.toc nil) .Params.toc .Site.Params.toc }} - {{ if ne .TableOfContents "<nav id=\"TableOfContents\"></nav>" }} - <details> - <summary> - <b>Table of Contents</b> - </summary> - <div class="toc {{ if .Site.Params.numberedSubtitles }}numbered-subtitles{{ end }}">{{ .TableOfContents }}</div> - </details> - {{ end }} - {{ end }} - <article class="content {{ if .Site.Params.numberedSubtitles }}numbered-subtitles{{ end }}"> - {{ if .Site.Params.emphasisWithDots }} - {{ .Content | replaceRE "<strong>(\\p{Han}+?)</strong>" "<strong class=chinese>$1</strong>" | safeHTML }} - {{ else }} - {{ .Content }} - {{ end }} - </article> - {{ partial "sharingbuttons.html" . }} - <div class="paginator"> - {{ if .PrevInSection }} - <a class="link" href="{{ .PrevInSection.Permalink }}">← prev</a> - {{ else }} - <a></a> - {{ end }} - {{ if .NextInSection }} - <a class="link" href="{{ .NextInSection.Permalink }}">next →</a> - {{ else }} - <a></a> - {{ end }} - </div> - <div class="comment"> - <!-- disqus --> - {{ template "_internal/disqus.html" . }} - <!-- generic engine --> - {{ .Site.Params.commentEngine.code | safeHTML }} - </div> - {{ end }} -{{ if .Page.Store.Get "hasMermaid" }} - <script type="module"> - import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs'; - mermaid.initialize({ startOnLoad: true }); - </script> -{{ end }} -</main> -{{ end }} diff --git a/layouts/categories/terms.html b/layouts/categories/terms.html @@ -1,22 +0,0 @@ -{{ define "main" }} -<main id="main"> - <h2> - <span class="icon"> - <svg width="1em" height="1em" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="taxonomy-svg"> - <path d="M3.71,16.29a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21,1,1,0,0,0-.21.33,1,1,0,0,0,.21,1.09,1.15,1.15,0,0,0,.33.21.94.94,0,0,0,.76,0,1.15,1.15,0,0,0,.33-.21,1,1,0,0,0,.21-1.09A1,1,0,0,0,3.71,16.29ZM7,8H21a1,1,0,0,0,0-2H7A1,1,0,0,0,7,8ZM3.71,11.29a1,1,0,0,0-1.09-.21,1.15,1.15,0,0,0-.33.21,1,1,0,0,0-.21.33.94.94,0,0,0,0,.76,1.15,1.15,0,0,0,.21.33,1.15,1.15,0,0,0,.33.21.94.94,0,0,0,.76,0,1.15,1.15,0,0,0,.33-.21,1.15,1.15,0,0,0,.21-.33.94.94,0,0,0,0-.76A1,1,0,0,0,3.71,11.29ZM21,11H7a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2ZM3.71,6.29a1,1,0,0,0-.33-.21,1,1,0,0,0-1.09.21,1.15,1.15,0,0,0-.21.33.94.94,0,0,0,0,.76,1.15,1.15,0,0,0,.21.33,1.15,1.15,0,0,0,.33.21,1,1,0,0,0,1.09-.21,1.15,1.15,0,0,0,.21-.33.94.94,0,0,0,0-.76A1.15,1.15,0,0,0,3.71,6.29ZM21,16H7a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Z"/></svg> - </span> - Categories - </h2> - <br style="margin-bottom: 10px"></br> - <div class="row"> - {{ range .Data.Terms.ByCount }} - <ul> - <li><a class="title is-5 is-size-6-mobile" href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ $Totalpage:= len .Pages }} - {{ $Totalpage }} post{{ if ne $Totalpage 1 }}s{{ end }} - </li> - </ul> - {{ end }} - </div> -</main> -{{ end }} -\ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html @@ -1,52 +0,0 @@ -{{ define "head" }} -{{ $options := dict "transpiler" "dartsass" "targetPath" "css/index.css" }} -{{ with resources.Get "sass/layouts/index.scss" | toCSS $options | postCSS | minify | fingerprint }} - <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> -{{ end }} -{{ end }} - -{{ define "main" }} -<main class="grid-container"> - <div id="content" class="index"> - {{ with .Site.GetPage "_index.md" }} - {{ .Content }} - {{ end }} - </div> - - <div class="sidebar"> - {{ if .Site.Taxonomies.categories }} - <h3 class="taxonomy"> - <span class="icon"> - <svg width="1em" height="1em" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="taxonomy-svg"> - <path d="M3.71,16.29a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21,1,1,0,0,0-.21.33,1,1,0,0,0,.21,1.09,1.15,1.15,0,0,0,.33.21.94.94,0,0,0,.76,0,1.15,1.15,0,0,0,.33-.21,1,1,0,0,0,.21-1.09A1,1,0,0,0,3.71,16.29ZM7,8H21a1,1,0,0,0,0-2H7A1,1,0,0,0,7,8ZM3.71,11.29a1,1,0,0,0-1.09-.21,1.15,1.15,0,0,0-.33.21,1,1,0,0,0-.21.33.94.94,0,0,0,0,.76,1.15,1.15,0,0,0,.21.33,1.15,1.15,0,0,0,.33.21.94.94,0,0,0,.76,0,1.15,1.15,0,0,0,.33-.21,1.15,1.15,0,0,0,.21-.33.94.94,0,0,0,0-.76A1,1,0,0,0,3.71,11.29ZM21,11H7a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2ZM3.71,6.29a1,1,0,0,0-.33-.21,1,1,0,0,0-1.09.21,1.15,1.15,0,0,0-.21.33.94.94,0,0,0,0,.76,1.15,1.15,0,0,0,.21.33,1.15,1.15,0,0,0,.33.21,1,1,0,0,0,1.09-.21,1.15,1.15,0,0,0,.21-.33.94.94,0,0,0,0-.76A1.15,1.15,0,0,0,3.71,6.29ZM21,16H7a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Z"/></svg> - </span> - <a href="/categories/">Categories</a> - </h3> - <ul class="nav-list sidenav"> - {{range first 10 ($.Site.GetPage "taxonomyTerm" "categories").Pages }} - <li> - <a href="{{ .Permalink }}">{{.Title}}</a> - </li> - {{ end }} - </ul> - {{ end }} - {{ if .Site.Taxonomies.tags }} - <p></p> - <h3 class="taxonomy"> - <span class="icon"> - <svg width="1em" height="1em" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="taxonomy-svg"> - <path d="M7.5,6A1.5,1.5,0,1,0,9,7.5,1.5,1.5,0,0,0,7.5,6Zm13.62,4.71L12.71,2.29A1,1,0,0,0,12,2H3A1,1,0,0,0,2,3v9a1,1,0,0,0,.29.71l8.42,8.41a3,3,0,0,0,4.24,0L21.12,15a3,3,0,0,0,0-4.24Zm-1.41,2.82h0l-6.18,6.17a1,1,0,0,1-1.41,0L4,11.59V4h7.59l8.12,8.12a1,1,0,0,1,.29.71A1,1,0,0,1,19.71,13.53Z"/></svg> - </span> - <a href="/tags/">Tags</a> - </h3> - <ul class="nav-list sidenav"> - {{range first 10 ($.Site.GetPage "taxonomyTerm" "tags").Pages }} - <li> - <a href="{{ .Permalink }}">{{.Title}}</a> - </li> - {{ end }} - </ul> - {{ end }} - </div> -</main> -{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html @@ -1,8 +0,0 @@ -<footer id="footer"> - <div> - <span>{{ .Site.Params.footnote | safeHTML }}</span> - </div> - <div> - <span>Copyright © {{ now.Format "2006"}} {{ .Site.Author.name }}</span> - </div> -</footer> diff --git a/layouts/partials/header.html b/layouts/partials/header.html @@ -1,25 +0,0 @@ -{{ $parsedUrl := urls.Parse .Site.BaseURL }} -{{ $domain := $parsedUrl.Host }} -{{ $domainWithoutWWW := replace $domain "www." "" }} -<header id="header"> - <h1> - <a href="{{ .Site.BaseURL }}">{{ .Site.Params.title | default .Site.Title }}</a> - <button id="dark-mode-toggle" class="dark-mode-toggle" aria-label="Toggle theme"> - <svg width="2rem" height="2rem" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 496"> - <path fill="currentColor" d="M8,256C8,393,119,504,256,504S504,393,504,256,393,8,256,8,8,119,8,256ZM256,440V72a184,184,0,0,1,0,368Z" transform="translate(-8 -8)"/> - </svg> - </button> - </h1> - - <nav> - {{ range .Site.Menus.main }} - <span class="nav-bar-item"> - {{ if .Pre }} - <span class="icon">{{ .Pre | safeHTML }}</span> - {{ end }} - <a class="link" href="{{ .URL | safeURL }}">{{ .Name }}</a> - </span> - {{ end }} - </nav> -</header> -<hr class="head-rule"></hr> -\ No newline at end of file diff --git a/layouts/partials/math.html b/layouts/partials/math.html @@ -1,7 +0,0 @@ -<link rel="stylesheet" href="{{ "css/katex.min.css" | relURL }}"> -<script type="module"> - import renderMathInElement from "{{ "js/contrib/auto-render.mjs" | relURL }}"; - document.addEventListener("DOMContentLoaded", function() { - renderMathInElement(document.body); - }); -</script> diff --git a/layouts/robots.txt b/layouts/robots.txt @@ -1,2 +0,0 @@ -User-agent: * -Sitemap: {{ "sitemap.xml" | absURL }} diff --git a/layouts/tags/terms.html b/layouts/tags/terms.html @@ -1,22 +0,0 @@ -{{ define "main" }} -<main id="main"> - <h2> - <span class="icon"> - <svg width="1em" height="1em" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="taxonomy-svg"> - <path d="M7.5,6A1.5,1.5,0,1,0,9,7.5,1.5,1.5,0,0,0,7.5,6Zm13.62,4.71L12.71,2.29A1,1,0,0,0,12,2H3A1,1,0,0,0,2,3v9a1,1,0,0,0,.29.71l8.42,8.41a3,3,0,0,0,4.24,0L21.12,15a3,3,0,0,0,0-4.24Zm-1.41,2.82h0l-6.18,6.17a1,1,0,0,1-1.41,0L4,11.59V4h7.59l8.12,8.12a1,1,0,0,1,.29.71A1,1,0,0,1,19.71,13.53Z"/></svg> - </span> - Tags - </h2> - <br style="margin-bottom: 10px"></br> - <div class="row"> - {{ range .Data.Terms.ByCount }} - <ul> - <li><a class="title is-5 is-size-6-mobile" href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ $Totalpage:= len .Pages }} - {{ $Totalpage }} post{{ if ne $Totalpage 1 }}s{{ end }} - </li> - </ul> - {{ end }} - </div> -</main> -{{ end }} -\ No newline at end of file