@@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/peaceiris/hugo:v0.145.0-full AS hugo-builder
|
||||
FROM ghcr.io/peaceiris/hugo:v0.162.1-full AS hugo-builder
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN /usr/bin/hugo --minify --source=src/ --destination /app/build/
|
||||
|
||||
59
Taskfile.yml
Normal file
59
Taskfile.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
version: '3'
|
||||
|
||||
vars:
|
||||
THEME: hugo-theme-m10c
|
||||
SRC_DIR: src
|
||||
PATCHES_DIR: "{{.SRC_DIR}}/patches"
|
||||
THEME_DIR: "{{.SRC_DIR}}/themes/{{.THEME}}"
|
||||
|
||||
tasks:
|
||||
default:
|
||||
desc: Show available tasks
|
||||
cmds:
|
||||
- task --list
|
||||
|
||||
patch:
|
||||
desc: Apply patches to the theme
|
||||
cmds:
|
||||
- cd {{.THEME_DIR}} && git apply "..\..\patches\hugo-theme-m10c-baseof.html.patch" || true
|
||||
- cd {{.THEME_DIR}} && git apply "..\..\patches\hugo-theme-m10c-icon.html.patch" || true
|
||||
|
||||
build:
|
||||
desc: Build the Hugo site
|
||||
deps:
|
||||
- patch
|
||||
cmds:
|
||||
- cd {{.SRC_DIR}} && hugo --minify
|
||||
sources:
|
||||
- "{{.SRC_DIR}}/content/**"
|
||||
- "{{.SRC_DIR}}/layouts/**"
|
||||
- "{{.SRC_DIR}}/config.toml"
|
||||
generates:
|
||||
- "{{.SRC_DIR}}/public/**"
|
||||
|
||||
server:
|
||||
desc: Run Hugo server for local development
|
||||
deps:
|
||||
- patch
|
||||
cmds:
|
||||
- cd {{.SRC_DIR}} && hugo server --minify --port 1313 --bind 0.0.0.0
|
||||
interactive: true
|
||||
|
||||
clean:
|
||||
desc: Clean Hugo build artifacts
|
||||
cmds:
|
||||
- rm -rf "{{.SRC_DIR}}/public"
|
||||
- rm -rf "{{.SRC_DIR}}/resources"
|
||||
|
||||
rebuild:
|
||||
desc: Clean and rebuild the site
|
||||
deps:
|
||||
- clean
|
||||
- build
|
||||
|
||||
update-theme:
|
||||
desc: Update the theme submodule and reapply patches
|
||||
cmds:
|
||||
- git -C {{.THEME_DIR}} pull
|
||||
- task: patch
|
||||
- task: build
|
||||
0
src/.hugo_build.lock
Normal file
0
src/.hugo_build.lock
Normal file
279
src/assets/css/_extra.scss
Normal file
279
src/assets/css/_extra.scss
Normal file
@@ -0,0 +1,279 @@
|
||||
* {
|
||||
box-sizing: border-box
|
||||
}
|
||||
|
||||
html {
|
||||
line-height: 1.6
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: sans-serif;
|
||||
background: #353b43;
|
||||
color: #afbac4
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: #fff
|
||||
}
|
||||
|
||||
a {
|
||||
color: #57cc8a;
|
||||
transition: color .35s;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #fff
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
color: rgba(175, 186, 196, .8)
|
||||
}
|
||||
|
||||
pre {
|
||||
font-size: 1rem;
|
||||
line-height: 1.2em;
|
||||
margin: 0;
|
||||
overflow: auto
|
||||
}
|
||||
|
||||
pre code {
|
||||
font-size: .8em
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: rgba(175, 186, 196, .25)
|
||||
}
|
||||
|
||||
::-moz-selection {
|
||||
background: rgba(175, 186, 196, .25)
|
||||
}
|
||||
|
||||
.app-header {
|
||||
padding: 2.5em;
|
||||
background: #242930;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.app-header-avatar {
|
||||
width: 15rem;
|
||||
height: 15rem
|
||||
}
|
||||
|
||||
.app-container {
|
||||
padding: 2.5rem
|
||||
}
|
||||
|
||||
.app-header-social {
|
||||
font-size: 2em;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.app-header-social a {
|
||||
margin: 0 .1em
|
||||
}
|
||||
|
||||
@media(min-width:940px) {
|
||||
.app-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 20rem;
|
||||
min-height: 100vh
|
||||
}
|
||||
|
||||
.app-container {
|
||||
max-width: 65rem;
|
||||
margin-left: 20rem
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width:940px) {
|
||||
h2 {
|
||||
font-size: large
|
||||
}
|
||||
|
||||
.app-container {
|
||||
padding: .5rem
|
||||
}
|
||||
}
|
||||
|
||||
.error-404 {
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.error-404-title {
|
||||
text-transform: uppercase
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: -.125em
|
||||
}
|
||||
|
||||
.pagination {
|
||||
display: block;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
font-size: .8em;
|
||||
text-align: center;
|
||||
margin: 3em 0
|
||||
}
|
||||
|
||||
.page-item {
|
||||
display: inline-block
|
||||
}
|
||||
|
||||
.page-item .page-link {
|
||||
display: block;
|
||||
padding: .285em .8em
|
||||
}
|
||||
|
||||
.page-item.active .page-link {
|
||||
color: #fff;
|
||||
border-radius: 2em;
|
||||
background: #57cc8a
|
||||
}
|
||||
|
||||
.post-title {
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.post-content>pre,
|
||||
.post-content .highlight {
|
||||
margin: 1em 0
|
||||
}
|
||||
|
||||
.post-content>pre,
|
||||
.post-content .highlight>pre,
|
||||
.post-content .highlight>div {
|
||||
border-left: .4em solid rgba(87, 204, 138, .8);
|
||||
padding: .5em 1em
|
||||
}
|
||||
|
||||
.post-content img {
|
||||
max-width: 100%
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
font-size: .8em
|
||||
}
|
||||
|
||||
.posts-list {
|
||||
padding: 0
|
||||
}
|
||||
|
||||
.posts-list-item {
|
||||
list-style: none;
|
||||
padding: .4em 0
|
||||
}
|
||||
|
||||
.posts-list-item:not(:last-child) {
|
||||
border-bottom: 1px dashed rgba(255, 255, 255, .3)
|
||||
}
|
||||
|
||||
.posts-list-item-description {
|
||||
display: block;
|
||||
font-size: .8em
|
||||
}
|
||||
|
||||
.tag {
|
||||
display: inline-block;
|
||||
margin-right: .2em;
|
||||
padding: 0 .6em;
|
||||
font-size: .9em;
|
||||
border-radius: .2em;
|
||||
white-space: nowrap;
|
||||
background: rgba(255, 255, 255, .1);
|
||||
transition: color .35s, background .35s
|
||||
}
|
||||
|
||||
.tag:hover {
|
||||
transition: color .25s, background .05s;
|
||||
background: rgba(255, 255, 255, .3)
|
||||
}
|
||||
|
||||
.tags-list {
|
||||
padding: 0
|
||||
}
|
||||
|
||||
.tags-list-item {
|
||||
list-style: none;
|
||||
padding: .4em 0
|
||||
}
|
||||
|
||||
.tags-list-item:not(:last-child) {
|
||||
border-bottom: 1px dashed rgba(255, 255, 255, .3)
|
||||
}
|
||||
|
||||
@media(min-width:450px) {
|
||||
.tags-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap
|
||||
}
|
||||
|
||||
.tags-list-item {
|
||||
width: calc(50% - 1em)
|
||||
}
|
||||
|
||||
.tags-list-item:nth-child(even) {
|
||||
margin-left: 1em
|
||||
}
|
||||
|
||||
.tags-list-item:nth-last-child(2) {
|
||||
border: none
|
||||
}
|
||||
}
|
||||
|
||||
.gradient-border {
|
||||
margin: auto;
|
||||
--border-width: 0.35rem;
|
||||
border-radius: .35rem;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-family: Lato, sans-serif;
|
||||
font-size: 2.5rem;
|
||||
text-transform: uppercase;
|
||||
color: #fff;
|
||||
background: #222;
|
||||
border-radius: var(--border-width)
|
||||
}
|
||||
|
||||
.gradient-border::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: calc(-1 * var(--border-width));
|
||||
left: calc(-1 * var(--border-width));
|
||||
z-index: -1;
|
||||
width: calc(100% + var(--border-width) * 2);
|
||||
height: calc(100% + var(--border-width) * 2);
|
||||
background: linear-gradient(60deg, #5f86f2, #a65ff2, #f25fd0, #f25f61, #f2cb5f, #abf25f, #5ff281, #5ff2f0);
|
||||
background-size: 300% 300%;
|
||||
background-position: 0;
|
||||
border-radius: calc(2 * var(--border-width));
|
||||
animation: moveGradient 4s alternate infinite
|
||||
}
|
||||
|
||||
@keyframes moveGradient {
|
||||
50% {
|
||||
background-position: 100%
|
||||
}
|
||||
}
|
||||
|
||||
.gradient-border img {
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
border-radius: 1.5%
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
rm -Rf public/ build/
|
||||
hugo --destination build/
|
||||
@@ -1,12 +1,13 @@
|
||||
baseURL = "https://blog.fluttershub.com/"
|
||||
theme = "m10c"
|
||||
languageCode = "en-us"
|
||||
locale = "en-US"
|
||||
title = "Phoenix's Personal Blog"
|
||||
homepage = "https://fluttershub.com"
|
||||
tags = ["blog","personal","coding"]
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
hardWraps = true
|
||||
unsafe = true
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
|
||||
@@ -5,7 +5,7 @@ date = "2022-11-03"
|
||||
+++
|
||||
|
||||
# Table of Contents
|
||||
{{< table_of_contents >}}
|
||||
{{ .TableOfContents }}
|
||||
|
||||
### Step 1: Setup Gpg4win
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ date = "2022-11-03"
|
||||
+++
|
||||
|
||||
# Table of Contents
|
||||
{{< table_of_contents >}}
|
||||
{{ .TableOfContents }}
|
||||
|
||||
### Step 0: Preparing Windows 10 for OpenSSH (Importent!)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ date = "2020-05-18"
|
||||
## Note: This is here as notes and shouldn't be taken as a direct guide.
|
||||
|
||||
# Table of Contents
|
||||
{{< table_of_contents >}}
|
||||
{{ .TableOfContents }}
|
||||
|
||||
---
|
||||
### Host Specs
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>404 Page not found // Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="404 Page not found"/>
|
||||
<meta name="twitter:description" content="Land of random projects i do."/>
|
||||
|
||||
<meta property="og:title" content="404 Page not found" />
|
||||
<meta property="og:description" content="Land of random projects i do." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://localhost:1313/404.html" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<div class="error-404">
|
||||
<h1 class="error-404-title">O<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-frown">
|
||||
<title>frown</title>
|
||||
<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>
|
||||
</svg>ps... </h1>
|
||||
<p>The link you followed may be broken, or the page may have been removed.</p>
|
||||
<a href="/">Go home <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-arrow-right">
|
||||
<title>arrow-right</title>
|
||||
<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>
|
||||
</svg></a>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 110 KiB |
@@ -1,66 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>Categories // Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Categories"/>
|
||||
<meta name="twitter:description" content="Land of random projects i do."/>
|
||||
|
||||
<meta property="og:title" content="Categories" />
|
||||
<meta property="og:description" content="Land of random projects i do." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://localhost:1313/categories/" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<article>
|
||||
<h1>Categories</h1>
|
||||
<ul class="tags-list">
|
||||
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Categories on Phoenix's Personal Blog</title>
|
||||
<link>http://localhost:1313/categories/</link>
|
||||
<description>Recent content in Categories on Phoenix's Personal Blog</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language><atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1 +0,0 @@
|
||||
*{box-sizing:border-box}html{line-height:1.6}body{margin:0;font-family:sans-serif;background:#353b43;color:#afbac4}h1,h2,h3,h4,h5,h6{color:#fff}a{color:#57cc8a;transition:color .35s;text-decoration:none}a:hover{color:#fff}code{font-family:monospace,monospace;font-size:1em;color:rgba(175,186,196,.8)}pre{font-size:1rem;line-height:1.2em;margin:0;overflow:auto}pre code{font-size:.8em}::selection{background:rgba(175,186,196,.25)}::-moz-selection{background:rgba(175,186,196,.25)}.app-header{padding:2.5em;background:#242930;text-align:center}.app-header-avatar{width:15rem;height:15rem}.app-container{padding:2.5rem}.app-header-social{font-size:2em;color:#fff}.app-header-social a{margin:0 .1em}@media(min-width:940px){.app-header{position:fixed;top:0;left:0;width:20rem;min-height:100vh}.app-container{max-width:65rem;margin-left:20rem}}@media(max-width:940px){h2{font-size:large}.app-container{padding:.5rem}}.error-404{text-align:center}.error-404-title{text-transform:uppercase}.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em}.pagination{display:block;list-style:none;padding:0;font-size:.8em;text-align:center;margin:3em 0}.page-item{display:inline-block}.page-item .page-link{display:block;padding:.285em .8em}.page-item.active .page-link{color:#fff;border-radius:2em;background:#57cc8a}.post-title{color:#fff}.post-content>pre,.post-content .highlight{margin:1em 0}.post-content>pre,.post-content .highlight>pre,.post-content .highlight>div{border-left:.4em solid rgba(87,204,138,.8);padding:.5em 1em}.post-content img{max-width:100%}.post-meta{font-size:.8em}.posts-list{padding:0}.posts-list-item{list-style:none;padding:.4em 0}.posts-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}.posts-list-item-description{display:block;font-size:.8em}.tag{display:inline-block;margin-right:.2em;padding:0 .6em;font-size:.9em;border-radius:.2em;white-space:nowrap;background:rgba(255,255,255,.1);transition:color .35s,background .35s}.tag:hover{transition:color .25s,background .05s;background:rgba(255,255,255,.3)}.tags-list{padding:0}.tags-list-item{list-style:none;padding:.4em 0}.tags-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}@media(min-width:450px){.tags-list{display:flex;flex-wrap:wrap}.tags-list-item{width:calc(50% - 1em)}.tags-list-item:nth-child(even){margin-left:1em}.tags-list-item:nth-last-child(2){border:none}}.gradient-border{margin:auto;--border-width:0.35rem;border-radius:.35rem;position:relative;display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif;font-size:2.5rem;text-transform:uppercase;color:#fff;background:#222;border-radius:var(--border-width)}.gradient-border::after{position:absolute;content:"";top:calc(-1 * var(--border-width));left:calc(-1 * var(--border-width));z-index:-1;width:calc(100% + var(--border-width) * 2);height:calc(100% + var(--border-width) * 2);background:linear-gradient(60deg,#5f86f2,#a65ff2,#f25fd0,#f25f61,#f2cb5f,#abf25f,#5ff281,#5ff2f0);background-size:300% 300%;background-position:0;border-radius:calc(2 * var(--border-width));animation:moveGradient 4s alternate infinite}@keyframes moveGradient{50%{background-position:100%}}.gradient-border img{margin:auto;width:100%;border-radius:1.5%}
|
||||
@@ -1,87 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="Land of random projects i do." />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Phoenix's Personal Blog"/>
|
||||
<meta name="twitter:description" content="Land of random projects i do."/>
|
||||
|
||||
<meta property="og:title" content="Phoenix's Personal Blog" />
|
||||
<meta property="og:description" content="Land of random projects i do." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://localhost:1313/" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<article>
|
||||
<h1>Phoenix's Personal Blog</h1>
|
||||
<ul class="posts-list">
|
||||
|
||||
<li class="posts-list-item">
|
||||
<a class="posts-list-item-title" href="http://localhost:1313/posts/test/">Test Post</a>
|
||||
<span class="posts-list-item-description">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
|
||||
<title>calendar</title>
|
||||
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
|
||||
</svg>
|
||||
May 18, 2020
|
||||
-
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-clock">
|
||||
<title>clock</title>
|
||||
<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>
|
||||
</svg>
|
||||
1 min read
|
||||
</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Phoenix's Personal Blog</title>
|
||||
<link>http://localhost:1313/</link>
|
||||
<description>Recent content on Phoenix's Personal Blog</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Test Post</title>
|
||||
<link>http://localhost:1313/posts/test/</link>
|
||||
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>http://localhost:1313/posts/test/</guid>
|
||||
<description>This is a test HTML &lt;section id=&#34;main&#34;&gt; &lt;div&gt; &lt;h1 id=&#34;title&#34;&gt;{{ .Title }}&lt;/h1&gt; {{ range .Pages }} {{ .Render &#34;summary&#34;}} {{ end }} &lt;/div&gt; &lt;/section&gt; Golang package main import &#34;fmt&#34; func main() { fmt.Println(&#34;hello world&#34;) } </description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1 +0,0 @@
|
||||
<!DOCTYPE html><html><head><title>http://localhost:1313/</title><link rel="canonical" href="http://localhost:1313/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=http://localhost:1313/" /></head></html>
|
||||
@@ -1,87 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>Posts // Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Posts"/>
|
||||
<meta name="twitter:description" content="Land of random projects i do."/>
|
||||
|
||||
<meta property="og:title" content="Posts" />
|
||||
<meta property="og:description" content="Land of random projects i do." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://localhost:1313/posts/" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<article>
|
||||
<h1>Posts</h1>
|
||||
<ul class="posts-list">
|
||||
|
||||
<li class="posts-list-item">
|
||||
<a class="posts-list-item-title" href="http://localhost:1313/posts/test/">Test Post</a>
|
||||
<span class="posts-list-item-description">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
|
||||
<title>calendar</title>
|
||||
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
|
||||
</svg>
|
||||
May 18, 2020
|
||||
-
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-clock">
|
||||
<title>clock</title>
|
||||
<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>
|
||||
</svg>
|
||||
1 min read
|
||||
</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on Phoenix's Personal Blog</title>
|
||||
<link>http://localhost:1313/posts/</link>
|
||||
<description>Recent content in Posts on Phoenix's Personal Blog</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Test Post</title>
|
||||
<link>http://localhost:1313/posts/test/</link>
|
||||
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>http://localhost:1313/posts/test/</guid>
|
||||
<description>This is a test HTML &lt;section id=&#34;main&#34;&gt; &lt;div&gt; &lt;h1 id=&#34;title&#34;&gt;{{ .Title }}&lt;/h1&gt; {{ range .Pages }} {{ .Render &#34;summary&#34;}} {{ end }} &lt;/div&gt; &lt;/section&gt; Golang package main import &#34;fmt&#34; func main() { fmt.Println(&#34;hello world&#34;) } </description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1 +0,0 @@
|
||||
<!DOCTYPE html><html><head><title>http://localhost:1313/posts/</title><link rel="canonical" href="http://localhost:1313/posts/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=http://localhost:1313/posts/" /></head></html>
|
||||
@@ -1,116 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>Test Post // Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Test Post"/>
|
||||
<meta name="twitter:description" content="This is a test HTML <section id="main"> <div> <h1 id="title">{{ .Title }}</h1> {{ range .Pages }} {{ .Render "summary"}} {{ end }} </div> </section> Golang package main import "fmt" func main() { fmt.Println("hello world") } "/>
|
||||
|
||||
<meta property="og:title" content="Test Post" />
|
||||
<meta property="og:description" content="This is a test HTML <section id="main"> <div> <h1 id="title">{{ .Title }}</h1> {{ range .Pages }} {{ .Render "summary"}} {{ end }} </div> </section> Golang package main import "fmt" func main() { fmt.Println("hello world") } " />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="http://localhost:1313/posts/test/" /><meta property="article:section" content="posts" />
|
||||
<meta property="article:published_time" content="2020-05-18T00:00:00+00:00" />
|
||||
<meta property="article:modified_time" content="2020-05-18T00:00:00+00:00" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<article class="post">
|
||||
<header class="post-header">
|
||||
<h1 class ="post-title">Test Post</h1>
|
||||
<div class="post-meta">
|
||||
<div>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
|
||||
<title>calendar</title>
|
||||
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
|
||||
</svg>
|
||||
May 18, 2020
|
||||
</div>
|
||||
<div>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-clock">
|
||||
<title>clock</title>
|
||||
<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>
|
||||
</svg>
|
||||
1 min read
|
||||
</div>
|
||||
<div>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
|
||||
<title>tag</title>
|
||||
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
|
||||
</svg>
|
||||
<a class="tag" href="http://localhost:1313/tags/development/">development</a>
|
||||
<a class="tag" href="http://localhost:1313/tags/test/">Test</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="post-content">
|
||||
<h1 id="this-is-a-test">This is a test</h1>
|
||||
<!-- raw HTML omitted -->
|
||||
<h4 id="html">HTML</h4>
|
||||
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-html" data-lang="html"><<span style="color:#ff79c6">section</span> <span style="color:#50fa7b">id</span><span style="color:#ff79c6">=</span><span style="color:#f1fa8c">"main"</span>>
|
||||
<<span style="color:#ff79c6">div</span>>
|
||||
<<span style="color:#ff79c6">h1</span> <span style="color:#50fa7b">id</span><span style="color:#ff79c6">=</span><span style="color:#f1fa8c">"title"</span>>{{ .Title }}</<span style="color:#ff79c6">h1</span>>
|
||||
{{ range .Pages }}
|
||||
{{ .Render "summary"}}
|
||||
{{ end }}
|
||||
</<span style="color:#ff79c6">div</span>>
|
||||
</<span style="color:#ff79c6">section</span>></code></pre></div>
|
||||
<h4 id="golang">Golang</h4>
|
||||
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-go" data-lang="go"><span style="color:#ff79c6">package</span> main
|
||||
|
||||
<span style="color:#ff79c6">import</span> <span style="color:#f1fa8c">"fmt"</span>
|
||||
|
||||
<span style="color:#8be9fd;font-style:italic">func</span> <span style="color:#50fa7b">main</span>() {
|
||||
fmt.<span style="color:#50fa7b">Println</span>(<span style="color:#f1fa8c">"hello world"</span>)
|
||||
}</code></pre></div>
|
||||
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>http://localhost:1313/tags/development/</loc>
|
||||
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/</loc>
|
||||
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/posts/</loc>
|
||||
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/tags/</loc>
|
||||
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/tags/test/</loc>
|
||||
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/posts/test/</loc>
|
||||
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/categories/</loc>
|
||||
</url>
|
||||
</urlset>
|
||||
@@ -1,87 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>development // Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="development"/>
|
||||
<meta name="twitter:description" content="Land of random projects i do."/>
|
||||
|
||||
<meta property="og:title" content="development" />
|
||||
<meta property="og:description" content="Land of random projects i do." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://localhost:1313/tags/development/" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<article>
|
||||
<h1>development</h1>
|
||||
<ul class="posts-list">
|
||||
|
||||
<li class="posts-list-item">
|
||||
<a class="posts-list-item-title" href="http://localhost:1313/posts/test/">Test Post</a>
|
||||
<span class="posts-list-item-description">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
|
||||
<title>calendar</title>
|
||||
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
|
||||
</svg>
|
||||
May 18, 2020
|
||||
-
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-clock">
|
||||
<title>clock</title>
|
||||
<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>
|
||||
</svg>
|
||||
1 min read
|
||||
</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>development on Phoenix's Personal Blog</title>
|
||||
<link>http://localhost:1313/tags/development/</link>
|
||||
<description>Recent content in development on Phoenix's Personal Blog</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/development/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Test Post</title>
|
||||
<link>http://localhost:1313/posts/test/</link>
|
||||
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>http://localhost:1313/posts/test/</guid>
|
||||
<description>This is a test HTML &lt;section id=&#34;main&#34;&gt; &lt;div&gt; &lt;h1 id=&#34;title&#34;&gt;{{ .Title }}&lt;/h1&gt; {{ range .Pages }} {{ .Render &#34;summary&#34;}} {{ end }} &lt;/div&gt; &lt;/section&gt; Golang package main import &#34;fmt&#34; func main() { fmt.Println(&#34;hello world&#34;) } </description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1 +0,0 @@
|
||||
<!DOCTYPE html><html><head><title>http://localhost:1313/tags/development/</title><link rel="canonical" href="http://localhost:1313/tags/development/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=http://localhost:1313/tags/development/" /></head></html>
|
||||
@@ -1,88 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>Tags // Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Tags"/>
|
||||
<meta name="twitter:description" content="Land of random projects i do."/>
|
||||
|
||||
<meta property="og:title" content="Tags" />
|
||||
<meta property="og:description" content="Land of random projects i do." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://localhost:1313/tags/" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<article>
|
||||
<h1>Tags</h1>
|
||||
<ul class="tags-list">
|
||||
|
||||
<li class="tags-list-item">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
|
||||
<title>tag</title>
|
||||
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
|
||||
</svg>
|
||||
<a class="tags-list-item-title" href="http://localhost:1313/tags/development/">
|
||||
(1)
|
||||
development
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="tags-list-item">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
|
||||
<title>tag</title>
|
||||
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
|
||||
</svg>
|
||||
<a class="tags-list-item-title" href="http://localhost:1313/tags/test/">
|
||||
(1)
|
||||
Test
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tags on Phoenix's Personal Blog</title>
|
||||
<link>http://localhost:1313/tags/</link>
|
||||
<description>Recent content in Tags on Phoenix's Personal Blog</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>development</title>
|
||||
<link>http://localhost:1313/tags/development/</link>
|
||||
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>http://localhost:1313/tags/development/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Test</title>
|
||||
<link>http://localhost:1313/tags/test/</link>
|
||||
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>http://localhost:1313/tags/test/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1,87 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<title>Test // Phoenix's Personal Blog</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="Hugo 0.83.0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Phoenix" />
|
||||
<meta name="description" content="" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Test"/>
|
||||
<meta name="twitter:description" content="Land of random projects i do."/>
|
||||
|
||||
<meta property="og:title" content="Test" />
|
||||
<meta property="og:description" content="Land of random projects i do." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://localhost:1313/tags/test/" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="http://localhost:1313/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
|
||||
<h2>Phoenix's Personal Blog</h2>
|
||||
<nav class="app-header-menu">
|
||||
<a class="app-header-menu-item" href="/">Home</a>
|
||||
-
|
||||
|
||||
<a class="app-header-menu-item" href="/tags/">Tags</a>
|
||||
</nav>
|
||||
<p>Land of random projects i do.</p>
|
||||
<div class="app-header-social">
|
||||
|
||||
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
|
||||
<title>Github</title>
|
||||
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
|
||||
<title>Twitter</title>
|
||||
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<main class="app-container">
|
||||
|
||||
<article>
|
||||
<h1>Test</h1>
|
||||
<ul class="posts-list">
|
||||
|
||||
<li class="posts-list-item">
|
||||
<a class="posts-list-item-title" href="http://localhost:1313/posts/test/">Test Post</a>
|
||||
<span class="posts-list-item-description">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
|
||||
<title>calendar</title>
|
||||
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
|
||||
</svg>
|
||||
May 18, 2020
|
||||
-
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-clock">
|
||||
<title>clock</title>
|
||||
<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>
|
||||
</svg>
|
||||
1 min read
|
||||
</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Test on Phoenix's Personal Blog</title>
|
||||
<link>http://localhost:1313/tags/test/</link>
|
||||
<description>Recent content in Test on Phoenix's Personal Blog</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/test/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Test Post</title>
|
||||
<link>http://localhost:1313/posts/test/</link>
|
||||
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>http://localhost:1313/posts/test/</guid>
|
||||
<description>This is a test HTML &lt;section id=&#34;main&#34;&gt; &lt;div&gt; &lt;h1 id=&#34;title&#34;&gt;{{ .Title }}&lt;/h1&gt; {{ range .Pages }} {{ .Render &#34;summary&#34;}} {{ end }} &lt;/div&gt; &lt;/section&gt; Golang package main import &#34;fmt&#34; func main() { fmt.Println(&#34;hello world&#34;) } </description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1 +0,0 @@
|
||||
<!DOCTYPE html><html><head><title>http://localhost:1313/tags/test/</title><link rel="canonical" href="http://localhost:1313/tags/test/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=http://localhost:1313/tags/test/" /></head></html>
|
||||
51
src/layouts/_default/baseof.html
Normal file
51
src/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||
<head>
|
||||
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} // {{ .Site.Title }}{{ end }}</title>
|
||||
<link rel="shortcut icon" href="{{ .Site.Params.favicon | default "/favicon.ico" }}" />
|
||||
<meta charset="utf-8" />
|
||||
{{ hugo.Generator }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="{{ .Site.Params.author | default "John Doe" }}" />
|
||||
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
|
||||
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint -}}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}" />
|
||||
{{ $style := resources.Get "css/syntax.css" | resources.ExecuteAsTemplate "css/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint -}}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}" />
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="app-header">
|
||||
<a class="gradient-border" href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.png" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
|
||||
<h2>{{ .Site.Title }}</h2>
|
||||
{{- with .Site.Menus.main }}
|
||||
<nav class="app-header-menu">
|
||||
{{- range $key, $item := . }}
|
||||
{{- if ne $key 0 }}
|
||||
{{ $.Site.Params.menu_item_separator | default " - " | safeHTML }}
|
||||
{{ end }}
|
||||
<a class="app-header-menu-item" href="{{ $item.URL }}">{{ $item.Name }}</a>
|
||||
{{- end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
|
||||
{{- with .Site.Params.social }}
|
||||
<div class="app-header-social">
|
||||
{{ range . }}
|
||||
<a href="{{ .url }}" target="_blank" rel="noreferrer noopener">
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" .icon "title" .name) }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</header>
|
||||
<main class="app-container">
|
||||
{{ block "main" . }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
24
src/layouts/_default/list.html
Normal file
24
src/layouts/_default/list.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{{ define "main" }}
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<ul class="posts-list">
|
||||
{{ range where .Paginator.Pages "Type" "!=" "page" }}
|
||||
{{ if not .Params.hidden }}
|
||||
<li class="posts-list-item">
|
||||
<a class="posts-list-item-title" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<span class="posts-list-item-description">
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
|
||||
{{ .PublishDate.Format "Jan 2, 2006" }}
|
||||
{{ if not .Site.Params.noreadingtime }}
|
||||
-
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
|
||||
{{ .ReadingTime }} min read
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "pagination.html" $ }}
|
||||
</article>
|
||||
{{ end }}
|
||||
43
src/layouts/_default/single.html
Normal file
43
src/layouts/_default/single.html
Normal file
@@ -0,0 +1,43 @@
|
||||
{{ define "main" }}
|
||||
<article class="post">
|
||||
<header class="post-header">
|
||||
<h1 class ="post-title">{{ .Title }}</h1>
|
||||
{{- if ne .Type "page" }}
|
||||
<div class="post-meta">
|
||||
<div>
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
|
||||
{{ .PublishDate.Format "Jan 2, 2006" }}
|
||||
</div>
|
||||
{{ if ne .Lastmod .Date }}
|
||||
<div>
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "git-commit") }}
|
||||
Last Edited: {{ .Lastmod.Format "Jan 2, 2006" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.noreadingtime }}
|
||||
<div>
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
|
||||
{{ .ReadingTime }} min read
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- with .Params.tags }}
|
||||
<div>
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
|
||||
{{- range . -}}
|
||||
{{ with $.Site.GetPage (printf "/%s/%s" "tags" . ) }}
|
||||
<a class="tag" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</header>
|
||||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
18
src/layouts/_default/terms.html
Normal file
18
src/layouts/_default/terms.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{{ define "main" }}
|
||||
{{if not .Page.Params.hidden}}
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<ul class="tags-list">
|
||||
{{ range .Data.Terms.ByCount }}
|
||||
<li class="tags-list-item">
|
||||
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
|
||||
<a class="tags-list-item-title" href="{{ .Page.Permalink }}">
|
||||
({{ .Count }})
|
||||
{{ .Page.Title }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
3
src/layouts/shortcodes/table_of_contents.html
Normal file
3
src/layouts/shortcodes/table_of_contents.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="toc" class="well col-md-4 col-sm-6">
|
||||
{{ .Page.TableOfContents }}
|
||||
</div>
|
||||
@@ -1 +0,0 @@
|
||||
*{box-sizing:border-box}html{line-height:1.6}body{margin:0;font-family:sans-serif;background:#353b43;color:#afbac4}h1,h2,h3,h4,h5,h6{color:#fff}a{color:#57cc8a;transition:color .35s;text-decoration:none}a:hover{color:#fff}code{font-family:monospace,monospace;font-size:1em;color:rgba(175,186,196,.8)}pre{font-size:1rem;line-height:1.2em;margin:0;overflow:auto}pre code{font-size:.8em}::selection{background:rgba(175,186,196,.25)}::-moz-selection{background:rgba(175,186,196,.25)}.app-header{padding:2.5em;background:#242930;text-align:center}.app-header-avatar{width:15rem;height:15rem}.app-container{padding:2.5rem}.app-header-social{font-size:2em;color:#fff}.app-header-social a{margin:0 .1em}@media(min-width:940px){.app-header{position:fixed;top:0;left:0;width:20rem;min-height:100vh}.app-container{max-width:65rem;margin-left:20rem}}@media(max-width:940px){h2{font-size:large}.app-container{padding:.5rem}}.error-404{text-align:center}.error-404-title{text-transform:uppercase}.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em}.pagination{display:block;list-style:none;padding:0;font-size:.8em;text-align:center;margin:3em 0}.page-item{display:inline-block}.page-item .page-link{display:block;padding:.285em .8em}.page-item.active .page-link{color:#fff;border-radius:2em;background:#57cc8a}.post-title{color:#fff}.post-content>pre,.post-content .highlight{margin:1em 0}.post-content>pre,.post-content .highlight>pre,.post-content .highlight>div{border-left:.4em solid rgba(87,204,138,.8);padding:.5em 1em}.post-content img{max-width:100%}.post-meta{font-size:.8em}.posts-list{padding:0}.posts-list-item{list-style:none;padding:.4em 0}.posts-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}.posts-list-item-description{display:block;font-size:.8em}.tag{display:inline-block;margin-right:.2em;padding:0 .6em;font-size:.9em;border-radius:.2em;white-space:nowrap;background:rgba(255,255,255,.1);transition:color .35s,background .35s}.tag:hover{transition:color .25s,background .05s;background:rgba(255,255,255,.3)}.tags-list{padding:0}.tags-list-item{list-style:none;padding:.4em 0}.tags-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}@media(min-width:450px){.tags-list{display:flex;flex-wrap:wrap}.tags-list-item{width:calc(50% - 1em)}.tags-list-item:nth-child(even){margin-left:1em}.tags-list-item:nth-last-child(2){border:none}}.gradient-border{margin:auto;--border-width:0.35rem;border-radius:.35rem;position:relative;display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif;font-size:2.5rem;text-transform:uppercase;color:#fff;background:#222;border-radius:var(--border-width)}.gradient-border::after{position:absolute;content:"";top:calc(-1 * var(--border-width));left:calc(-1 * var(--border-width));z-index:-1;width:calc(100% + var(--border-width) * 2);height:calc(100% + var(--border-width) * 2);background:linear-gradient(60deg,#5f86f2,#a65ff2,#f25fd0,#f25f61,#f2cb5f,#abf25f,#5ff281,#5ff2f0);background-size:300% 300%;background-position:0;border-radius:calc(2 * var(--border-width));animation:moveGradient 4s alternate infinite}@keyframes moveGradient{50%{background-position:100%}}.gradient-border img{margin:auto;width:100%;border-radius:1.5%}
|
||||
@@ -1 +0,0 @@
|
||||
{"Target":"css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css","MediaType":"text/css","Data":{"Integrity":"sha256-THDLSJe6FdLAn52r7Wsmt1HwY40qFqKOw4z83i/8TeY="}}
|
||||
BIN
src/static/avatar.jpg
Normal file
BIN
src/static/avatar.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
Reference in New Issue
Block a user