bulk theme edits
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2014 Steve Francia
|
||||||
|
|
||||||
|
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.
|
23
README.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# hugoBasicExample
|
||||||
|
|
||||||
|
This repository offers an example site for [Hugo](https://gohugo.io/) and also it provides the default content for demos hosted on the [Hugo Themes Showcase](https://themes.gohugo.io/).
|
||||||
|
|
||||||
|
# Using
|
||||||
|
|
||||||
|
1. [Install Hugo](https://gohugo.io/overview/installing/)
|
||||||
|
2. Clone this repository
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/gohugoio/hugoBasicExample.git
|
||||||
|
cd hugoBasicExample
|
||||||
|
```
|
||||||
|
3. Clone the repository you want to test. If you want to test all Hugo Themes then follow the instructions provided [here](https://github.com/gohugoio/hugoThemes#installing-all-themes)
|
||||||
|
4. Run Hugo and select the theme of your choosing
|
||||||
|
```bash
|
||||||
|
hugo server -t YOURTHEME
|
||||||
|
```
|
||||||
|
5. Under `/content/` this repository contains the following:
|
||||||
|
- A section called `/post/` with sample markdown content
|
||||||
|
- A headless bundle called `homepage` that you may want to use for single page applications. You can find instructions about headless bundles over [here](https://gohugo.io/content-management/page-bundles/#headless-bundle)
|
||||||
|
- An `about.md` that is intended to provide the `/about/` page for a theme demo
|
||||||
|
6. If you intend to build a theme that does not fit in the content structure provided in this repository, then you are still more than welcome to submit it for review at the [Hugo Themes](https://github.com/gohugoio/hugoThemes/issues) respository
|
||||||
|
|
26
archetypes/post.md
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}" # Title of the blog post.
|
||||||
|
date: {{ .Date }} # Date of post creation.
|
||||||
|
description: "Article description." # Description used for search engine.
|
||||||
|
featured: true # Sets if post is a featured post, making appear on the home page side bar.
|
||||||
|
draft: true # Sets whether to render this page. Draft of true will not be rendered.
|
||||||
|
toc: false # Controls if a table of contents should be generated for first-level links automatically.
|
||||||
|
# menu: main
|
||||||
|
usePageBundles: false # Set to true to group assets like images in the same folder as this post.
|
||||||
|
featureImage: "/images/path/file.jpg" # Sets featured image on blog post.
|
||||||
|
featureImageAlt: 'Description of image' # Alternative text for featured image.
|
||||||
|
featureImageCap: 'This is the featured image.' # Caption (optional).
|
||||||
|
thumbnail: "/images/path/thumbnail.png" # Sets thumbnail image appearing inside card on homepage.
|
||||||
|
shareImage: "/images/path/share.png" # Designate a separate image for social media sharing.
|
||||||
|
codeMaxLines: 10 # Override global value for how many lines within a code block before auto-collapsing.
|
||||||
|
codeLineNumbers: false # Override global value for showing of line numbers within code block.
|
||||||
|
figurePositionShow: true # Override global value for showing the figure label.
|
||||||
|
categories:
|
||||||
|
- Technology
|
||||||
|
tags:
|
||||||
|
- Tag_name1
|
||||||
|
- Tag_name2
|
||||||
|
# comment: false # Disable comment if false.
|
||||||
|
---
|
||||||
|
|
||||||
|
**Insert Lead paragraph here.**
|
|
@ -1,4 +0,0 @@
|
||||||
disablePathToLower: true
|
|
||||||
languageCode: en-us
|
|
||||||
title: Virtually Potato
|
|
||||||
theme: hugo-clarity
|
|
21
config/_default/config.toml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# set `baseurl` to your root domain
|
||||||
|
# if you set it to "/" share icons won't work properly on production
|
||||||
|
baseurl = "https://stg.vpot8.ooo" # Include trailing slash
|
||||||
|
title = "Virtually Potato"
|
||||||
|
# copyright = "Copyright © 2018–2021, John Bowdre"
|
||||||
|
# canonifyurls = true
|
||||||
|
paginate = 10
|
||||||
|
theme = "hugo-clarity"
|
||||||
|
disqusShortname = ""
|
||||||
|
|
||||||
|
DefaultContentLanguage = "en"
|
||||||
|
# [languages]
|
||||||
|
# config/_default/languages.toml
|
||||||
|
|
||||||
|
# [menus]
|
||||||
|
# config/_default/menus/menu.xx.toml
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
category = "categories"
|
||||||
|
tag = "tags"
|
||||||
|
series = "series"
|
23
config/_default/configTaxo.toml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
timeout = 30000
|
||||||
|
enableInlineShortcodes = true
|
||||||
|
footnoteReturnLinkContents = "^"
|
||||||
|
|
||||||
|
[privacy]
|
||||||
|
|
||||||
|
[privacy.vimeo]
|
||||||
|
disabled = false
|
||||||
|
simple = true
|
||||||
|
|
||||||
|
[privacy.twitter]
|
||||||
|
disabled = false
|
||||||
|
enableDNT = true
|
||||||
|
simple = true
|
||||||
|
disableInlineCSS = true
|
||||||
|
|
||||||
|
[privacy.instagram]
|
||||||
|
disabled = false
|
||||||
|
simple = true
|
||||||
|
|
||||||
|
[privacy.youtube]
|
||||||
|
disabled = false
|
||||||
|
privacyEnhanced = true
|
7
config/_default/languages.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
[en]
|
||||||
|
title = "Clarity"
|
||||||
|
LanguageName = "English"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
|
17
config/_default/markup.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[goldmark]
|
||||||
|
[goldmark.renderer]
|
||||||
|
hardWraps = false
|
||||||
|
unsafe = true # change to false to disable inclusion of rawHTML and math functions
|
||||||
|
xhtml = false
|
||||||
|
[goldmark.extensions]
|
||||||
|
typographer = false
|
||||||
|
[highlight]
|
||||||
|
codeFences = true
|
||||||
|
guessSyntax = true
|
||||||
|
hl_Lines = "--"
|
||||||
|
lineNoStart = 1
|
||||||
|
lineNos = true # always set to true # else line numbers won't show at all! even when you toggle them on in the UI
|
||||||
|
lineNumbersInTable = false # toggling this on (i.e to true) or deleting this line will break the code blocks functionality. Will
|
||||||
|
noClasses = false
|
||||||
|
# style = "monokai"
|
||||||
|
tabWidth = 2
|
56
config/_default/menus/menu.en.toml
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
[[main]]
|
||||||
|
name = "Home"
|
||||||
|
url = ""
|
||||||
|
weight = -110
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "Archives"
|
||||||
|
url = "post/rich-content/"
|
||||||
|
weight = -109
|
||||||
|
|
||||||
|
# Submenus are done this way: parent -> identifier
|
||||||
|
[[main]]
|
||||||
|
name = "Links"
|
||||||
|
identifier = "Links"
|
||||||
|
weight = -108
|
||||||
|
[[main]]
|
||||||
|
parent = "Links"
|
||||||
|
name = "LinkedIn"
|
||||||
|
url = "https://www.linkedin.com/"
|
||||||
|
[[main]]
|
||||||
|
parent = "Links"
|
||||||
|
name = "Twitter"
|
||||||
|
url = "https://twitter.com/"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
name = "About"
|
||||||
|
url = "about/"
|
||||||
|
weight = -107
|
||||||
|
|
||||||
|
# social menu links
|
||||||
|
|
||||||
|
[[social]]
|
||||||
|
name = "github"
|
||||||
|
type = "social"
|
||||||
|
weight = 1
|
||||||
|
url = "https://github.com/jbowdre"
|
||||||
|
[[social]]
|
||||||
|
name = "twitter"
|
||||||
|
weight = 2
|
||||||
|
url = "https://twitter.com/johndotbowdre"
|
||||||
|
[[social]]
|
||||||
|
name = "rss"
|
||||||
|
weight = 3
|
||||||
|
url = "index.xml"
|
||||||
|
|
||||||
|
# other supported social links
|
||||||
|
# name = "youtube"
|
||||||
|
# url = "https://www.youtube.com/#"
|
||||||
|
# name = "facebook"
|
||||||
|
# url = "https://facebook.com/#"
|
||||||
|
# name = "instagram"
|
||||||
|
# url = "https://instagram.com/#"
|
||||||
|
# name = "stackoverflow"
|
||||||
|
# url = "https://stackoverflow.com/#"
|
||||||
|
# name = "gitlab"
|
||||||
|
# url = "https://gitlab.com/#"
|
109
config/_default/params.toml
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
twitter = "@johndotbowdre"
|
||||||
|
largeTwitterCard = false # set to true if you want to show a large twitter card image. The default is a small twitter card image
|
||||||
|
introDescription = "Wrangler of imaginary computers."
|
||||||
|
# introURL = "about/" # set the url for the 'read more' button below the introDescription, or set to false to not show the button
|
||||||
|
# description = "" # set your site's description here. will be use for home page content meta tags (seo). Alternatively set this description in your homepage content file i.e content/_index.md. Whatever is set in the latter will take precedence
|
||||||
|
|
||||||
|
# showShare = false # Uncomment to not show share buttons on each post. Also available in each post's front matter.
|
||||||
|
|
||||||
|
# Google analytics Id
|
||||||
|
ga_analytics = "UA-183355934-1"
|
||||||
|
|
||||||
|
# Baidu analytics Id
|
||||||
|
# baidu_analytics = "XXXXXXXX"
|
||||||
|
|
||||||
|
# limit the number of taxonomies links shown on the sidebar of each page by default.
|
||||||
|
numberOfTagsShown = 14 # Applies for all other default & custom taxonomies. e.g categories, brands see https://gohugo.io/content-management/taxonomies#what-is-a-taxonomy
|
||||||
|
|
||||||
|
# Whether to default to storing images and other assets in the `static` directory, or use Hugo page bundles.
|
||||||
|
# Switch to `true` if you'd like to group assets with the post itself (as a "leaf bundle").
|
||||||
|
# This can be overridden at the page level; what is set below acts as the default if no page variable is set.
|
||||||
|
# Details on page bundles: https://gohugo.io/content-management/page-bundles/#leaf-bundles
|
||||||
|
usePageBundles = false
|
||||||
|
|
||||||
|
# will be used on share >> twitter, facebook, linkedin
|
||||||
|
fallBackOgImage = "images/thumbnail.png"
|
||||||
|
|
||||||
|
# sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
|
||||||
|
codeMaxLines = 7
|
||||||
|
|
||||||
|
# disable showing line numbers by default. Switch to `true` if you'd rather have them on.
|
||||||
|
codeLineNumbers = false
|
||||||
|
|
||||||
|
# enable math notation. Switch to `true` to enable mathjax in your site.
|
||||||
|
enableMathNotation = false
|
||||||
|
|
||||||
|
# directory(s) where your articles are located
|
||||||
|
mainSections = ["post"] # see config details here https://gohugo.io/functions/where/#mainsections
|
||||||
|
|
||||||
|
# center logo on navbar
|
||||||
|
centerLogo = false # Set to "true" for centering or "false" for left aligned.
|
||||||
|
|
||||||
|
logo = "logos/potato_32.png"
|
||||||
|
|
||||||
|
# Label Non inline images on an article body
|
||||||
|
figurePositionShow = false # toggle on or off globally
|
||||||
|
# you can toggle this behaviour on or off on per page using the same variable inside your articles frontmatter
|
||||||
|
figurePositionLabel = "Figure" # the text before image number e.g Figure 1.0
|
||||||
|
|
||||||
|
# Set the collapsed mobile navigation to either appear from the left or the right
|
||||||
|
mobileNavigation = "left" # if you prefer right change to 'right'
|
||||||
|
|
||||||
|
# some site owners want to decide how they would like their sites to be introduced users. These settings give you as a site owner to decide how the user will view your site for the first time.
|
||||||
|
|
||||||
|
# please note that you cannot enforce both modes at the same time. i.e by enforcing one mode, you priotise it over the other (by setting it to true). enforceDarkMode will be commented out
|
||||||
|
|
||||||
|
# please also not that mode toggle UI will remain in place. That way, if a user prefers darkmode, they can have their way.
|
||||||
|
|
||||||
|
enforceLightMode = false
|
||||||
|
enforceDarkMode = true
|
||||||
|
|
||||||
|
# customize footer icon. see issue https://github.com/chipzoller/hugo-clarity/issues/77
|
||||||
|
footerLogo = "logos/potato_32.png"
|
||||||
|
|
||||||
|
# Text for the languages menu.
|
||||||
|
languageMenuName = "🌐"
|
||||||
|
|
||||||
|
# Title separator, default to |.
|
||||||
|
# titleSeparator = "|"
|
||||||
|
|
||||||
|
# Enable or disable comments globally. Default to true.
|
||||||
|
# comments = false
|
||||||
|
|
||||||
|
# Maximum number of recent posts.
|
||||||
|
# numberOfRecentPosts = 8
|
||||||
|
|
||||||
|
# Maximum number of featured posts.
|
||||||
|
# numberOfFeaturedPosts = 8
|
||||||
|
|
||||||
|
# Date format. Checkout https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference for details.
|
||||||
|
# dateFormat = "2006-01-02" # Default to "Jan 2, 2006".
|
||||||
|
# customFonts = false # toggle to true if you want to use custom fonts only.
|
||||||
|
|
||||||
|
# The year when ths website was created, this value is used in the copyright
|
||||||
|
# notice of the footer.
|
||||||
|
since = 2018
|
||||||
|
|
||||||
|
# tell hugo where you store your icons e.g favicons. This is useful if you're using an apache server and there are conflicts >> see issue https://github.com/chipzoller/hugo-clarity/issues/74. If this is applicable to you, be sure to copy the contents of https://github.com/chipzoller/hugo-clarity/tree/master/static/icons to your preferred icons directory
|
||||||
|
iconsDir = "images/icons/" # without a leading forward slash
|
||||||
|
|
||||||
|
# Show related content at the end of an article based on the 'series' taxonomy. Can be set in post front matter.
|
||||||
|
# showRelatedInArticle = false
|
||||||
|
# showRelatedInSidebar = false
|
||||||
|
|
||||||
|
# website author
|
||||||
|
[author]
|
||||||
|
name = "John Bowdre"
|
||||||
|
photo = "images/bio-photo.jpg" #include this if you would like to show the author photo on the sidebar
|
||||||
|
|
||||||
|
[plausible_analytics]
|
||||||
|
enable = false # to enable plausible analytics set to true.
|
||||||
|
websiteDomain = "example.com" # domain name of your website, most cases same as your base url
|
||||||
|
# plausibleDomain = "plausible.io" # default is set to plausible.io, only required if plausible is selfhosted
|
||||||
|
# scritpName = "plausible" # default is set to plausible, only required if using a custome name for script
|
||||||
|
|
||||||
|
[matomo_analytics]
|
||||||
|
enable = false # To enable matomo analytics change to `true`.
|
||||||
|
websiteDomain = "example.com" # Set the domain name of your website, in most cases same as your base URL this is required.
|
||||||
|
matomoDomain = "matomo.example.com" # Set to Matomo domain
|
||||||
|
matomoSiteID = "1" # Default is set to 1, change this to the siteid being tracked
|
4
content/_index.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
description = "A theme based on VMware's Clarity Design System for publishing technical blogs with Hugo." # set your site's description here. will be use for home page content meta tags (seo).
|
||||||
|
+++
|
25
content/about.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
+++
|
||||||
|
title = "About"
|
||||||
|
description = "Hugo, the world's fastest framework for building websites"
|
||||||
|
date = "2019-02-28"
|
||||||
|
aliases = ["about-us", "about-hugo", "contact"]
|
||||||
|
author = "Hugo Authors"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
|
||||||
|
|
||||||
|
Hugo makes use of a variety of open source projects including:
|
||||||
|
|
||||||
|
* https://github.com/yuin/goldmark
|
||||||
|
* https://github.com/alecthomas/chroma
|
||||||
|
* https://github.com/muesli/smartcrop
|
||||||
|
* https://github.com/spf13/cobra
|
||||||
|
* https://github.com/spf13/viper
|
||||||
|
|
||||||
|
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
|
||||||
|
|
||||||
|
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
|
||||||
|
|
||||||
|
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
|
||||||
|
|
||||||
|
Learn more and contribute on [GitHub](https://github.com/gohugoio).
|
5
content/archives.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
date: 2019-05-28
|
||||||
|
type: section
|
||||||
|
layout: "archives"
|
||||||
|
---
|
7
content/homepage/about.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: 'Our Difference'
|
||||||
|
button: 'About us'
|
||||||
|
weight: 2
|
||||||
|
---
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. Ipsum dolor sit amet, et essent mediocritatem quo.
|
3
content/homepage/index.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
headless: true
|
||||||
|
---
|
7
content/homepage/work.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: 'We Help Business Grow'
|
||||||
|
button: 'Our Work'
|
||||||
|
weight: 1
|
||||||
|
---
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. Numquam dolores mel eu, mea docendi omittantur et, mea ea duis erat. Elit melius cu ius. Per ex novum tantas putant, ei his nullam aliquam apeirian. Aeterno quaestio constituto sea an, no eum intellegat assueverit.
|
6
content/post/_index.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
+++
|
||||||
|
aliases = ["posts", "articles", "blog", "showcase", "docs"]
|
||||||
|
title = "Posts"
|
||||||
|
author = "Hugo Authors"
|
||||||
|
tags = ["index"]
|
||||||
|
+++
|
46
content/post/emoji-support.md
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Emoji Support"
|
||||||
|
date = "2019-03-05"
|
||||||
|
description = "Guide to emoji usage in Hugo"
|
||||||
|
tags = [
|
||||||
|
"emoji",
|
||||||
|
]
|
||||||
|
+++
|
||||||
|
|
||||||
|
Emoji can be enabled in a Hugo project in a number of ways.
|
||||||
|
<!--more-->
|
||||||
|
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
|
||||||
|
|
||||||
|
To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
|
||||||
|
|
||||||
|
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
|
||||||
|
|
||||||
|
{{< highlight html >}}
|
||||||
|
.emoji {
|
||||||
|
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||||
|
}
|
||||||
|
{{< /highlight >}}
|
||||||
|
|
||||||
|
{{< css.inline >}}
|
||||||
|
<style>
|
||||||
|
.emojify {
|
||||||
|
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||||
|
font-size: 2rem;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
@media screen and (max-width:650px) {
|
||||||
|
.nowrap {
|
||||||
|
display: block;
|
||||||
|
margin: 25px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{{< /css.inline >}}
|
153
content/post/markdown-syntax.md
Normal file
|
@ -0,0 +1,153 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Markdown Syntax Guide"
|
||||||
|
date = "2019-03-11"
|
||||||
|
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
||||||
|
featured = true
|
||||||
|
tags = [
|
||||||
|
"markdown",
|
||||||
|
"css",
|
||||||
|
"html",
|
||||||
|
"themes",
|
||||||
|
"featured"
|
||||||
|
]
|
||||||
|
categories = [
|
||||||
|
"themes",
|
||||||
|
"syntax",
|
||||||
|
]
|
||||||
|
series = ["Themes Guide"]
|
||||||
|
aliases = ["migrate-from-jekyl"]
|
||||||
|
thumbnail = "images/building.png"
|
||||||
|
+++
|
||||||
|
|
||||||
|
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
## Headings
|
||||||
|
|
||||||
|
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
||||||
|
|
||||||
|
# H1
|
||||||
|
## H2
|
||||||
|
### H3
|
||||||
|
#### H4
|
||||||
|
##### H5
|
||||||
|
###### H6
|
||||||
|
|
||||||
|
## Paragraph
|
||||||
|
|
||||||
|
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
||||||
|
|
||||||
|
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
||||||
|
|
||||||
|
## Blockquotes
|
||||||
|
|
||||||
|
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||||
|
|
||||||
|
#### Blockquote without attribution
|
||||||
|
|
||||||
|
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||||
|
> **Note** that you can use *Markdown syntax* within a blockquote.
|
||||||
|
|
||||||
|
#### Blockquote with attribution
|
||||||
|
|
||||||
|
> Don't communicate by sharing memory, share memory by communicating.<br>
|
||||||
|
> — <cite>Rob Pike[^1]</cite>
|
||||||
|
|
||||||
|
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||||
|
|
||||||
|
## Tables
|
||||||
|
|
||||||
|
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||||
|
|
||||||
|
Name | Age
|
||||||
|
--------|------
|
||||||
|
Bob | 27
|
||||||
|
Alice | 23
|
||||||
|
|
||||||
|
#### Inline Markdown within tables
|
||||||
|
|
||||||
|
| Italics | Bold | Code |
|
||||||
|
| -------- | -------- | ------ |
|
||||||
|
| *italics* | **bold** | `code` |
|
||||||
|
|
||||||
|
## Code Blocks
|
||||||
|
|
||||||
|
#### Code block with backticks
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
<!-- this line is extraneous 2Error from server (Forbidden): deployments.apps is forbidden: User "chiptest" cannot create resource "deployments" in API group "apps" in the namespace "default" -->
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Code block indented with four spaces
|
||||||
|
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
#### Code block with Hugo's internal highlight shortcode
|
||||||
|
{{< highlight html >}}
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
{{< /highlight >}}
|
||||||
|
|
||||||
|
## List Types
|
||||||
|
|
||||||
|
#### Ordered List
|
||||||
|
|
||||||
|
1. First item
|
||||||
|
2. Second item
|
||||||
|
3. Third item
|
||||||
|
|
||||||
|
#### Unordered List
|
||||||
|
|
||||||
|
* List item
|
||||||
|
* Another item
|
||||||
|
* And another item
|
||||||
|
|
||||||
|
#### Nested list
|
||||||
|
|
||||||
|
* Fruit
|
||||||
|
* Apple
|
||||||
|
* Orange
|
||||||
|
* Banana
|
||||||
|
* Dairy
|
||||||
|
* Milk
|
||||||
|
* Cheese
|
||||||
|
|
||||||
|
## Other Elements — abbr, sub, sup, kbd, mark
|
||||||
|
|
||||||
|
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
|
||||||
|
|
||||||
|
H<sub>2</sub>O
|
||||||
|
|
||||||
|
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||||
|
|
||||||
|
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
||||||
|
|
||||||
|
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
158
content/post/markdown-syntax.pt.md
Normal file
|
@ -0,0 +1,158 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Guia de Sintaxe Markdown"
|
||||||
|
date = "2019-03-11"
|
||||||
|
description = "Um artigo simples para demonstrar a sintaxe básica de Markdown e como formatar elementos HTML."
|
||||||
|
featured = true
|
||||||
|
tags = [
|
||||||
|
"markdown",
|
||||||
|
"css",
|
||||||
|
"html",
|
||||||
|
"temas",
|
||||||
|
"destacado"
|
||||||
|
]
|
||||||
|
categories = [
|
||||||
|
"temas",
|
||||||
|
"sintaxe",
|
||||||
|
]
|
||||||
|
series = ["Guia de Temas"]
|
||||||
|
aliases = ["migrar-de-jekyl"]
|
||||||
|
thumbnail = "images/building.png"
|
||||||
|
+++
|
||||||
|
|
||||||
|
**Este artigo oferece um exemplo básico de uma tradução em Português. O restante conteúdo não foi traduzido.**
|
||||||
|
|
||||||
|
Artigo original: {{< ref "markdown-syntax" >}}
|
||||||
|
|
||||||
|
|
||||||
|
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
## Headings
|
||||||
|
|
||||||
|
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
||||||
|
|
||||||
|
# H1
|
||||||
|
## H2
|
||||||
|
### H3
|
||||||
|
#### H4
|
||||||
|
##### H5
|
||||||
|
###### H6
|
||||||
|
|
||||||
|
## Paragraph
|
||||||
|
|
||||||
|
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
||||||
|
|
||||||
|
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
||||||
|
|
||||||
|
## Blockquotes
|
||||||
|
|
||||||
|
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||||
|
|
||||||
|
#### Blockquote without attribution
|
||||||
|
|
||||||
|
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||||
|
> **Note** that you can use *Markdown syntax* within a blockquote.
|
||||||
|
|
||||||
|
#### Blockquote with attribution
|
||||||
|
|
||||||
|
> Don't communicate by sharing memory, share memory by communicating.<br>
|
||||||
|
> — <cite>Rob Pike[^1]</cite>
|
||||||
|
|
||||||
|
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||||
|
|
||||||
|
## Tables
|
||||||
|
|
||||||
|
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||||
|
|
||||||
|
Name | Age
|
||||||
|
--------|------
|
||||||
|
Bob | 27
|
||||||
|
Alice | 23
|
||||||
|
|
||||||
|
#### Inline Markdown within tables
|
||||||
|
|
||||||
|
| Italics | Bold | Code |
|
||||||
|
| -------- | -------- | ------ |
|
||||||
|
| *italics* | **bold** | `code` |
|
||||||
|
|
||||||
|
## Code Blocks
|
||||||
|
|
||||||
|
#### Code block with backticks
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
<!-- this line is extraneous 2Error from server (Forbidden): deployments.apps is forbidden: User "chiptest" cannot create resource "deployments" in API group "apps" in the namespace "default" -->
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Code block indented with four spaces
|
||||||
|
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
#### Code block with Hugo's internal highlight shortcode
|
||||||
|
{{< highlight html >}}
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
{{< /highlight >}}
|
||||||
|
|
||||||
|
## List Types
|
||||||
|
|
||||||
|
#### Ordered List
|
||||||
|
|
||||||
|
1. First item
|
||||||
|
2. Second item
|
||||||
|
3. Third item
|
||||||
|
|
||||||
|
#### Unordered List
|
||||||
|
|
||||||
|
* List item
|
||||||
|
* Another item
|
||||||
|
* And another item
|
||||||
|
|
||||||
|
#### Nested list
|
||||||
|
|
||||||
|
* Fruit
|
||||||
|
* Apple
|
||||||
|
* Orange
|
||||||
|
* Banana
|
||||||
|
* Dairy
|
||||||
|
* Milk
|
||||||
|
* Cheese
|
||||||
|
|
||||||
|
## Other Elements — abbr, sub, sup, kbd, mark
|
||||||
|
|
||||||
|
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
|
||||||
|
|
||||||
|
H<sub>2</sub>O
|
||||||
|
|
||||||
|
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||||
|
|
||||||
|
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
||||||
|
|
||||||
|
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
49
content/post/math-typesetting.md
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
---
|
||||||
|
author: Hugo Authors
|
||||||
|
title: Math Typesetting
|
||||||
|
date: 2019-03-08
|
||||||
|
description: A brief guide to setup KaTeX
|
||||||
|
math: true
|
||||||
|
---
|
||||||
|
|
||||||
|
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
In this example we will be using [KaTeX](https://katex.org/)
|
||||||
|
|
||||||
|
- Create a partial under `/layouts/partials/math.html`
|
||||||
|
- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
|
||||||
|
- Include the partial in your templates like so:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
{{ if or .Params.math .Site.Params.math }}
|
||||||
|
{{ partial "math.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
```
|
||||||
|
|
||||||
|
- To enable KaTex globally set the parameter `math` to `true` in a project's configuration
|
||||||
|
- To enable KaTex on a per page basis include the parameter `math: true` in content files
|
||||||
|
|
||||||
|
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
|
||||||
|
|
||||||
|
{{< math.inline >}}
|
||||||
|
{{ if or .Page.Params.math .Site.Params.math }}
|
||||||
|
<!-- KaTeX -->
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
|
||||||
|
{{ end }}
|
||||||
|
{{</ math.inline >}}
|
||||||
|
|
||||||
|
### Examples
|
||||||
|
|
||||||
|
{{< math.inline >}}
|
||||||
|
<p>
|
||||||
|
Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
|
||||||
|
</p>
|
||||||
|
{{</ math.inline >}}
|
||||||
|
|
||||||
|
Block math:
|
||||||
|
$$
|
||||||
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
|
$$
|
77
content/post/notices.md
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
---
|
||||||
|
author: Hugo Authors
|
||||||
|
title: Using Notices
|
||||||
|
date: 2021-08-20
|
||||||
|
description: Using Notices functionality withhin this theme
|
||||||
|
---
|
||||||
|
|
||||||
|
The "Notices" shortcode enables you to call out pieces of information - sidebars, warnings, tips, etc.
|
||||||
|
|
||||||
|
To create a notice on a page, you can use the `notice` shortcode.
|
||||||
|
You use the `notice` shortcode, with the first parameter being one of `note`, `info`, `tip`, and `warning`. Then add a title for your
|
||||||
|
note in quotes as the second parameter. The inner body of the note can be whatever markdown you want to create.
|
||||||
|
|
||||||
|
The following shortcode syntax within a markdown doc:
|
||||||
|
```
|
||||||
|
{{%/* notice note "Note" */%}}
|
||||||
|
This is a standard "note" style.
|
||||||
|
{{%/* /notice */%}}
|
||||||
|
```
|
||||||
|
will render as:
|
||||||
|
|
||||||
|
{{% notice note "Note" %}}
|
||||||
|
This is a standard "note" style.
|
||||||
|
{{% /notice %}}
|
||||||
|
|
||||||
|
The other three variants follow.
|
||||||
|
|
||||||
|
{{% notice info "Info" %}}
|
||||||
|
Here is the "info" style.
|
||||||
|
{{% /notice %}}
|
||||||
|
|
||||||
|
{{% notice tip "Tip" %}}
|
||||||
|
Here is a "tip" variant of a notice.
|
||||||
|
{{% /notice %}}
|
||||||
|
|
||||||
|
{{% notice warning "Warning" %}}
|
||||||
|
Here is the "warning" flavor of a notice.
|
||||||
|
{{% /notice %}}
|
||||||
|
|
||||||
|
|
||||||
|
Also note that the content of a notice can contain anything you could put on a normal page - as shown below:
|
||||||
|
|
||||||
|
{{% notice tip "Complex Notices are Possible!" %}}
|
||||||
|
This is a notice that has a lot of various kinds of content in it.
|
||||||
|
|
||||||
|
* Here is a bulleted list
|
||||||
|
* With more than one bullet
|
||||||
|
* And even more than one level
|
||||||
|
|
||||||
|
Code blocks are fine here, too....
|
||||||
|
```csharp
|
||||||
|
public void SayHello()
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello, world!");
|
||||||
|
}
|
||||||
|
```
|
||||||
|
{{% /notice %}}
|
||||||
|
|
||||||
|
|
||||||
|
{{% notice tip "Productivity Booster!" %}}
|
||||||
|
If you're using VS Code for your editing, copy the `.vscode\clarity.code-snippets` file into a `.vscode` root folder on your repo. This will enable you to type
|
||||||
|
`note` then `<tab>` then choose with up/down arrows which flavor notice you want, then `<tab>` again to provide a title, then `<tab>` to add your content!
|
||||||
|
|
||||||
|
![](/images/Note-Snippet.gif)
|
||||||
|
|
||||||
|
To use the snippet, you need to first **enable quickSuggestions for Markdown** (one time only):
|
||||||
|
|
||||||
|
1. Go to `Preferences->Settings` then search for `quickSuggestions`
|
||||||
|
1. Follow the link to Edit in settings.json
|
||||||
|
1. Toward the bottom of the file, paste in the following JSON:
|
||||||
|
```
|
||||||
|
"[markdown]": {
|
||||||
|
"editor.quickSuggestions": true
|
||||||
|
}
|
||||||
|
```
|
||||||
|
4. Close and save the settings.
|
||||||
|
{{% /notice %}}
|
45
content/post/placeholder-text.md
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Placeholder Text"
|
||||||
|
date = "2019-03-09"
|
||||||
|
description = "Lorem Ipsum Dolor Si Amet"
|
||||||
|
tags = [
|
||||||
|
"markdown",
|
||||||
|
"text",
|
||||||
|
]
|
||||||
|
+++
|
||||||
|
|
||||||
|
Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
|
||||||
|
|
||||||
|
1. Exierant elisi ambit vivere dedere
|
||||||
|
2. Duce pollice
|
||||||
|
3. Eris modo
|
||||||
|
4. Spargitque ferrea quos palude
|
||||||
|
|
||||||
|
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
|
||||||
|
|
||||||
|
1. Comas hunc haec pietate fetum procerum dixit
|
||||||
|
2. Post torum vates letum Tiresia
|
||||||
|
3. Flumen querellas
|
||||||
|
4. Arcanaque montibus omnes
|
||||||
|
5. Quidem et
|
||||||
|
|
||||||
|
# Vagus elidunt
|
||||||
|
|
||||||
|
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
||||||
|
|
||||||
|
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
||||||
|
|
||||||
|
## Mane refeci capiebant unda mulcebat
|
||||||
|
|
||||||
|
Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
|
||||||
|
|
||||||
|
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
|
||||||
|
|
||||||
|
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
|
||||||
|
|
||||||
|
{{< css.inline >}}
|
||||||
|
<style>
|
||||||
|
.canon { background: white; width: 100%; height: auto; }
|
||||||
|
</style>
|
||||||
|
{{< /css.inline >}}
|
44
content/post/rich-content.md
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Rich Content"
|
||||||
|
date = "2019-03-10"
|
||||||
|
description = "A brief description of Hugo Shortcodes"
|
||||||
|
tags = [
|
||||||
|
"shortcodes",
|
||||||
|
"privacy",
|
||||||
|
]
|
||||||
|
thumbnail = "images/dollar.png"
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
||||||
|
<!--more-->
|
||||||
|
---
|
||||||
|
|
||||||
|
## Instagram Simple Shortcode
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## YouTube Privacy Enhanced Shortcode
|
||||||
|
|
||||||
|
{{< youtube izYiDDt6d8s >}}
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Twitter Simple Shortcode
|
||||||
|
|
||||||
|
{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}}
|
||||||
|
|
||||||
|
See documentation https://gohugo.io/content-management/shortcodes/#tweet for more details
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Vimeo Simple Shortcode
|
||||||
|
|
||||||
|
{{< vimeo_simple 48912912 >}}
|
0
layouts/.gitkeep
Normal file
11
layouts/comments.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<div class="post_comments">
|
||||||
|
{{ template "_internal/disqus.html" . }}
|
||||||
|
<!-- add custom comments markup here -->
|
||||||
|
<script src="https://utteranc.es/client.js"
|
||||||
|
repo="jbowdre/jbowdre.github.io"
|
||||||
|
issue-term="title"
|
||||||
|
theme="github-dark"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
async>
|
||||||
|
</script>
|
||||||
|
</div>
|
0
static/.gitignore
vendored
Normal file
BIN
static/images/Note-Snippet.gif
Normal file
After Width: | Height: | Size: 710 KiB |
BIN
static/images/building.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
static/images/dollar.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
1
static/images/icons/bar.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg fill="none" height="67" viewBox="0 0 100 67" width="100" xmlns="http://www.w3.org/2000/svg"><g fill="#fff"><path d="m0 6.66667h1e2V0H0z"></path><path d="m0 35.2082h1e2v-6.6666H0z"></path><path d="m1e2 66.6665H0v-6.6667h1e2z"></path></g></svg>
|
After Width: | Height: | Size: 248 B |
42
static/images/icons/cancel.svg
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve" fill="#fff">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M294.111,256.001L504.109,46.003c10.523-10.524,10.523-27.586,0-38.109c-10.524-10.524-27.587-10.524-38.11,0L256,217.892
|
||||||
|
L46.002,7.894c-10.524-10.524-27.586-10.524-38.109,0s-10.524,27.586,0,38.109l209.998,209.998L7.893,465.999
|
||||||
|
c-10.524,10.524-10.524,27.586,0,38.109c10.524,10.524,27.586,10.523,38.109,0L256,294.11l209.997,209.998
|
||||||
|
c10.524,10.524,27.587,10.523,38.11,0c10.523-10.524,10.523-27.586,0-38.109L294.111,256.001z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 890 B |
1
static/images/icons/caret-icon.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg fill="none" height="5" viewBox="0 0 10 5" width="10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><mask id="a" height="5" maskUnits="userSpaceOnUse" width="10" x="0" y="0"><path d="m.833008.333496 4.166662 4.166664 4.16667-4.166664z" fill="#fff"/></mask><g fill="#80868b" mask="url(#a)"><path d="m-5-8h20v20h-20z"/><path d="m-5-8h20v20h-20z"/><path d="m-5-8h20v20h-20z"/></g></svg>
|
After Width: | Height: | Size: 419 B |
1
static/images/icons/carly.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg id="Layer" enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m504.971 239.029-56.971-56.97v-98.059c0-46.317-37.682-84-84-84h-44c-13.255 0-24 10.745-24 24s10.745 24 24 24h44c19.851 0 36 16.149 36 36v108c0 6.365 2.529 12.47 7.029 16.971l47.03 47.029-47.029 47.029c-4.501 4.501-7.03 10.606-7.03 16.971v108c0 19.851-16.149 36-36 36h-44c-13.255 0-24 10.745-24 24s10.745 24 24 24h44c46.318 0 84-37.683 84-84v-98.059l56.971-56.971c9.372-9.372 9.372-24.568 0-33.941z"/><path d="m112 192v-108c0-19.851 16.149-36 36-36h44c13.255 0 24-10.745 24-24s-10.745-24-24-24h-44c-46.318 0-84 37.683-84 84v98.059l-56.971 56.97c-9.373 9.373-9.373 24.568 0 33.941l56.971 56.971v98.059c0 46.317 37.682 84 84 84h44c13.255 0 24-10.745 24-24s-10.745-24-24-24h-44c-19.851 0-36-16.149-36-36v-108c0-6.365-2.529-12.47-7.029-16.971l-47.03-47.029 47.029-47.029c4.501-4.501 7.03-10.606 7.03-16.971z"/></svg>
|
After Width: | Height: | Size: 954 B |
1
static/images/icons/close.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg enable-background="new 0 0 15.642 15.642" viewBox="0 0 15.642 15.642" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="m8.882 7.821 6.541-6.541c.293-.293.293-.768 0-1.061s-.768-.293-1.061 0l-6.541 6.541-6.541-6.54c-.293-.293-.768-.293-1.061 0s-.293.768 0 1.061l6.541 6.541-6.54 6.54c-.293.293-.293.768 0 1.061.147.146.338.22.53.22s.384-.073.53-.22l6.541-6.541 6.541 6.541c.147.146.338.22.53.22s.384-.073.53-.22c.293-.293.293-.768 0-1.061z"/></svg>
|
After Width: | Height: | Size: 460 B |
66
static/images/icons/copy.svg
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M366.905,108.016h-141.91c-11.048,0-20.003,8.955-20.003,20.003s8.955,20.003,20.003,20.003h141.91
|
||||||
|
c11.048,0,20.003-8.955,20.003-20.003S377.952,108.016,366.905,108.016z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M366.905,188.027h-141.91c-11.048,0-20.003,8.955-20.003,20.003s8.955,20.003,20.003,20.003h141.91
|
||||||
|
c11.047,0,20.003-8.955,20.003-20.003S377.953,188.027,366.905,188.027z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M286.004,268.039h-61.009c-11.048,0-20.003,8.955-20.003,20.003c0,11.048,8.955,20.003,20.003,20.003h61.009
|
||||||
|
c11.048,0,20.003-8.955,20.003-20.003C306.007,276.994,297.052,268.039,286.004,268.039z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M448.028,272.039c11.048,0,20.003-8.955,20.003-20.003V80.012C468.031,35.893,432.137,0,388.019,0H203.992
|
||||||
|
c-44.094,0-79.971,35.853-80.012,79.938c-44.118,0-80.012,35.893-80.012,80.012v272.039c0,44.118,35.893,80.012,80.012,80.012
|
||||||
|
h194.028c44.118,0,80.012-35.893,80.012-80.012v-0.608c39.414-4.938,70.01-38.662,70.01-79.389
|
||||||
|
c0-11.048-8.955-20.003-20.003-20.003c-11.048,0-20.003,8.955-20.003,20.003c0,22.054-17.942,40.001-39.996,40.006l-184.027,0.045
|
||||||
|
h-0.009c-10.685,0-20.73-4.16-28.285-11.715c-7.558-7.556-11.721-17.604-11.721-28.291V80.012
|
||||||
|
c0-22.059,17.947-40.006,40.006-40.006H388.02c22.059,0,40.006,17.947,40.006,40.006v172.025
|
||||||
|
C428.025,263.084,436.98,272.039,448.028,272.039z M203.992,432.047h0.02l154.002-0.038
|
||||||
|
c-0.012,22.049-17.954,39.984-40.006,39.984H123.981c-22.059,0-40.006-17.947-40.006-40.006V159.948
|
||||||
|
c0-22.059,17.947-40.006,40.006-40.006v232.094c0,21.375,8.325,41.471,23.441,56.583
|
||||||
|
C162.535,423.729,182.622,432.047,203.992,432.047z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2 KiB |
1
static/images/icons/expand.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg height="512pt" viewBox="0 0 512.016 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m240 426.675781h-181.332031c-32.363281 0-58.667969-26.304687-58.667969-58.667969v-309.332031c0-32.363281 26.304688-58.6679685 58.667969-58.6679685h309.332031c32.363281 0 58.667969 26.3046875 58.667969 58.6679685v181.332031c0 8.832032-7.167969 16-16 16s-16-7.167968-16-16v-181.332031c0-14.699219-11.96875-26.667969-26.667969-26.667969h-309.332031c-14.699219 0-26.667969 11.96875-26.667969 26.667969v309.332031c0 14.699219 11.96875 26.667969 26.667969 26.667969h181.332031c8.832031 0 16 7.167969 16 16s-7.167969 16-16 16zm0 0"/><path d="m496 512.007812h-138.667969c-8.832031 0-16-7.167968-16-16 0-8.832031 7.167969-16 16-16h122.667969v-122.667968c0-8.832032 7.167969-16 16-16s16 7.167968 16 16v138.667968c0 8.832032-7.167969 16-16 16zm0 0"/><path d="m496 512.007812c-4.097656 0-8.191406-1.558593-11.308594-4.691406l-181.332031-181.335937c-6.25-6.25-6.25-16.382813 0-22.632813s16.382813-6.25 22.636719 0l181.332031 181.332032c6.25 6.25 6.25 16.382812 0 22.636718-3.136719 3.132813-7.230469 4.691406-11.328125 4.691406zm0 0"/></svg>
|
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
1
static/images/icons/link.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg enable-background="new 0 0 64 64" height="512" viewBox="0 0 64 64" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m19 40c1.104 0 2-.896 2-2s-.896-2-2-2c-3.86 0-7-3.14-7-7 0-1.873.728-3.628 2.059-4.95 1.313-1.322 3.068-2.05 4.941-2.05h10c3.86 0 7 3.14 7 7 0 .258-.015.509-.048.78-.174 1.574-.885 3.052-2.017 4.176-.532.54-1.137.974-1.797 1.289-.997.476-1.419 1.669-.944 2.666.476.996 1.669 1.419 2.667.943 1.08-.516 2.063-1.219 2.908-2.075 1.763-1.75 2.885-4.08 3.156-6.539.051-.413.075-.819.075-1.24 0-6.065-4.935-11-11-11h-10c-2.947 0-5.709 1.147-7.77 3.221-2.083 2.07-3.23 4.832-3.23 7.779 0 6.065 4.935 11 11 11z"/><path d="m45 28c-1.104 0-2 .896-2 2s.896 2 2 2c3.86 0 7 3.141 7 7 0 1.873-.728 3.628-2.059 4.95-1.313 1.322-3.068 2.05-4.941 2.05h-10c-3.86 0-7-3.141-7-7 0-.258.015-.509.048-.78.174-1.574.885-3.052 2.017-4.176.532-.54 1.136-.974 1.796-1.289.997-.476 1.419-1.67.944-2.667s-1.669-1.418-2.667-.944c-1.081.516-2.064 1.22-2.908 2.076-1.763 1.75-2.885 4.08-3.156 6.538-.05.415-.074.821-.074 1.242 0 6.065 4.935 11 11 11h10c2.946 0 5.709-1.147 7.77-3.221 2.083-2.07 3.23-4.833 3.23-7.779 0-6.065-4.935-11-11-11z"/></g></svg>
|
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
66
static/images/icons/order.svg
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M492,236H144.262c-11.046,0-20,8.954-20,20s8.954,20,20,20H492c11.046,0,20-8.954,20-20C512,244.954,503.046,236,492,236z
|
||||||
|
"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M492,86H144.262c-11.046,0-20,8.954-20,20s8.954,20,20,20H492c11.046,0,20-8.954,20-20S503.046,86,492,86z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<path d="M492,386H144.262c-11.046,0-20,8.954-20,20c0,11.046,8.954,20,20,20H492c11.046,0,20-8.954,20-20
|
||||||
|
C512,394.954,503.046,386,492,386z"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<circle cx="27" cy="106" r="27"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<circle cx="27" cy="256" r="27"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<circle cx="27" cy="406" r="27"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
static/logos/logo.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
static/logos/potato_16.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
static/logos/potato_32.png
Normal file
After Width: | Height: | Size: 2 KiB |
|
@ -1 +0,0 @@
|
||||||
Subproject commit 3094e3f118f9004d00880a03cd85e1c8bb295367
|
|