delete site content from site 5

This commit is contained in:
2020-01-19 06:56:37 -06:00
parent e694754d1d
commit 6e721487c7
60 changed files with 0 additions and 5249 deletions

View File

@@ -1,6 +0,0 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View File

@@ -1,4 +0,0 @@
baseURL = "http://192.168.1.107:8080"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "papercss-hugo-theme"

View File

@@ -1,6 +0,0 @@
---
title: "Post01"
date: 2020-01-18T13:28:49-06:00
draft: false
---

View File

@@ -1,38 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -1,2 +0,0 @@
exampleSite/public/
resources/

View File

@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2019 Zachary Betz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,95 +0,0 @@
# PaperCSS
[![Netlify Status](https://api.netlify.com/api/v1/badges/3e3a0d5d-854f-45f2-9e30-e8a86907956a/deploy-status)](https://app.netlify.com/sites/papercss-hugo-theme/deploys)
A Hugo theme made with PaperCSS, the less formal CSS framework.
## Table of contents
- [Demo](#demo)
- [Minimum Hugo version](#minimum-hugo-version)
- [Installation](#installation)
- [Updating](#updating)
- [Run example site](#run-example-site)
- [Configuration](#configuration)
- [Favicons](#favicons)
- [Shortcodes](#shortcodes)
- [Disable toc for a blog post](#disable-toc-for-a-blog-post)
- [Disable summary for a blog post](#disable-summary-for-a-blog-post)
- [Getting help](#getting-help)
- [Credits](#credits)
## Demo
https://papercss-hugo-theme.netlify.com/
## Minimum Hugo version
Hugo version `0.60.1` or higher is required. View the [Hugo releases](https://github.com/gohugoio/hugo/releases) and download the binary for your OS.
## Installation
From the root of your site:
```
git submodule add https://github.com/zwbetz-gh/papercss-hugo-theme.git themes/papercss-hugo-theme
```
## Updating
From the root of your site:
```
git submodule update --remote --merge
```
## Run example site
From the root of `themes/papercss-hugo-theme/exampleSite`:
```
hugo server --themesDir ../..
```
## Configuration
Copy `config.yaml` from the [`exampleSite`](https://github.com/zwbetz-gh/papercss-hugo-theme/tree/master/exampleSite), then edit as desired.
## Favicons
Upload your image to [RealFaviconGenerator](https://realfavicongenerator.net/) then copy-paste the generated favicon files under `static`.
## Shortcodes
See the [full list of supported shortcodes](https://papercss-hugo-theme.netlify.com/papercss-shortcodes/).
## Disable toc for a blog post
Blog posts that have two or more subheadings (`<h2>`s) automatically get a table of contents. To disable this set `toc` to `false`. For example:
```
---
title: "My page with a few headings"
toc: false
---
```
## Disable summary for a blog post
The homepage blog post listing shows a summary for each post. To disable this for an individual post set `show_summary` to `false`. For example:
```
---
title: "My page with some stellar content"
show_summary: false
---
```
## Getting help
If you run into an issue that isn't answered by this documentation or the [`exampleSite`](https://github.com/zwbetz-gh/papercss-hugo-theme/tree/master/exampleSite), then visit the [Hugo forum](https://discourse.gohugo.io/). The folks there are helpful and friendly. **Before** asking your question, be sure to read the [requesting help guidelines](https://discourse.gohugo.io/t/requesting-help/9132). Feel free to tag me in your question, my forum username is [@zwbetz](https://discourse.gohugo.io/u/zwbetz/summary).
## Credits
Thank you to [Rhyne Vlaservich](https://www.vlaservich.com/) for creating [PaperCSS](https://www.getpapercss.com/), and all the [contributors](https://github.com/papercss/papercss/graphs/contributors).

View File

@@ -1,6 +0,0 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
tags: []
---

View File

@@ -1,46 +0,0 @@
/* base */
body {
background-image: url('{{ "img/geometry2.png" | absURL }}');
}
/* anchors */
a,
a:visited {
color: rgb(0, 0, 238);
background-image: none;
text-decoration: underline;
}
/* navbar */
nav a,
nav a:visited {
color: #41403e;
text-decoration: none;
}
/* blockquote */
blockquote {
font-style: italic;
}
/* post list */
.post-list {
font-size: 2em;
}
.summary {
margin-bottom: 0.1em;
}
/* post single */
.post-title {
margin-bottom: 0.1em;
}
/* toc */
.toc {
padding: 1em;
margin-top: 1em;
}
.toc h2 {
font-size: 1.3em;
}

View File

@@ -1,38 +0,0 @@
baseURL = "https://example.com"
languageCode = "en-us"
defaultContentLanguage = "en"
title = "PaperCSS"
theme = "papercss-hugo-theme"
googleAnalytics = "UA-123456789-1"
[taxonomies]
tag = "tags"
[permalinks]
post = "/:filename/"
[imaging]
quality = 99
[params]
homeMetaContent = "A Hugo theme made with PaperCSS, the less formal CSS framework."
# For more date formats see https://gohugo.io/functions/format/
dateFormat = "Jan 2, 2006"
[menu]
[[menu.nav]]
name = "Blog"
url = "/"
weight = 1
[[menu.nav]]
name = "Tags"
url = "/tags/"
weight = 2
[[menu.nav]]
name = "About"
url = "/about/"
weight = 3
[[menu.nav]]
name = "RSS"
url = "/index.xml"
weight = 4

View File

@@ -1,66 +0,0 @@
baseURL: https://example.com
languageCode: en-us
defaultContentLanguage: en
title: PaperCSS
theme: papercss-hugo-theme
googleAnalytics: UA-123456789-1
taxonomies:
tag: tags
permalinks:
post: /:filename/
imaging:
quality: 99
params:
homeMetaContent: A Hugo theme made with PaperCSS, the less formal CSS framework.
# For more date formats see https://gohugo.io/functions/format/
dateFormat: Jan 2, 2006
menu:
nav:
- name: Blog
url: /
weight: 1
- name: Tags
url: /tags/
weight: 2
- name: About
url: /about/
weight: 3
- name: RSS
url: /index.xml
weight: 4
markup:
defaultMarkdownHandler: goldmark
goldmark:
extensions:
definitionList: true
footnote: true
linkify: true
strikethrough: true
table: true
taskList: true
typographer: true
parser:
attribute: true
autoHeadingID: true
renderer:
hardWraps: false
unsafe: true
xHTML: false
highlight:
codeFences: true
hl_Lines: ""
lineNoStart: 1
lineNos: false
lineNumbersInTable: true
noClasses: true
style: monokai
tabWidth: 4
tableOfContents:
endLevel: 6
startLevel: 2

View File

@@ -1,19 +0,0 @@
+++
title = "About"
date = "2014-04-09"
aliases = ["about-us","about-hugo","contact"]
author = "Hugo Authors"
+++
Hugo is the **worlds fastest framework for building websites**. It is written in Go.
It makes use of a variety of open source projects including:
* https://github.com/russross/blackfriday
* https://github.com/alecthomas/chroma
* https://github.com/muesli/smartcrop
* https://github.com/spf13/cobra
* https://github.com/spf13/viper
Learn more and contribute on [GitHub](https://github.com/gohugoio).

View File

@@ -1,5 +0,0 @@
+++
aliases = ["posts","articles","blog","showcase"]
title = "Posts"
author = "Hugo Authors"
+++

View File

@@ -1,345 +0,0 @@
+++
title = "(Hu)go Template Primer"
description = ""
tags = [
"go",
"golang",
"templates",
"themes",
"development",
]
date = "2014-04-02"
categories = [
"Development",
"golang",
]
series = ["Hugo 101"]
author = "Hugo Authors"
+++
Hugo uses the excellent [Go][] [html/template][gohtmltemplate] library for
its template engine. It is an extremely lightweight engine that provides a very
small amount of logic. In our experience that it is just the right amount of
logic to be able to create a good static website. If you have used other
template systems from different languages or frameworks you will find a lot of
similarities in Go templates.
This document is a brief primer on using Go templates. The [Go docs][gohtmltemplate]
provide more details.
## Introduction to Go Templates
Go templates provide an extremely simple template language. It adheres to the
belief that only the most basic of logic belongs in the template or view layer.
One consequence of this simplicity is that Go templates parse very quickly.
A unique characteristic of Go templates is they are content aware. Variables and
content will be sanitized depending on the context of where they are used. More
details can be found in the [Go docs][gohtmltemplate].
## Basic Syntax
Golang templates are HTML files with the addition of variables and
functions.
**Go variables and functions are accessible within {{ }}**
Accessing a predefined variable "foo":
{{ foo }}
**Parameters are separated using spaces**
Calling the add function with input of 1, 2:
{{ add 1 2 }}
**Methods and fields are accessed via dot notation**
Accessing the Page Parameter "bar"
{{ .Params.bar }}
**Parentheses can be used to group items together**
{{ if or (isset .Params "alt") (isset .Params "caption") }} Caption {{ end }}
## Variables
Each Go template has a struct (object) made available to it. In hugo each
template is passed either a page or a node struct depending on which type of
page you are rendering. More details are available on the
[variables](/layout/variables) page.
A variable is accessed by referencing the variable name.
<title>{{ .Title }}</title>
Variables can also be defined and referenced.
{{ $address := "123 Main St."}}
{{ $address }}
## Functions
Go template ship with a few functions which provide basic functionality. The Go
template system also provides a mechanism for applications to extend the
available functions with their own. [Hugo template
functions](/layout/functions) provide some additional functionality we believe
are useful for building websites. Functions are called by using their name
followed by the required parameters separated by spaces. Template
functions cannot be added without recompiling hugo.
**Example:**
{{ add 1 2 }}
## Includes
When including another template you will pass to it the data it will be
able to access. To pass along the current context please remember to
include a trailing dot. The templates location will always be starting at
the /layout/ directory within Hugo.
**Example:**
{{ template "chrome/header.html" . }}
## Logic
Go templates provide the most basic iteration and conditional logic.
### Iteration
Just like in Go, the Go templates make heavy use of range to iterate over
a map, array or slice. The following are different examples of how to use
range.
**Example 1: Using Context**
{{ range array }}
{{ . }}
{{ end }}
**Example 2: Declaring value variable name**
{{range $element := array}}
{{ $element }}
{{ end }}
**Example 2: Declaring key and value variable name**
{{range $index, $element := array}}
{{ $index }}
{{ $element }}
{{ end }}
### Conditionals
If, else, with, or, & and provide the framework for handling conditional
logic in Go Templates. Like range, each statement is closed with `end`.
Go Templates treat the following values as false:
* false
* 0
* any array, slice, map, or string of length zero
**Example 1: If**
{{ if isset .Params "title" }}<h4>{{ index .Params "title" }}</h4>{{ end }}
**Example 2: If -> Else**
{{ if isset .Params "alt" }}
{{ index .Params "alt" }}
{{else}}
{{ index .Params "caption" }}
{{ end }}
**Example 3: And & Or**
{{ if and (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
**Example 4: With**
An alternative way of writing "if" and then referencing the same value
is to use "with" instead. With rebinds the context `.` within its scope,
and skips the block if the variable is absent.
The first example above could be simplified as:
{{ with .Params.title }}<h4>{{ . }}</h4>{{ end }}
**Example 5: If -> Else If**
{{ if isset .Params "alt" }}
{{ index .Params "alt" }}
{{ else if isset .Params "caption" }}
{{ index .Params "caption" }}
{{ end }}
## Pipes
One of the most powerful components of Go templates is the ability to
stack actions one after another. This is done by using pipes. Borrowed
from unix pipes, the concept is simple, each pipeline's output becomes the
input of the following pipe.
Because of the very simple syntax of Go templates, the pipe is essential
to being able to chain together function calls. One limitation of the
pipes is that they only can work with a single value and that value
becomes the last parameter of the next pipeline.
A few simple examples should help convey how to use the pipe.
**Example 1 :**
{{ if eq 1 1 }} Same {{ end }}
is the same as
{{ eq 1 1 | if }} Same {{ end }}
It does look odd to place the if at the end, but it does provide a good
illustration of how to use the pipes.
**Example 2 :**
{{ index .Params "disqus_url" | html }}
Access the page parameter called "disqus_url" and escape the HTML.
**Example 3 :**
{{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
Stuff Here
{{ end }}
Could be rewritten as
{{ isset .Params "caption" | or isset .Params "title" | or isset .Params "attr" | if }}
Stuff Here
{{ end }}
## Context (aka. the dot)
The most easily overlooked concept to understand about Go templates is that {{ . }}
always refers to the current context. In the top level of your template this
will be the data set made available to it. Inside of a iteration it will have
the value of the current item. When inside of a loop the context has changed. .
will no longer refer to the data available to the entire page. If you need to
access this from within the loop you will likely want to set it to a variable
instead of depending on the context.
**Example:**
{{ $title := .Site.Title }}
{{ range .Params.tags }}
<li> <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li>
{{ end }}
Notice how once we have entered the loop the value of {{ . }} has changed. We
have defined a variable outside of the loop so we have access to it from within
the loop.
# Hugo Parameters
Hugo provides the option of passing values to the template language
through the site configuration (for sitewide values), or through the meta
data of each specific piece of content. You can define any values of any
type (supported by your front matter/config format) and use them however
you want to inside of your templates.
## Using Content (page) Parameters
In each piece of content you can provide variables to be used by the
templates. This happens in the [front matter](/content/front-matter).
An example of this is used in this documentation site. Most of the pages
benefit from having the table of contents provided. Sometimes the TOC just
doesn't make a lot of sense. We've defined a variable in our front matter
of some pages to turn off the TOC from being displayed.
Here is the example front matter:
```
---
title: "Permalinks"
date: "2013-11-18"
aliases:
- "/doc/permalinks/"
groups: ["extras"]
groups_weight: 30
notoc: true
---
```
Here is the corresponding code inside of the template:
{{ if not .Params.notoc }}
<div id="toc" class="well col-md-4 col-sm-6">
{{ .TableOfContents }}
</div>
{{ end }}
## Using Site (config) Parameters
In your top-level configuration file (eg, `config.yaml`) you can define site
parameters, which are values which will be available to you in chrome.
For instance, you might declare:
```yaml
params:
CopyrightHTML: "Copyright &#xA9; 2013 John Doe. All Rights Reserved."
TwitterUser: "spf13"
SidebarRecentLimit: 5
```
Within a footer layout, you might then declare a `<footer>` which is only
provided if the `CopyrightHTML` parameter is provided, and if it is given,
you would declare it to be HTML-safe, so that the HTML entity is not escaped
again. This would let you easily update just your top-level config file each
January 1st, instead of hunting through your templates.
```
{{if .Site.Params.CopyrightHTML}}<footer>
<div class="text-center">{{.Site.Params.CopyrightHTML | safeHtml}}</div>
</footer>{{end}}
```
An alternative way of writing the "if" and then referencing the same value
is to use "with" instead. With rebinds the context `.` within its scope,
and skips the block if the variable is absent:
```
{{with .Site.Params.TwitterUser}}<span class="twitter">
<a href="https://twitter.com/{{.}}" rel="author">
<img src="/images/twitter.png" width="48" height="48" title="Twitter: {{.}}"
alt="Twitter"></a>
</span>{{end}}
```
Finally, if you want to pull "magic constants" out of your layouts, you can do
so, such as in this example:
```
<nav class="recent">
<h1>Recent Posts</h1>
<ul>{{range first .Site.Params.SidebarRecentLimit .Site.Recent}}
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
{{end}}</ul>
</nav>
```
[go]: https://golang.org/
[gohtmltemplate]: https://golang.org/pkg/html/template/

View File

@@ -1,91 +0,0 @@
+++
title = "Getting Started with Hugo"
description = ""
tags = [
"go",
"golang",
"hugo",
"development",
]
date = "2014-04-02"
categories = [
"Development",
"golang",
]
series = ["Hugo 101"]
author = "Hugo Authors"
show_summary = false
+++
## Step 1. Install Hugo
Go to [Hugo releases](https://github.com/spf13/hugo/releases) and download the
appropriate version for your OS and architecture.
Save it somewhere specific as we will be using it in the next step.
More complete instructions are available at [Install Hugo](https://gohugo.io/getting-started/installing/)
## Step 2. Build the Docs
Hugo has its own example site which happens to also be the documentation site
you are reading right now.
Follow the following steps:
1. Clone the [Hugo repository](http://github.com/spf13/hugo)
2. Go into the repo
3. Run hugo in server mode and build the docs
4. Open your browser to http://localhost:1313
Corresponding pseudo commands:
git clone https://github.com/spf13/hugo
cd hugo
/path/to/where/you/installed/hugo server --source=./docs
> 29 pages created
> 0 tags index created
> in 27 ms
> Web Server is available at http://localhost:1313
> Press ctrl+c to stop
Once you've gotten here, follow along the rest of this page on your local build.
## Step 3. Change the docs site
Stop the Hugo process by hitting Ctrl+C.
Now we are going to run hugo again, but this time with hugo in watch mode.
/path/to/hugo/from/step/1/hugo server --source=./docs --watch
> 29 pages created
> 0 tags index created
> in 27 ms
> Web Server is available at http://localhost:1313
> Watching for changes in /Users/spf13/Code/hugo/docs/content
> Press ctrl+c to stop
Open your [favorite editor](http://vim.spf13.com) and change one of the source
content pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.
Content files are found in `docs/content/`. Unless otherwise specified, files
are located at the same relative location as the url, in our case
`docs/content/overview/quickstart.md`.
Change and save this file.. Notice what happened in your terminal.
> Change detected, rebuilding site
> 29 pages created
> 0 tags index created
> in 26 ms
Refresh the browser and observe that the typo is now fixed.
Notice how quick that was. Try to refresh the site before it's finished building. I double dare you.
Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.
## Step 4. Have fun
The best way to learn something is to play with it.

View File

@@ -1,158 +0,0 @@
---
author: "Hugo Authors"
date: 2014-03-10
linktitle: Migrating from Jekyll
title: Migrate to Hugo from Jekyll
weight: 10
series:
- Hugo 101
aliases:
- /blog/migrate-from-jekyll/
show_summary: false
---
## Move static content to `static`
Jekyll has a rule that any directory not starting with `_` will be copied as-is to the `_site` output. Hugo keeps all static content under `static`. You should therefore move it all there.
With Jekyll, something that looked like
<root>/
▾ images/
logo.png
should become
<root>/
▾ static/
▾ images/
logo.png
Additionally, you'll want any files that should reside at the root (such as `CNAME`) to be moved to `static`.
## Create your Hugo configuration file
Hugo can read your configuration as JSON, YAML or TOML. Hugo supports parameters custom configuration too. Refer to the [Hugo configuration documentation](/overview/configuration/) for details.
## Set your configuration publish folder to `_site`
The default is for Jekyll to publish to `_site` and for Hugo to publish to `public`. If, like me, you have [`_site` mapped to a git submodule on the `gh-pages` branch](http://blog.blindgaenger.net/generate_github_pages_in_a_submodule.html), you'll want to do one of two alternatives:
1. Change your submodule to point to map `gh-pages` to public instead of `_site` (recommended).
git submodule deinit _site
git rm _site
git submodule add -b gh-pages git@github.com:your-username/your-repo.git public
2. Or, change the Hugo configuration to use `_site` instead of `public`.
{
..
"publishdir": "_site",
..
}
## Convert Jekyll templates to Hugo templates
That's the bulk of the work right here. The documentation is your friend. You should refer to [Jekyll's template documentation](http://jekyllrb.com/docs/templates/) if you need to refresh your memory on how you built your blog and [Hugo's template](/layout/templates/) to learn Hugo's way.
As a single reference data point, converting my templates for [heyitsalex.net](http://heyitsalex.net/) took me no more than a few hours.
## Convert Jekyll plugins to Hugo shortcodes
Jekyll has [plugins](http://jekyllrb.com/docs/plugins/); Hugo has [shortcodes](/doc/shortcodes/). It's fairly trivial to do a port.
### Implementation
As an example, I was using a custom [`image_tag`](https://github.com/alexandre-normand/alexandre-normand/blob/74bb12036a71334fdb7dba84e073382fc06908ec/_plugins/image_tag.rb) plugin to generate figures with caption when running Jekyll. As I read about shortcodes, I found Hugo had a nice built-in shortcode that does exactly the same thing.
Jekyll's plugin:
module Jekyll
class ImageTag < Liquid::Tag
@url = nil
@caption = nil
@class = nil
@link = nil
// Patterns
IMAGE_URL_WITH_CLASS_AND_CAPTION =
IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK = /(\w+)(\s+)((https?:\/\/|\/)(\S+))(\s+)"(.*?)"(\s+)->((https?:\/\/|\/)(\S+))(\s*)/i
IMAGE_URL_WITH_CAPTION = /((https?:\/\/|\/)(\S+))(\s+)"(.*?)"/i
IMAGE_URL_WITH_CLASS = /(\w+)(\s+)((https?:\/\/|\/)(\S+))/i
IMAGE_URL = /((https?:\/\/|\/)(\S+))/i
def initialize(tag_name, markup, tokens)
super
if markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK
@class = $1
@url = $3
@caption = $7
@link = $9
elsif markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION
@class = $1
@url = $3
@caption = $7
elsif markup =~ IMAGE_URL_WITH_CAPTION
@url = $1
@caption = $5
elsif markup =~ IMAGE_URL_WITH_CLASS
@class = $1
@url = $3
elsif markup =~ IMAGE_URL
@url = $1
end
end
def render(context)
if @class
source = "<figure class='#{@class}'>"
else
source = "<figure>"
end
if @link
source += "<a href=\"#{@link}\">"
end
source += "<img src=\"#{@url}\">"
if @link
source += "</a>"
end
source += "<figcaption>#{@caption}</figcaption>" if @caption
source += "</figure>"
source
end
end
end
Liquid::Template.register_tag('image', Jekyll::ImageTag)
is written as this Hugo shortcode:
<!-- image -->
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
{{ with .Get "link"}}<a href="{{.}}">{{ end }}
<img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }} />
{{ if .Get "link"}}</a>{{ end }}
{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
<figcaption>{{ if isset .Params "title" }}
{{ .Get "title" }}{{ end }}
{{ if or (.Get "caption") (.Get "attr")}}<p>
{{ .Get "caption" }}
{{ with .Get "attrlink"}}<a href="{{.}}"> {{ end }}
{{ .Get "attr" }}
{{ if .Get "attrlink"}}</a> {{ end }}
</p> {{ end }}
</figcaption>
{{ end }}
</figure>
<!-- image -->
### Usage
I simply changed:
{% image full http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg "One of my favorite touristy-type photos. I secretly waited for the good light while we were "having fun" and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." ->http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/ %}
to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
{{%/* fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" */%}}
As a bonus, the shortcode named parameters are, arguably, more readable.
## Finishing touches
### Fix content
Depending on the amount of customization that was done with each post with Jekyll, this step will require more or less effort. There are no hard and fast rules here except that `hugo server --watch` is your friend. Test your changes and fix errors as needed.
### Clean up
You'll want to remove the Jekyll configuration at this point. If you have anything else that isn't used, delete it.
## A practical example in a diff
[Hey, it's Alex](http://heyitsalex.net/) was migrated in less than a _father-with-kids day_ from Jekyll to Hugo. You can see all the changes (and screw-ups) by looking at this [diff](https://github.com/alexandre-normand/alexandre-normand/compare/869d69435bd2665c3fbf5b5c78d4c22759d7613a...b7f6605b1265e83b4b81495423294208cc74d610).

View File

@@ -1,244 +0,0 @@
---
title: "Papercss Shortcodes"
date: 2019-02-26T13:50:01-06:00
tags: [shortcodes]
show_summary: false
---
## border
```
{{</* border */>}}
Regular
{{</* /border */>}}
{{</* border "dashed" */>}}
Dashed
{{</* /border */>}}
{{</* border "dotted" */>}}
Dotted
{{</* /border */>}}
{{</* border "dashed thick" */>}}
Dashed Thick
{{</* /border */>}}
{{</* border "dotted thick" */>}}
Dotted Thick
{{</* /border */>}}
```
{{< border >}}
Regular
{{< /border >}}
{{< border "dashed" >}}
Dashed
{{< /border >}}
{{< border "dotted" >}}
Dotted
{{< /border >}}
{{< border "dashed thick" >}}
Dashed Thick
{{< /border >}}
{{< border "dotted thick" >}}
Dotted Thick
{{< /border >}}
## color
```
{{</* color "primary" */>}}
Text primary
{{</* /color */>}}
{{</* color "secondary" */>}}
Text secondary
{{</* /color */>}}
{{</* color "success" */>}}
Text success
{{</* /color */>}}
{{</* color "warning" */>}}
Text warning
{{</* /color */>}}
{{</* color "danger" */>}}
Text danger
{{</* /color */>}}
{{</* color "muted" */>}}
Text muted
{{</* /color */>}}
```
{{< color "primary" >}}
Text primary
{{< /color >}}
{{< color "secondary" >}}
Text secondary
{{< /color >}}
{{< color "success" >}}
Text success
{{< /color >}}
{{< color "warning" >}}
Text warning
{{< /color >}}
{{< color "danger" >}}
Text danger
{{< /color >}}
{{< color "muted" >}}
Text muted
{{< /color >}}
## background
```
{{</* background "primary" */>}}
Background primary
{{</* /background */>}}
{{</* background "secondary" */>}}
Background secondary
{{</* /background */>}}
{{</* background "success" */>}}
Background success
{{</* /background */>}}
{{</* background "warning" */>}}
Background warning
{{</* /background */>}}
{{</* background "danger" */>}}
Background danger
{{</* /background */>}}
```
{{< background "primary" >}}
Background primary
{{< /background >}}
{{< background "secondary" >}}
Background secondary
{{< /background >}}
{{< background "success" >}}
Background success
{{< /background >}}
{{< background "warning" >}}
Background warning
{{< /background >}}
{{< background "danger" >}}
Background danger
{{< /background >}}
## alert
```
{{</* alert "primary" */>}}
Alert-primary
{{</* /alert */>}}
{{</* alert "secondary" */>}}
Alert-secondary
{{</* /alert */>}}
{{</* alert "success" */>}}
Alert-success
{{</* /alert */>}}
{{</* alert "warning" */>}}
Alert-warning
{{</* /alert */>}}
{{</* alert "danger" */>}}
Alert-danger
{{</* /alert */>}}
```
{{< alert "primary" >}}
Alert-primary
{{< /alert >}}
{{< alert "secondary" >}}
Alert-secondary
{{< /alert >}}
{{< alert "success" >}}
Alert-success
{{< /alert >}}
{{< alert "warning" >}}
Alert-warning
{{< /alert >}}
{{< alert "danger" >}}
Alert-danger
{{< /alert >}}
## badge
```
<h3>Example badge {{</* badge */>}}123{{</* /badge */>}}</h3>
<h3>Example badge {{</* badge "secondary" */>}}123{{</* /badge */>}}</h3>
<h3>Example badge {{</* badge "success" */>}}123{{</* /badge */>}}</h3>
<h3>Example badge {{</* badge "warning" */>}}123{{</* /badge */>}}</h3>
<h3>Example badge {{</* badge "danger" */>}}123{{</* /badge */>}}</h3>
```
<h3>Example badge {{< badge >}}123{{< /badge >}}</h3>
<h3>Example badge {{< badge "secondary" >}}123{{< /badge >}}</h3>
<h3>Example badge {{< badge "success" >}}123{{< /badge >}}</h3>
<h3>Example badge {{< badge "warning" >}}123{{< /badge >}}</h3>
<h3>Example badge {{< badge "danger" >}}123{{< /badge >}}</h3>
## card
The `img` param accepts an [image page resource](https://gohugo.io/content-management/page-resources/) name.
The `command` and `options` params accept [image processing](https://gohugo.io/content-management/image-processing/#readout) args.
Required params: `img`, `command`, `options`.
Optional params: `title`, `subtitle`, `text`.
```
{{</* card
img="sun.jpg"
command="Resize"
options="900x"
title="The Sun"
subtitle="It's the Sun, dude"
text="The Sun is the star at the center of the Solar System. It is a nearly perfect sphere of hot plasma, with internal convective motion that generates a magnetic field via a dynamo process. It is by far the most important source of energy for life on Earth. [Credits](https://images.nasa.gov/details-GSFC_20171208_Archive_e000393.html)." */>}}
```
{{< card
img="sun.jpg"
command="Resize"
options="900x"
title="The Sun"
subtitle="It's the Sun, dude"
text="The Sun is the star at the center of the Solar System. It is a nearly perfect sphere of hot plasma, with internal convective motion that generates a magnetic field via a dynamo process. It is by far the most important source of energy for life on Earth. [Credits](https://images.nasa.gov/details-GSFC_20171208_Archive_e000393.html)." >}}

View File

@@ -1,148 +0,0 @@
---
title: "PaperCSS Typography"
date: 2019-02-22T20:53:58-06:00
tags: [typography, markdown]
show_summary: false
---
## Headings
```
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
```
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
## Text
```
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
_You **can** combine them_
```
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
_You **can** combine them_
## Lists
### Unordered
```
* Item 1
* Item 2
* Item 2a
* Item 2b
```
* Item 1
* Item 2
* Item 2a
* Item 2b
### Ordered
```
1. Item 1
1. Item 2
1. Item 3
1. Item 3a
1. Item 3b
```
1. Item 1
1. Item 2
1. Item 3
1. Item 3a
1. Item 3b
## Links
```
https://papercss-hugo-theme.netlify.com/
[PaperCSS Hugo theme](https://papercss-hugo-theme.netlify.com/)
```
https://papercss-hugo-theme.netlify.com/
[PaperCSS Hugo theme](https://papercss-hugo-theme.netlify.com/)
## Blockquotes
```
As Kanye West said:
> We're living the future so
> the present is our past.
```
As Kanye West said:
> We're living the future so
> the present is our past.
## Tables
```
| Animal | Sounds |
|---------|--------|
| Cat | Meow |
| Dog | Woof |
| Cricket | Chirp |
```
| Animal | Sounds |
|---------|--------|
| Cat | Meow |
| Dog | Woof |
| Cricket | Chirp |
## Inline code
```
This `<html>` tag is inline code.
```
This `<html>` tag is inline code.
## Block code
````
This
```
<html>
```
tag is block code.
````
This
```
<html>
```
tag is block code.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

View File

@@ -1,13 +0,0 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
<body>
<div class="container paper">
{{ partial "nav.html" . }}
<main>
{{ block "main" . }}{{ end }}
</main>
{{ partial "google-analytics-async.html" . }}
</div>
</body>
</html>

View File

@@ -1,16 +0,0 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $pages := .Pages }}
{{ range $pages.ByPublishDate.Reverse }}
<h2 class="post-list {{ if ne .Params.show_summary false }}summary{{ end }}">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h2>
{{ if ne .Params.show_summary false }}
{{ .Summary }}
{{ end }}
{{ end }}
{{ end }}

View File

@@ -1,6 +0,0 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}

View File

@@ -1,11 +0,0 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Data.Terms.Alphabetical }}
<h2 class="post-list">
<span class="badge">{{ .Count }}</span>
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
</h2>
{{ end }}
{{ end }}

View File

@@ -1,16 +0,0 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ range $pages.ByPublishDate.Reverse }}
<h2 class="post-list {{ if ne .Params.show_summary false }}summary{{ end }}">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h2>
{{ if ne .Params.show_summary false }}
{{ .Summary }}
{{ end }}
{{ end }}
{{ end }}

View File

@@ -1,10 +0,0 @@
{{ if not .Site.IsServer }}
{{ with .Site.GoogleAnalytics }}
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', '{{ . }}', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
{{ end }}
{{ end }}

View File

@@ -1,34 +0,0 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{ hugo.Generator }}
<link rel="canonical" href="{{ .Permalink }}">
{{ if .IsHome }}
{{ with .Site.Params.homeMetaContent }}
<meta name="description" content="{{ . | plainify }}">
{{ end }}
{{ end }}
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" type="text/css" href="{{ "css/paper.css" | absURL }}">
{{ $customCssPath := "css/custom.css" }}
{{ $customCss:= resources.Get $customCssPath | resources.ExecuteAsTemplate $customCssPath . }}
<link rel="stylesheet" type="text/css" href="{{ $customCss.Permalink }}">
{{ $title := print .Title " | " .Site.Title }}
{{ if .IsHome }}
{{ $title = .Site.Title }}
{{ end }}
<title>{{ $title }}</title>
</head>

View File

@@ -1,22 +0,0 @@
<nav class="border split-nav">
<div class="nav-brand">
<h3><a href="/">{{ .Site.Title }}</a></h3>
</div>
<div class="collapsible">
<input id="collapsible1" type="checkbox" name="collapsible1">
<button>
<label for="collapsible1">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</label>
</button>
<div class="collapsible-body">
<ul class="inline">
{{ range .Site.Menus.nav }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</div>
</div>
</nav>

View File

@@ -1,12 +0,0 @@
<h1>{{ .Title }}</h1>
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ range $pages.ByPublishDate.Reverse }}
<h2 class="post-list {{ if ne .Params.show_summary false }}summary{{ end }}">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h2>
{{ if ne .Params.show_summary false }}
{{ .Summary }}
{{ end }}
{{ end }}

View File

@@ -1,21 +0,0 @@
{{ $headings := findRE "<h2.*?>(.|\n])+?</h2>" .Content }}
{{ if ge (len $headings) 2 }}
<div class="child-borders">
<div class="toc border" aria-labelledby="toc-heading">
<h2 id="toc-heading">Table of contents</h2>
<ol>
{{ range $headings }}
<li>
{{ $id := findRE "id=\".*\"" . }}
{{ $id = index $id 0 }}
{{ $id = strings.TrimPrefix "id=\"" $id }}
{{ $id = strings.TrimSuffix "\"" $id }}
<a href="#{{ $id }}">
{{ . | htmlUnescape | plainify }}
</a>
</li>
{{ end }}
</ol>
</div>
</div>
{{ end }}

View File

@@ -1,21 +0,0 @@
{{ define "main" }}
<h1 class="post-title">{{ .Title }}</h1>
{{ $dateFormat := $.Site.Params.dateFormat | default "Jan 2, 2006" }}
<strong>Publish date: </strong>{{ .PublishDate.Format $dateFormat }}
<br>
{{ with .Params.tags }}
<strong>Tags: </strong>
{{ range . }}
<a href="{{ "tags/" | absURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
{{ end }}
{{ if ne .Params.toc false }}
{{ partial "toc.html" . }}
{{ end }}
{{ .Content }}
{{ end }}

View File

@@ -1,3 +0,0 @@
<p class="alert alert-{{ .Get 0 }}">
{{ .Inner }}
</p>

View File

@@ -1,3 +0,0 @@
<p class="sm col background-{{ .Get 0 }}">
{{ .Inner }}
</p>

View File

@@ -1,3 +0,0 @@
<span class="badge {{ .Get 0 }}">
{{ .Inner }}
</span>

View File

@@ -1,17 +0,0 @@
{{ $arg := .Get 0 }}
{{ $class := "" }}
{{ if eq $arg "dashed" }}
{{ $class = "border-dashed" }}
{{ else if eq $arg "dotted" }}
{{ $class = "border-dotted" }}
{{ else if eq $arg "dashed thick" }}
{{ $class = "border-dashed border-thick" }}
{{ else if eq $arg "dotted thick" }}
{{ $class = "border-dotted border-thick" }}
{{ end }}
<div class="child-borders">
<p class="sm col {{ $class }}">
{{ .Inner }}
</p>
</div>

View File

@@ -1,35 +0,0 @@
{{ $img := .Get "img" }}
{{ $command := .Get "command" }}
{{ $options := .Get "options" }}
{{ $original := .Page.Resources.GetMatch (printf "*%s*" $img) }}
{{ $new := "" }}
{{ if eq $command "Fit" }}
{{ $new = $original.Fit $options }}
{{ else if eq $command "Fill" }}
{{ $new = $original.Fill $options }}
{{ else if eq $command "Resize" }}
{{ $new = $original.Resize $options }}
{{ else if eq $command "Original" }}
{{ $new = $original }}
{{ else }}
{{ errorf "Invalid image processing command: Must be one of Fit, Fill, Resize, Original." }}
{{ end }}
<div class="card row flex-center" style="">
<a href="{{ $original.Permalink }}" class="img-link">
<img src="{{ $new.Permalink }}">
</a>
<div class="card-body">
{{ with (.Get "title" )}}
<h4 class="card-title">{{ . | markdownify }}</h4>
{{ end }}
{{ with (.Get "subtitle" )}}
<h5 class="card-subtitle">{{ . | markdownify }}</h5>
{{ end }}
{{ with (.Get "text") }}
<p class="card-text">{{ . | markdownify }}</p>
{{ end }}
</div>
</div>

View File

@@ -1,3 +0,0 @@
<p class="text-{{ .Get 0 }}">
{{ .Inner }}
</p>

View File

@@ -1,8 +0,0 @@
[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --themesDir ../.."
[build.environment]
HUGO_VERSION = "0.60.1"
HUGO_THEME = "repo"
HUGO_BASEURL = "https://papercss-hugo-theme.netlify.com/"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,72 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M6255 6994 c-123 -25 -239 -75 -373 -160 -29 -19 -55 -34 -58 -34 -4
0 -43 -22 -88 -49 -44 -27 -364 -212 -711 -411 -346 -200 -642 -370 -657 -379
-24 -14 -219 -126 -273 -157 -11 -6 -108 -62 -215 -124 -163 -95 -1331 -768
-1553 -896 -38 -21 -76 -43 -85 -49 -32 -19 -248 -143 -287 -165 -22 -12 -80
-46 -130 -75 -49 -29 -109 -63 -131 -76 -23 -13 -139 -80 -258 -149 -119 -69
-231 -133 -249 -144 -17 -10 -88 -51 -157 -91 -69 -39 -145 -83 -170 -97 -25
-14 -101 -58 -170 -98 -129 -75 -140 -81 -275 -158 -124 -71 -165 -101 -231
-167 -186 -190 -234 -483 -119 -730 60 -131 157 -232 283 -298 37 -19 195 -88
352 -152 157 -64 304 -126 327 -136 23 -10 44 -19 48 -19 3 0 24 -9 48 -19 23
-11 213 -90 422 -176 209 -86 390 -161 402 -167 l22 -11 4 -636 c1 -350 6
-649 11 -666 61 -239 236 -414 481 -482 106 -30 264 -25 369 11 44 15 92 36
107 46 15 11 31 20 37 20 29 0 177 168 334 380 382 515 438 590 443 590 2 0
44 -16 92 -36 79 -32 112 -46 178 -75 11 -4 85 -35 165 -67 237 -97 783 -322
805 -332 74 -34 327 -134 374 -146 171 -46 378 -10 529 94 169 115 258 267
292 497 5 39 12 84 15 100 12 70 15 92 20 135 4 25 10 68 15 95 8 42 19 116
36 230 7 51 55 363 59 385 3 14 7 50 11 80 3 30 8 58 10 61 1 3 6 28 9 55 6
49 11 80 20 132 2 15 6 41 9 57 3 17 8 53 11 80 4 28 8 57 10 65 2 8 7 35 10
60 3 25 10 70 15 100 5 30 12 73 15 95 8 57 25 165 30 195 3 14 7 45 10 70 3
25 8 56 10 70 3 14 7 39 9 55 3 17 12 75 21 130 18 117 23 146 30 200 3 22 10
65 15 95 5 30 12 73 15 95 13 92 36 242 40 265 5 33 23 145 30 195 4 22 8 51
10 65 2 14 16 102 30 195 28 187 33 218 40 255 3 14 7 45 10 70 3 25 7 56 10
70 3 14 7 39 9 55 2 17 7 46 10 65 9 55 15 90 22 139 3 25 8 57 10 71 2 14 9
57 14 95 6 39 12 77 15 85 2 8 6 38 10 65 6 52 14 105 20 135 2 10 6 40 10 67
4 26 13 86 20 133 19 114 25 158 31 200 2 19 9 60 14 90 5 30 12 75 15 99 6
48 12 84 21 121 3 14 7 77 9 141 6 212 -53 354 -209 502 -66 63 -201 135 -291
157 -51 12 -204 21 -240 14z m80 -701 c-4 -27 -9 -61 -11 -78 -3 -27 -12 -86
-19 -125 -5 -26 -15 -94 -21 -135 -3 -22 -12 -78 -19 -125 -8 -47 -17 -103
-20 -125 -7 -47 -26 -178 -55 -365 -11 -74 -23 -153 -26 -175 -4 -22 -8 -49
-10 -60 -4 -22 -14 -87 -19 -125 -2 -14 -6 -38 -9 -55 -2 -16 -7 -50 -11 -75
-10 -65 -13 -87 -25 -165 -18 -117 -20 -129 -25 -155 -3 -14 -7 -41 -9 -60 -3
-19 -12 -82 -21 -140 -9 -58 -18 -116 -20 -130 -1 -14 -6 -41 -9 -60 -10 -56
-15 -90 -21 -139 -4 -25 -13 -84 -20 -131 -22 -138 -26 -163 -31 -200 -2 -19
-6 -46 -9 -60 -6 -31 -8 -42 -40 -255 -53 -351 -76 -501 -80 -525 -7 -41 -56
-361 -60 -389 -5 -35 -14 -95 -25 -161 -5 -30 -12 -75 -15 -100 -6 -42 -29
-195 -41 -265 -3 -16 -7 -41 -9 -55 -2 -14 -8 -56 -14 -95 -6 -38 -12 -83 -15
-100 -2 -16 -9 -61 -16 -100 -6 -38 -14 -88 -16 -110 -3 -22 -14 -92 -24 -155
-10 -63 -22 -140 -25 -170 -4 -30 -10 -60 -14 -66 -4 -8 -31 -2 -86 21 -111
45 -886 364 -910 374 -11 5 -65 28 -120 51 -55 22 -120 50 -145 60 -25 10 -85
35 -135 55 -49 21 -103 43 -120 50 -16 7 -154 64 -305 126 -151 61 -276 113
-278 114 -2 2 28 47 66 101 37 55 93 135 124 179 30 44 189 274 353 510 165
237 321 462 347 500 26 39 62 90 79 115 18 25 59 86 93 135 34 50 141 203 236
340 96 138 206 296 245 353 38 57 91 133 117 170 26 37 52 74 58 82 6 8 51 74
101 145 106 153 125 187 132 239 22 161 -169 297 -311 222 -15 -8 -68 -50
-118 -93 -50 -43 -124 -107 -165 -142 -41 -35 -79 -68 -84 -75 -6 -6 -39 -36
-75 -66 -36 -30 -67 -57 -70 -60 -3 -3 -54 -48 -115 -100 -129 -111 -173 -149
-195 -170 -9 -8 -63 -55 -120 -105 -58 -49 -107 -92 -110 -95 -3 -3 -39 -35
-82 -72 -42 -36 -91 -79 -110 -96 -18 -16 -143 -125 -278 -242 -135 -117 -261
-227 -280 -244 -19 -17 -82 -72 -140 -121 -58 -50 -107 -93 -110 -96 -3 -3
-79 -70 -170 -149 -91 -78 -181 -157 -200 -174 -19 -17 -55 -48 -80 -70 -25
-21 -74 -64 -110 -96 -36 -31 -125 -109 -197 -172 l-133 -116 -167 70 c-93 39
-229 95 -303 125 -74 30 -148 60 -165 68 -34 15 -775 322 -813 336 -30 12 -64
-11 368 239 264 153 295 170 379 218 25 14 68 38 95 55 28 16 139 80 246 142
515 297 1042 600 1362 786 141 82 261 149 267 149 5 0 11 4 13 8 2 4 23 19 48
33 25 14 63 36 85 49 64 36 1247 719 1603 924 177 102 324 186 327 186 3 0 11
5 18 11 10 8 393 231 592 343 22 13 79 46 127 75 48 28 91 51 97 51 6 0 11 5
11 10 0 6 5 10 11 10 8 0 9 -15 4 -47z m-3503 -4838 c100 -42 207 -86 236 -97
28 -12 52 -24 52 -27 0 -3 -76 -108 -168 -232 -92 -125 -176 -239 -187 -254
-30 -41 -127 -169 -134 -177 -3 -4 -6 189 -6 428 0 322 3 434 11 434 7 0 95
-34 196 -75z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -1,19 +0,0 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

View File

@@ -1,12 +0,0 @@
name = "PaperCSS"
license = "MIT"
licenselink = "https://github.com/zwbetz-gh/papercss-hugo-theme/blob/master/LICENSE"
description = "A Hugo theme made with PaperCSS, the less formal CSS framework."
homepage = "https://github.com/zwbetz-gh/papercss-hugo-theme"
tags = ["blog", "paper", "informal"]
features = ["blog", "toc", "shortcodes"]
min_version = "0.60.1"
[author]
name = "Zachary Betz"
homepage = "https://zwbetz.com/"