Compare commits

...

No commits in common. "main" and "gh-pages" have entirely different histories.

103 changed files with 1690 additions and 1954 deletions

View File

@ -1,32 +0,0 @@
name: github pages
on:
push:
branches:
- main # Set a branch that will trigger a deployment
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
- name: Build
run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://clente.github.io/hugo-bearcub/
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

5
.gitignore vendored
View File

@ -1,5 +0,0 @@
.hugo_build.lock
.DS_Store
resources/
todo.md
exampleSite/public/

0
.nojekyll Normal file
View File

6
404.html Normal file
View File

@ -0,0 +1,6 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>404</title>
<meta name=title content="404 Page not found"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/404.html"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="404 Page not found"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="404 Page not found"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/pt/404.html>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1>404</h1><h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

21
LICENSE
View File

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2020 Jan Raasch
Copyright (c) 2023 Caio Lente
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.

245
README.md
View File

@ -1,245 +0,0 @@
# ᕦʕ •ᴥ•ʔᕤ Bear Cub
[![github pages](https://github.com/clente/hugo-bearcub/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/clente/hugo-bearcub/actions/workflows/gh-pages.yml)
[![MIT license](https://img.shields.io/github/license/clente/hugo-bearcub)](https://github.com/clente/hugo-bearcub/blob/main/LICENSE)
## Overview
🐻 A lightweight [Hugo](https://gohugo.io/) theme based on [Bear
Blog](https://bearblog.dev) and [Hugo Bear
Blog](https://github.com/janraasch/hugo-bearblog).
**Bear Cub** takes care of speed and optimization, so you can focus on writing
good content. It is free, multilingual, optimized for search engines,
no-nonsense, responsive, light, and fast. Really fast.
## Installation
Follow Hugo's [quick start](https://gohugo.io/getting-started/quick-start/) to
create an empty website and then clone **Bear Cub** into the themes directory as
a [Git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules):
```sh
git submodule add https://github.com/clente/hugo-bearcub themes/hugo-bearcub
```
To finish off, append a line to the site configuration file:
```sh
echo 'theme = "hugo-bearcub"' >> hugo.toml
```
## Features
Like [Bear Blog](https://bearblog.dev), this theme:
- Is free and open source
- Looks great on any device
- Makes tiny (~5kb), optimized, and awesome pages
- Has no trackers, ads, or scripts
- Automatically generates an RSS feed
But that's not all! **Bear Cub** is also...
### Accessible
**Bear Cub** has a few accessibility upgrades when compared to its predecessors.
The color palette has been overhauled to make sure everything is
[readable](https://web.dev/color-and-contrast-accessibility/) for users with low
vision impairments or color deficiencies, and some interactive elements were
made bigger to facilitate [clicking](https://web.dev/accessible-tap-targets/)
for users with a motor impairment.
These small changes mean that **Bear Cub** passes Google's [PageSpeed
test](https://pagespeed.web.dev/report?url=https%3A%2F%2Fclente.github.io%2Fhugo-bearcub%2F)
with flying colors.
![PageSpeed score](https://raw.githubusercontent.com/clente/hugo-bearcub/main/images/pagespeed.webp)
### Secure
[**Bear Cub**'s demo](https://clente.github.io/hugo-bearcub/) is hosted on GitHub
and therefore I'm not in control of its [Content Security
Policy](https://infosec.mozilla.org/guidelines/web_security#content-security-policy).
However, the theme itself was made with security in mind: there are no inline
styles and it uses no JavaScript at all.
If you want to improve your [Mozilla
Observatory](https://observatory.mozilla.org/) score even further, you should be
able to simply add a few headers to your hosting service's configuration (e.g.
[Netlify](https://docs.netlify.com/routing/headers/) or [Cloudflare
Pages](https://developers.cloudflare.com/pages/platform/headers/)) and never
have to think about it again. My `_headers` file, for example, looks like this:
```
/*
X-Content-Type-Options: nosniff
Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload" env=HTTPS
Cache-Control: max-age=31536000, public
X-Frame-Options: deny
Referrer-Policy: no-referrer
Feature-Policy: microphone 'none'; payment 'none'; geolocation 'none'; midi 'none'; sync-xhr 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'
Content-Security-Policy: default-src 'none'; manifest-src 'self'; font-src 'self'; img-src 'self'; style-src 'self'; form-action 'none'; frame-ancestors 'none'; base-uri 'none'
X-XSS-Protection: 1; mode=block
```
### Multilingual
If you need to write a blog that supports more than one language, **Bear Cub**
has you covered! Check out the demo's [`hugo.toml`
file](https://github.com/clente/hugo-bearcub/blob/main/exampleSite/hugo.toml)
for a sample of how you can setup multilingual support.
By default, the theme creates a translation button that gets disabled when the
current page is only available in any other language. You can also choose to
hide this button (instead of disabling it) by setting `hideUntranslated =
true`.
### More
Every once in a while, as I keep using **Bear Cub**, I notice that there is some
functionality missing. Currently, these are the "advanced features" that I have
already implemented:
- Full-text RSS feed: an enhanced RSS feed template that includes the (properly
encoded) full content of your posts in the feed itself.
- Static content: you can create empty blog entries that act as links to static
files by including `link: "{url}"` in a post's [front
matter](https://gohugo.io/content-management/front-matter/). You can also add
`render: false` to your [build
options](https://gohugo.io/content-management/build-options/#readout) to avoid
rendering blank posts.
- Skip link: a "skip to main content" link that is temporarily invisible, but
can be focused by people who need a keyboard to navigate the web (see [PR
#5](https://github.com/clente/hugo-bearcub/pull/5) by
[@2kool4idkwhat](https://github.com/2kool4idkwhat) for more information).
- Reply by email: if you supply an email address, the theme creates a "Reply to
this post by email" button at the end of every post (see Kev Quirk's [original
implementation](https://kevquirk.com/adding-the-post-title-to-my-reply-by-email-button)).
This button can be suppressed on a case-by-case by setting `hideReply: true`
in a post's [front matter](https://gohugo.io/content-management/front-matter/)
(see [PR #18](https://github.com/clente/hugo-bearcub/pull/18) by
[@chrsmutti](https://github.com/chrsmutti)).
- `absfigure` shortcode: a shortcut to use the `figure` shortcode that also
converts relative URLs into absolute URLs by using the `absURL` function.
- Single-use CSS (EXPERIMENTAL): you can add some styles to a single page by
writing the CSS you need in `assets/{custom_css}.css` and then including
`style: "{custom_css}.css"` in the [front
matter](https://gohugo.io/content-management/front-matter/) of said page.
- Conditional CSS (EXPERIMENTAL): since **Bear Cub** does syntax highlighting
without inline styles (see `hugo.toml` for more information), it only load its
`syntax.css` if, and only if, a code block is actually present in the current
page.
- Alternative "Herman" style (EXPERIMENTAL): if you want to check out a more
modern CSS style, you can change the `themeStyle` parameter to `"herman"` in
order to activate [Herman Martinus's](https://herman.bearblog.dev/) version of
the [Blogster Minimal](https://blogster-minimal.netlify.app/) theme for
[Astro](https://astro.build/).
- Dynamic social card generation (EXPERIMENTAL): if you don't add preview images
to a post, this template will generate one based on the title. You can see an
example below.
![Social card example](https://raw.githubusercontent.com/clente/hugo-bearcub/main/images/social_card.webp)
## Configuration
**Bear Cub** can be customized with a `hugo.toml` file. Check out the
[configuration](https://github.com/clente/hugo-bearcub/blob/main/exampleSite/hugo.toml)
of the [demo](https://clente.github.io/hugo-bearcub/) for more information.
```toml
# Basic config
baseURL = "https://example.com"
theme = "hugo-bearcub"
copyright = "John Doe (CC BY 4.0)"
defaultContentLanguage = "en"
# Generate a nice robots.txt for SEO
enableRobotsTXT = true
# Setup syntax highlighting without inline styles. For more information about
# why you'd want to avoid inline styles, see
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src#unsafe_inline_styles
[markup]
[markup.highlight]
lineNos = true
lineNumbersInTable = false
# This allows Bear Cub to use a variation of Dracula that is more accessible
# to people with poor eyesight. For more information about color contrast
# and accessibility, see https://web.dev/color-and-contrast-accessibility/
noClasses = false
# Multilingual mode config. More for information about how to setup translation,
# see https://gohugo.io/content-management/multilingual/
[languages]
[languages.en]
title = "Bear Cub"
languageName = "en-US 🇺🇸"
LanguageCode = "en-US"
contentDir = "content"
[languages.en.params]
madeWith = "Made with [Bear Cub](https://github.com/clente/hugo-bearcub)"
[languages.pt]
title = "Bear Cub"
languageName = "pt-BR 🇧🇷"
LanguageCode = "pt-BR"
contentDir = "content.pt"
[languages.pt.params]
madeWith = "Feito com [Bear Cub](https://github.com/clente/hugo-bearcub)"
[params]
# The description of your website
description = "Bear Cub Demo"
# The path to your favicon
favicon = "images/favicon.png"
# These images will show up when services want to generate a preview of a link
# to your site. Ignored if `generateSocialCard = true`. For more information
# about previews, see https://gohugo.io/templates/internal#twitter-cards and
# https://gohugo.io/templates/internal#open-graph
images = ["images/share.webp"]
# This title is used as the site_name on the Hugo's internal opengraph
# structured data template
title = "Bear Cub"
# Dates are displayed following the format below. For more information about
# formatting, see https://gohugo.io/functions/format/
dateFormat = "2006-01-02"
# If your blog is multilingual but you haven't translated a page, this theme
# will create a disabled link. By setting `hideUntranslated` to true, you can
# have the theme simply not show any link
hideUntranslated = false
# (EXPERIMENTAL) This theme has two options for its CSS styles: "original" and
# "herman". The former is what you see on Bear Cub's demo (an optimized
# version of Hugo Bear Blog), while the latter has a more modern look based on
# Herman Martinus's version of the Blogster Minimal theme for Astro.
themeStyle = "original"
# (EXPERIMENTAL) This theme is capable of dynamically generating social cards
# for posts that don't have `images` defined in their front matter; By setting
# `generateSocialCard` to false, you can prevent this behavior. For more
# information see layouts/partials/social_card.html
generateSocialCard = true
# Social media. Delete any item you aren't using to make sure it won't show up
# in your website's metadata.
[params.social]
twitter = "example" # Twitter handle (without '@')
facebook_admin = "0000000000" # Facebook Page Admin ID
# Author metadata. This is mostly used for the RSS feed of your site, but the
# email is also added to the footer of each post. You can hide the "reply to"
# link by using a `hideReply` param in front matter.
[params.author]
name = "John Doe" # Your name as shown in the RSS feed metadata
email = "me@example.com" # Added to the footer so readers can reply to posts
```
## Contributing
If you come across any problems while using **Bear Cub**, you can file an
[issue](https://github.com/clente/hugo-bearcub/issues) or create a [pull
request](https://github.com/clente/hugo-bearcub/pulls).

View File

@ -1,180 +0,0 @@
body {
font-family: Verdana, sans-serif;
margin: auto;
padding: 20px;
max-width: 720px;
text-align: left;
background-color: #11111b;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: #cdd6f4;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
color: #cdd6f4;
}
a {
color: #f38ba8;
}
.title {
text-decoration: none;
border: 0;
}
.title h1 {
font-size: 24px;
margin: 19.92px 0 19.92px 0;
}
.title span {
font-weight: 400;
}
nav a {
margin-right: 10px;
}
textarea {
background-color: #313244;
color: #bac2de;
width: 100%;
font-size: 16px;
}
input {
background-color: #313244;
color: #bac2de;
font-size: 16px;
}
content {
line-height: 1.6;
}
table {
width: 100%;
}
table,
th,
td {
border: 1px solid;
border-collapse: collapse;
border-color: #bac2de;
padding: 5px;
}
img {
max-width: 100%;
height: auto;
}
code {
padding: 2px 5px;
color: #cdd6f4;
background-color: #1e1e2e;
}
pre code {
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 14px;
overflow-x: auto;
text-wrap: nowrap;
}
blockquote {
border-left: 1px solid #a6adc8;
color: #a6adc8;
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px;
text-align: center;
}
.helptext {
color: #a6adc8;
font-size: small;
}
.errorlist {
color: #f9e2af;
font-size: small;
}
/* blog posts */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
margin-bottom: 10px;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: #f38ba8;
}
a.blog-tags {
line-height: 2;
margin-right: 12px;
}
h3.blog-filter {
margin-bottom: 0;
}
.disabled {
color: currentColor;
cursor: not-allowed;
opacity: 0.7;
}
p.byline {
font-style: italic;
}
/* "Skip to main content" link */
.skip-link {
position: absolute;
top: 5;
transform: translateY(-600%);
transition: transform 0.5s;
background-color: #11111b;
padding: 6px;
}
.skip-link:focus {
transform: translateY(0%);
}
figure {
margin-inline-start: 0em;
margin-inline-end: 0em;
}
figcaption > p {
margin-block-start: 0px;
text-align: center;
font-style: italic;
color: #cdd6f4;
}

View File

@ -1,202 +0,0 @@
:root {
font-size: 62.5%; /* 10px */
--color-dark: #181a20;
--color-light: #fafafa;
--color-primary: #1a8fe3;
--size: 1rem;
--spacing: calc(var(--size) * 2.4);
}
body {
background: var(--color-dark);
color: var(--color-light);
padding: 4rem;
font-family: Avenir, 'Avenir Next LT Pro', Montserrat, Corbel, 'URW Gothic',
source-sans-pro, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
font-size: calc(var(--size) * 1.8);
line-height: 1.5;
min-height: 80vh;
max-width: 1600px;
margin: 0 auto;
word-wrap: break-word;
}
header,
main,
footer {
max-width: 70ch;
margin-inline: auto;
}
header {
padding-bottom: var(--spacing);
}
nav a, a.blog-tags {
margin-right: calc(var(--spacing) / 2);
}
a.blog-tags {
line-height: 2;
}
main {
padding-bottom: var(--spacing);
}
footer {
text-align: center;
padding-top: var(--spacing);
}
a {
color: currentColor;
text-decoration-color: var(--color-primary);
text-decoration-thickness: 0.3ex;
text-underline-offset: 0.3ex;
}
a:hover {
text-decoration-thickness: 0.4ex;
}
img {
display: block;
max-width: 100%;
height: auto;
}
h1,
h2,
h3,
h4 {
font-weight: 700;
line-height: 1.3;
}
h1 {
font-size: calc(var(--size) * 4.2);
}
h2 {
font-size: calc(var(--size) * 3.4);
}
h3 {
font-size: calc(var(--size) * 2.6);
}
h4 {
font-size: calc(var(--size) * 1.8);
}
ul,
ol {
padding-inline-start: var(--spacing);
}
li {
margin-block-start: var(--spacing);
}
blockquote {
padding-inline-start: var(--spacing);
border-inline-start: 0.2em solid;
font-style: italic;
max-width: 50ch;
}
:is(h1, h2, h3, h4, blockquote) {
margin-block-end: calc(var(--spacing) / 2);
}
:is(h1, h2, h3, h4) + * {
margin-block-start: calc(var(--spacing) / 3);
}
:is(h1, h2, h3, h4) + :where(h2, h3, h4) {
margin-block-start: calc(var(--spacing) * 2);
}
.title {
text-decoration: none;
}
.title h1 {
font-size: calc(var(--size) * 3.4);
margin-top: calc(var(--spacing) / 2);
}
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
flex-direction: column;
}
ul.blog-posts li span {
min-width: 11ch;
}
p.byline {
opacity: 0.5;
}
code {
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro',
Menlo, Consolas, 'DejaVu Sans Mono', monospace;
padding: 2px calc(var(--spacing) / 4);
background-color: #282a36;
font-size: calc(var(--size) * 1.4);
}
pre code {
display: block;
padding: var(--spacing);
overflow-x: auto;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
}
table {
width: 100%;
}
table,
th,
td {
border: 1px solid;
border-collapse: collapse;
border-color: var(--color-light);
padding: calc(var(--spacing) / 2);
}
.disabled {
color: currentColor;
cursor: not-allowed;
opacity: 0.5;
}
@media screen and (min-width: 600px) {
ul.blog-posts li {
flex-direction: row;
gap: calc(var(--spacing) / 2);
}
}
/* "Skip to main content" link */
.skip-link {
position: absolute;
top: 5;
transform: translateY(-600%);
transition: transform 0.5s;
background-color: #181a20;
padding: 6px;
}
.skip-link:focus {
transform: translateY(0%);
}
figure {
margin-inline-start: 0em;
margin-inline-end: 0em;
}
figcaption > p {
margin-block-start: 9px;
text-align: center;
font-style: italic;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -1,180 +0,0 @@
body {
font-family: Verdana, sans-serif;
margin: auto;
padding: 20px;
max-width: 720px;
text-align: left;
background-color: #1d1f27;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: #c9d1d9;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
color: #eee;
}
a {
color: #8cc2dd;
}
.title {
text-decoration: none;
border: 0;
}
.title h1 {
font-size: 24px;
margin: 19.92px 0 19.92px 0;
}
.title span {
font-weight: 400;
}
nav a {
margin-right: 10px;
}
textarea {
background-color: #252525;
color: #ddd;
width: 100%;
font-size: 16px;
}
input {
background-color: #252525;
color: #ddd;
font-size: 16px;
}
content {
line-height: 1.6;
}
table {
width: 100%;
}
table,
th,
td {
border: 1px solid;
border-collapse: collapse;
border-color: #c9d1d9;
padding: 5px;
}
img {
max-width: 100%;
height: auto;
}
code {
padding: 2px 5px;
color: #f8f8f2;
background-color: #282a36;
}
pre code {
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 14px;
overflow-x: auto;
text-wrap: nowrap;
}
blockquote {
border-left: 1px solid #999;
color: #ccc;
padding-left: 20px;
font-style: italic;
}
footer {
padding: 25px;
text-align: center;
}
.helptext {
color: #aaa;
font-size: small;
}
.errorlist {
color: #eba613;
font-size: small;
}
/* blog posts */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
margin-bottom: 10px;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: #8b6fcb;
}
a.blog-tags {
line-height: 2;
margin-right: 12px;
}
h3.blog-filter {
margin-bottom: 0;
}
.disabled {
color: currentColor;
cursor: not-allowed;
opacity: 0.7;
}
p.byline {
font-style: italic;
}
/* "Skip to main content" link */
.skip-link {
position: absolute;
top: 5;
transform: translateY(-600%);
transition: transform 0.5s;
background-color: #1d1f27;
padding: 6px;
}
.skip-link:focus {
transform: translateY(0%);
}
figure {
margin-inline-start: 0em;
margin-inline-end: 0em;
}
figcaption > p {
margin-block-start: 0px;
text-align: center;
font-style: italic;
color: #ccc;
}

View File

@ -1,88 +0,0 @@
/* Generated using: hugo gen chromastyles --style=catppuccin-mocha */
/* Background */ .bg { color:#cdd6f4;background-color:#1e1e2e; }
/* PreWrapper */ .chroma { color:#cdd6f4;background-color:#1e1e2e; }
/* Other */ .chroma .x { }
/* Error */ .chroma .err { color:#f38ba8 }
/* CodeLine */ .chroma .cl { }
/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
/* LineHighlight */ .chroma .hl { background-color:#45475a }
/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f849c }
/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f849c }
/* Line */ .chroma .line { display:flex; }
/* Keyword */ .chroma .k { color:#cba6f7 }
/* KeywordConstant */ .chroma .kc { color:#fab387 }
/* KeywordDeclaration */ .chroma .kd { color:#f38ba8 }
/* KeywordNamespace */ .chroma .kn { color:#94e2d5 }
/* KeywordPseudo */ .chroma .kp { color:#cba6f7 }
/* KeywordReserved */ .chroma .kr { color:#cba6f7 }
/* KeywordType */ .chroma .kt { color:#f38ba8 }
/* Name */ .chroma .n { }
/* NameAttribute */ .chroma .na { color:#89b4fa }
/* NameBuiltin */ .chroma .nb { color:#89dceb }
/* NameBuiltinPseudo */ .chroma .bp { color:#89dceb }
/* NameClass */ .chroma .nc { color:#f9e2af }
/* NameConstant */ .chroma .no { color:#f9e2af }
/* NameDecorator */ .chroma .nd { color:#89b4fa;font-weight:bold }
/* NameEntity */ .chroma .ni { color:#94e2d5 }
/* NameException */ .chroma .ne { color:#fab387 }
/* NameFunction */ .chroma .nf { color:#89b4fa }
/* NameFunctionMagic */ .chroma .fm { color:#89b4fa }
/* NameLabel */ .chroma .nl { color:#89dceb }
/* NameNamespace */ .chroma .nn { color:#fab387 }
/* NameOther */ .chroma .nx { }
/* NameProperty */ .chroma .py { color:#fab387 }
/* NameTag */ .chroma .nt { color:#cba6f7 }
/* NameVariable */ .chroma .nv { color:#f5e0dc }
/* NameVariableClass */ .chroma .vc { color:#f5e0dc }
/* NameVariableGlobal */ .chroma .vg { color:#f5e0dc }
/* NameVariableInstance */ .chroma .vi { color:#f5e0dc }
/* NameVariableMagic */ .chroma .vm { color:#f5e0dc }
/* Literal */ .chroma .l { }
/* LiteralDate */ .chroma .ld { }
/* LiteralString */ .chroma .s { color:#a6e3a1 }
/* LiteralStringAffix */ .chroma .sa { color:#f38ba8 }
/* LiteralStringBacktick */ .chroma .sb { color:#a6e3a1 }
/* LiteralStringChar */ .chroma .sc { color:#a6e3a1 }
/* LiteralStringDelimiter */ .chroma .dl { color:#89b4fa }
/* LiteralStringDoc */ .chroma .sd { color:#6c7086 }
/* LiteralStringDouble */ .chroma .s2 { color:#a6e3a1 }
/* LiteralStringEscape */ .chroma .se { color:#89b4fa }
/* LiteralStringHeredoc */ .chroma .sh { color:#6c7086 }
/* LiteralStringInterpol */ .chroma .si { color:#a6e3a1 }
/* LiteralStringOther */ .chroma .sx { color:#a6e3a1 }
/* LiteralStringRegex */ .chroma .sr { color:#94e2d5 }
/* LiteralStringSingle */ .chroma .s1 { color:#a6e3a1 }
/* LiteralStringSymbol */ .chroma .ss { color:#a6e3a1 }
/* LiteralNumber */ .chroma .m { color:#fab387 }
/* LiteralNumberBin */ .chroma .mb { color:#fab387 }
/* LiteralNumberFloat */ .chroma .mf { color:#fab387 }
/* LiteralNumberHex */ .chroma .mh { color:#fab387 }
/* LiteralNumberInteger */ .chroma .mi { color:#fab387 }
/* LiteralNumberIntegerLong */ .chroma .il { color:#fab387 }
/* LiteralNumberOct */ .chroma .mo { color:#fab387 }
/* Operator */ .chroma .o { color:#89dceb;font-weight:bold }
/* OperatorWord */ .chroma .ow { color:#89dceb;font-weight:bold }
/* Punctuation */ .chroma .p { }
/* Comment */ .chroma .c { color:#6c7086;font-style:italic }
/* CommentHashbang */ .chroma .ch { color:#6c7086;font-style:italic }
/* CommentMultiline */ .chroma .cm { color:#6c7086;font-style:italic }
/* CommentSingle */ .chroma .c1 { color:#6c7086;font-style:italic }
/* CommentSpecial */ .chroma .cs { color:#6c7086;font-style:italic }
/* CommentPreproc */ .chroma .cp { color:#6c7086;font-style:italic }
/* CommentPreprocFile */ .chroma .cpf { color:#6c7086;font-weight:bold;font-style:italic }
/* Generic */ .chroma .g { }
/* GenericDeleted */ .chroma .gd { color:#f38ba8;background-color:#313244 }
/* GenericEmph */ .chroma .ge { font-style:italic }
/* GenericError */ .chroma .gr { color:#f38ba8 }
/* GenericHeading */ .chroma .gh { color:#fab387;font-weight:bold }
/* GenericInserted */ .chroma .gi { color:#a6e3a1;background-color:#313244 }
/* GenericOutput */ .chroma .go { }
/* GenericPrompt */ .chroma .gp { }
/* GenericStrong */ .chroma .gs { font-weight:bold }
/* GenericSubheading */ .chroma .gu { color:#fab387;font-weight:bold }
/* GenericTraceback */ .chroma .gt { color:#f38ba8 }
/* GenericUnderline */ .chroma .gl { text-decoration:underline }
/* TextWhitespace */ .chroma .w { }

View File

@ -0,0 +1,9 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Emoji Support | Bear Cub</title>
<meta name=title content="Emoji Support"><meta name=description content="Guide to emoji usage in Hugo"><meta name=author content="Hugo Authors"><meta name=keywords content="emoji,"><meta property="og:title" content="Emoji Support"><meta property="og:description" content="Guide to emoji usage in Hugo"><meta property="og:type" content="article"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/blog/emoji-support/"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu17457681255443236404.webp"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-03-05T00:00:00+00:00"><meta property="article:modified_time" content="2019-03-05T00:00:00+00:00"><meta property="og:site_name" content="Bear Cub"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu17457681255443236404.webp"><meta name=twitter:title content="Emoji Support"><meta name=twitter:description content="Guide to emoji usage in Hugo"><meta name=twitter:site content="@example"><meta itemprop=name content="Emoji Support"><meta itemprop=description content="Guide to emoji usage in Hugo"><meta itemprop=datePublished content="2019-03-05T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-05T00:00:00+00:00"><meta itemprop=wordCount content="124"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu17457681255443236404.webp"><meta itemprop=keywords content="emoji,"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link href=/hugo-bearcub/syntax.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1>Emoji Support</h1><p class=byline><time datetime=2019-03-05 pubdate>2019-03-05
</time>· Hugo Authors</p><content><p>Emoji can be enabled in a Hugo project in a number of ways.</p><p>The <a href=https://gohugo.io/functions/emojify/><code>emojify</code></a> function can be called directly in templates or <a href=https://gohugo.io/templates/shortcode-templates/#inline-shortcodes>Inline Shortcodes</a>.</p><p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site&rsquo;s <a href=https://gohugo.io/getting-started/configuration/>configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p><p>The <a href=http://www.emoji-cheat-sheet.com/>Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p><hr><p><strong>N.B.</strong> 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.</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-html data-lang=html><span class=line><span class=ln>1</span><span class=cl>.emoji {
</span></span><span class=line><span class=ln>2</span><span class=cl> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
</span></span><span class=line><span class=ln>3</span><span class=cl>}</span></span></code></pre></div></content><p><a class=blog-tags href=/hugo-bearcub/tags/emoji/>#emoji</a></p><p><a href='mailto:me@example.com?subject=Reply%20to%20"Emoji%20Support"'>Reply to this post by email ↪</a></p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

17
blog/index.html Normal file
View File

@ -0,0 +1,17 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Blog | Bear Cub</title>
<meta name=title content="Blog"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/blog/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Blog"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Blog"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Blog"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/blog/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/pt/blog/>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/blog/markdown-syntax/>Markdown Syntax Guide</a></li><li><span><i><time datetime=2019-03-10 pubdate>2019-03-10
</time></i></span><a href=/hugo-bearcub/blog/rich-content/>Rich Content</a></li><li><span><i><time datetime=2019-03-09 pubdate>2019-03-09
</time></i></span><a href=/hugo-bearcub/blog/placeholder-text/>Placeholder Text</a></li><li><span><i><time datetime=2019-03-08 pubdate>2019-03-08
</time></i></span><a href=/hugo-bearcub/blog/math-typesetting/>Math Typesetting</a></li><li><span><i><time datetime=2019-03-05 pubdate>2019-03-05
</time></i></span><a href=/hugo-bearcub/blog/emoji-support/>Emoji Support</a></li></ul><div><a class=blog-tags href=/hugo-bearcub/tags/css/>#css</a>
<a class=blog-tags href=/hugo-bearcub/tags/emoji/>#emoji</a>
<a class=blog-tags href=/hugo-bearcub/tags/html/>#html</a>
<a class=blog-tags href=/hugo-bearcub/tags/markdown/>#markdown</a>
<a class=blog-tags href=/hugo-bearcub/tags/privacy/>#privacy</a>
<a class=blog-tags href=/hugo-bearcub/tags/shortcodes/>#shortcodes</a>
<a class=blog-tags href=/hugo-bearcub/tags/text/>#text</a></div></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

256
blog/index.xml Normal file
View File

@ -0,0 +1,256 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Blog on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/blog/</link><description>Recent content in Blog on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Syntax Guide</title><link>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</guid><description>&lt;p>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.&lt;/p></description><content:encoded><![CDATA[<p>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.</p>
<h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>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.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
<!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
</blockquote>
<h2 id="tables">Tables</h2>
<p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table>
<thead>
<tr>
<th>Italics</th>
<th>Bold</th>
<th>Code</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>italics</em></td>
<td><strong>bold</strong></td>
<td><code>code</code></td>
</tr>
</tbody>
</table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content:encoded></item><item><title>Rich Content</title><link>https://clente.github.io/hugo-bearcub/blog/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/rich-content/</guid><description>&lt;p>Hugo ships with several &lt;a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes&lt;/a> for rich content, along with a &lt;a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config&lt;/a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.&lt;/p></description><content:encoded><![CDATA[<p>Hugo ships with several <a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes</a> for rich content, along with a <a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config</a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.</p>
<hr>
<h2 id="youtube-privacy-enhanced-shortcode">YouTube Privacy Enhanced Shortcode</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/ZJthWmvUzzc?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
</div>
<!-- raw HTML omitted -->
<hr>
<h2 id="twitter-simple-shortcode">Twitter Simple Shortcode</h2>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">“In addition to being more logical, asymmetry has the advantage that its complete appearance is far more optically effective than symmetry.”<br>— Jan Tschichold <a href="https://t.co/gcv7SrhvJb">pic.twitter.com/gcv7SrhvJb</a></p>&mdash; Design Reviewed | Graphic Design History (@DesignReviewed) <a href="https://twitter.com/DesignReviewed/status/1085870671291310081?ref_src=twsrc%5Etfw">January 17, 2019</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<!-- raw HTML omitted -->
<hr>
<h2 id="vimeo-simple-shortcode">Vimeo Simple Shortcode</h2>
<style>
.__h_video {
position: relative;
padding-bottom: 56.23%;
height: 0;
overflow: hidden;
width: 100%;
background: #000;
}
.__h_video img {
width: 100%;
height: auto;
color: #000;
}
.__h_video .play {
height: 72px;
width: 72px;
left: 50%;
top: 50%;
margin-left: -36px;
margin-top: -36px;
position: absolute;
cursor: pointer;
}
</style><div class="s_video_simple __h_video">
<a href="https://vimeo.com/4.8912912e&#43;07" rel="noopener" target="_blank">
<img src="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640" srcset="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 1x, https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 2x" alt="Sing Jan Swing - Kinetic Type">
<div class="play">
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 61 61"><circle cx="30.5" cy="30.5" r="30.5" opacity=".8" fill="#000"></circle><path d="M25.3 19.2c-2.1-1.2-3.8-.2-3.8 2.2v18.1c0 2.4 1.7 3.4 3.8 2.2l16.6-9.1c2.1-1.2 2.1-3.2 0-4.4l-16.6-9z" fill="#fff"></path></svg>
</div>
</a>
</div>]]></content:encoded></item><item><title>Placeholder Text</title><link>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</guid><description>&lt;p>Lorem est tota propiore conpellat pectoribus de pectora summo.&lt;/p></description><content:encoded><![CDATA[<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
<p>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.</p>
<ol>
<li>Exierant elisi ambit vivere dedere</li>
<li>Duce pollice</li>
<li>Eris modo</li>
<li>Spargitque ferrea quos palude</li>
</ol>
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
<ol>
<li>Comas hunc haec pietate fetum procerum dixit</li>
<li>Post torum vates letum Tiresia</li>
<li>Flumen querellas</li>
<li>Arcanaque montibus omnes</li>
<li>Quidem et</li>
</ol>
<h1 id="vagus-elidunt">Vagus elidunt</h1>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat</h2>
<p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
<p>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.</p>
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p>]]></content:encoded></item><item><title>Math Typesetting</title><link>https://clente.github.io/hugo-bearcub/blog/math-typesetting/</link><pubDate>Fri, 08 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/math-typesetting/</guid><description>&lt;p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.&lt;/p></description><content:encoded><![CDATA[<p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>
<p>In this example we will be using <a href="https://katex.org/">KaTeX</a></p>
<ul>
<li>Create a partial under <code>/layouts/partials/math.html</code></li>
<li>Within this partial reference the <a href="https://katex.org/docs/autorender.html">Auto-render Extension</a> or host these scripts locally.</li>
<li>Include the partial in your templates like so:</li>
</ul>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl"><span class="o">{{</span> <span class="k">if</span> or .Params.math .Site.Params.math <span class="o">}}</span>
</span></span><span class="line"><span class="ln">2</span><span class="cl"><span class="o">{{</span> partial <span class="s2">&#34;math.html&#34;</span> . <span class="o">}}</span>
</span></span><span class="line"><span class="ln">3</span><span class="cl"><span class="o">{{</span> end <span class="o">}}</span></span></span></code></pre></div><ul>
<li>To enable KaTex globally set the parameter <code>math</code> to <code>true</code> in a project&rsquo;s configuration</li>
<li>To enable KaTex on a per page basis include the parameter <code>math: true</code> in content files</li>
</ul>
<p><strong>Note:</strong> Use the online reference of <a href="https://katex.org/docs/supported.html">Supported TeX Functions</a></p>
<h3 id="examples">Examples</h3>
<p>Block math:
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$</p>]]></content:encoded></item><item><title>Emoji Support</title><link>https://clente.github.io/hugo-bearcub/blog/emoji-support/</link><pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/emoji-support/</guid><description>&lt;p>Emoji can be enabled in a Hugo project in a number of ways.&lt;/p></description><content:encoded><![CDATA[<p>Emoji can be enabled in a Hugo project in a number of ways.</p>
<p>The <a href="https://gohugo.io/functions/emojify/"><code>emojify</code></a> function can be called directly in templates or <a href="https://gohugo.io/templates/shortcode-templates/#inline-shortcodes">Inline Shortcodes</a>.</p>
<p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site&rsquo;s <a href="https://gohugo.io/getting-started/configuration/">configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p>
<!-- raw HTML omitted -->
<p>The <a href="http://www.emoji-cheat-sheet.com/">Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p>
<hr>
<p><strong>N.B.</strong> 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.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln">1</span><span class="cl">.emoji {
</span></span><span class="line"><span class="ln">2</span><span class="cl"> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
</span></span><span class="line"><span class="ln">3</span><span class="cl">}</span></span></code></pre></div>]]></content:encoded></item></channel></rss>

View File

@ -0,0 +1,39 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Markdown Syntax Guide | Bear Cub</title>
<meta name=title content="Markdown Syntax Guide"><meta name=description content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><meta name=author content="Hugo Authors"><meta name=keywords content="markdown,css,html,"><meta property="og:title" content="Markdown Syntax Guide"><meta property="og:description" content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><meta property="og:type" content="article"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/blog/markdown-syntax/"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu11627069391332113813.webp"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-03-11T00:00:00+00:00"><meta property="article:modified_time" content="2019-03-11T00:00:00+00:00"><meta property="og:site_name" content="Bear Cub"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu11627069391332113813.webp"><meta name=twitter:title content="Markdown Syntax Guide"><meta name=twitter:description content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><meta name=twitter:site content="@example"><meta itemprop=name content="Markdown Syntax Guide"><meta itemprop=description content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=wordCount content="449"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu11627069391332113813.webp"><meta itemprop=keywords content="markdown,css,html,"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link href=/hugo-bearcub/syntax.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1>Markdown Syntax Guide</h1><p class=byline><time datetime=2019-03-11 pubdate>2019-03-11
</time>· Hugo Authors</p><content><p>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.</p><h2 id=headings>Headings</h2><p>The following HTML <code>&lt;h1></code><code>&lt;h6></code> elements represent six levels of section headings. <code>&lt;h1></code> is the highest section level while <code>&lt;h6></code> is the lowest.</p><h1 id=h1>H1</h1><h2 id=h2>H2</h2><h3 id=h3>H3</h3><h4 id=h4>H4</h4><h5 id=h5>H5</h5><h6 id=h6>H6</h6><h2 id=paragraph>Paragraph</h2><p>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.</p><p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p><h2 id=blockquotes>Blockquotes</h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p><h4 id=blockquote-without-attribution>Blockquote without attribution</h4><blockquote><p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p></blockquote><h4 id=blockquote-with-attribution>Blockquote with attribution</h4><blockquote><p>Don&rsquo;t communicate by sharing memory, share memory by communicating.
— Rob Pike<sup id=fnref:1><a href=#fn:1 class=footnote-ref role=doc-noteref>1</a></sup></p></blockquote><h2 id=tables>Tables</h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p><table><thead><tr><th>Name</th><th>Age</th></tr></thead><tbody><tr><td>Bob</td><td>27</td></tr><tr><td>Alice</td><td>23</td></tr></tbody></table><h4 id=inline-markdown-within-tables>Inline Markdown within tables</h4><table><thead><tr><th>Italics</th><th>Bold</th><th>Code</th></tr></thead><tbody><tr><td><em>italics</em></td><td><strong>bold</strong></td><td><code>code</code></td></tr></tbody></table><h2 id=code-blocks>Code Blocks</h2><h4 id=code-block-with-backticks>Code block with backticks</h4><div class=highlight><pre tabindex=0 class=chroma><code class=language-html data-lang=html><span class=line><span class=ln> 1</span><span class=cl><span class=cp>&lt;!doctype html&gt;</span>
</span></span><span class=line><span class=ln> 2</span><span class=cl><span class=p>&lt;</span><span class=nt>html</span> <span class=na>lang</span><span class=o>=</span><span class=s>&#34;en&#34;</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 3</span><span class=cl><span class=p>&lt;</span><span class=nt>head</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 4</span><span class=cl> <span class=p>&lt;</span><span class=nt>meta</span> <span class=na>charset</span><span class=o>=</span><span class=s>&#34;utf-8&#34;</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 5</span><span class=cl> <span class=p>&lt;</span><span class=nt>title</span><span class=p>&gt;</span>Example HTML5 Document<span class=p>&lt;/</span><span class=nt>title</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 6</span><span class=cl><span class=p>&lt;/</span><span class=nt>head</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 7</span><span class=cl><span class=p>&lt;</span><span class=nt>body</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 8</span><span class=cl> <span class=p>&lt;</span><span class=nt>p</span><span class=p>&gt;</span>Test<span class=p>&lt;/</span><span class=nt>p</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 9</span><span class=cl><span class=p>&lt;/</span><span class=nt>body</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln>10</span><span class=cl><span class=p>&lt;/</span><span class=nt>html</span><span class=p>&gt;</span></span></span></code></pre></div><h4 id=code-block-indented-with-four-spaces>Code block indented with four spaces</h4><pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre><h4 id=code-block-with-hugos-internal-highlight-shortcode>Code block with Hugo&rsquo;s internal highlight shortcode</h4><div class=highlight><pre tabindex=0 class=chroma><code class=language-html data-lang=html><span class=line><span class=ln> 1</span><span class=cl><span class=cp>&lt;!doctype html&gt;</span>
</span></span><span class=line><span class=ln> 2</span><span class=cl><span class=p>&lt;</span><span class=nt>html</span> <span class=na>lang</span><span class=o>=</span><span class=s>&#34;en&#34;</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 3</span><span class=cl><span class=p>&lt;</span><span class=nt>head</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 4</span><span class=cl> <span class=p>&lt;</span><span class=nt>meta</span> <span class=na>charset</span><span class=o>=</span><span class=s>&#34;utf-8&#34;</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 5</span><span class=cl> <span class=p>&lt;</span><span class=nt>title</span><span class=p>&gt;</span>Example HTML5 Document<span class=p>&lt;/</span><span class=nt>title</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 6</span><span class=cl><span class=p>&lt;/</span><span class=nt>head</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 7</span><span class=cl><span class=p>&lt;</span><span class=nt>body</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 8</span><span class=cl> <span class=p>&lt;</span><span class=nt>p</span><span class=p>&gt;</span>Test<span class=p>&lt;/</span><span class=nt>p</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln> 9</span><span class=cl><span class=p>&lt;/</span><span class=nt>body</span><span class=p>&gt;</span>
</span></span><span class=line><span class=ln>10</span><span class=cl><span class=p>&lt;/</span><span class=nt>html</span><span class=p>&gt;</span></span></span></code></pre></div><h2 id=list-types>List Types</h2><h4 id=ordered-list>Ordered List</h4><ol><li>First item</li><li>Second item</li><li>Third item</li></ol><h4 id=unordered-list>Unordered List</h4><ul><li>List item</li><li>Another item</li><li>And another item</li></ul><h4 id=nested-list>Nested list</h4><ul><li>Fruit<ul><li>Apple</li><li>Orange</li><li>Banana</li></ul></li><li>Dairy<ul><li>Milk</li><li>Cheese</li></ul></li></ul><h2 id=other-elements--abbr-sub-sup-kbd-mark>Other Elements — abbr, sub, sup, kbd, mark</h2><p>GIF is a bitmap image format.</p><p>H2O</p><p>Xn + Yn = Zn</p><p>Press CTRL+ALT+Delete to end the session.</p><p>Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.</p><div class=footnotes role=doc-endnotes><hr><ol><li id=fn:1><p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href=#fnref:1 class=footnote-backref role=doc-backlink>&#8617;&#xfe0e;</a></p></li></ol></div></content><p><a class=blog-tags href=/hugo-bearcub/tags/markdown/>#markdown</a>
<a class=blog-tags href=/hugo-bearcub/tags/css/>#css</a>
<a class=blog-tags href=/hugo-bearcub/tags/html/>#html</a></p><p><a href='mailto:me@example.com?subject=Reply%20to%20"Markdown%20Syntax%20Guide"'>Reply to this post by email ↪</a></p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

View File

@ -0,0 +1,12 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Math Typesetting | Bear Cub</title>
<meta name=title content="Math Typesetting"><meta name=description content="A brief guide to setup KaTeX"><meta name=author content="Hugo Authors"><meta name=keywords content><meta property="og:title" content="Math Typesetting"><meta property="og:description" content="A brief guide to setup KaTeX"><meta property="og:type" content="article"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/blog/math-typesetting/"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu17000553449004574108.webp"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-03-08T00:00:00+00:00"><meta property="article:modified_time" content="2019-03-08T00:00:00+00:00"><meta property="og:site_name" content="Bear Cub"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu17000553449004574108.webp"><meta name=twitter:title content="Math Typesetting"><meta name=twitter:description content="A brief guide to setup KaTeX"><meta name=twitter:site content="@example"><meta itemprop=name content="Math Typesetting"><meta itemprop=description content="A brief guide to setup KaTeX"><meta itemprop=datePublished content="2019-03-08T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-08T00:00:00+00:00"><meta itemprop=wordCount content="114"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu17000553449004574108.webp"><meta itemprop=keywords content><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link href=/hugo-bearcub/syntax.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1>Math Typesetting</h1><p class=byline><time datetime=2019-03-08 pubdate>2019-03-08
</time>· Hugo Authors</p><content><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p><p>In this example we will be using <a href=https://katex.org/>KaTeX</a></p><ul><li>Create a partial under <code>/layouts/partials/math.html</code></li><li>Within this partial reference the <a href=https://katex.org/docs/autorender.html>Auto-render Extension</a> or host these scripts locally.</li><li>Include the partial in your templates like so:</li></ul><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=ln>1</span><span class=cl><span class=o>{{</span> <span class=k>if</span> or .Params.math .Site.Params.math <span class=o>}}</span>
</span></span><span class=line><span class=ln>2</span><span class=cl><span class=o>{{</span> partial <span class=s2>&#34;math.html&#34;</span> . <span class=o>}}</span>
</span></span><span class=line><span class=ln>3</span><span class=cl><span class=o>{{</span> end <span class=o>}}</span></span></span></code></pre></div><ul><li>To enable KaTex globally set the parameter <code>math</code> to <code>true</code> in a project&rsquo;s configuration</li><li>To enable KaTex on a per page basis include the parameter <code>math: true</code> in content files</li></ul><p><strong>Note:</strong> Use the online reference of <a href=https://katex.org/docs/supported.html>Supported TeX Functions</a></p><h3 id=examples>Examples</h3><p>Block math:
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$</p></content><p></p><p><a href='mailto:me@example.com?subject=Reply%20to%20"Math%20Typesetting"'>Reply to this post by email ↪</a></p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

View File

@ -0,0 +1,2 @@
<!doctype html><html lang=en-US><head><title>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</title>
<link rel=canonical href=https://clente.github.io/hugo-bearcub/blog/markdown-syntax/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://clente.github.io/hugo-bearcub/blog/markdown-syntax/"></head></html>

View File

@ -0,0 +1,8 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Placeholder Text | Bear Cub</title>
<meta name=title content="Placeholder Text"><meta name=description content="Lorem Ipsum Dolor Si Amet"><meta name=author content="Hugo Authors"><meta name=keywords content="markdown,text,"><meta property="og:title" content="Placeholder Text"><meta property="og:description" content="Lorem Ipsum Dolor Si Amet"><meta property="og:type" content="article"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/blog/placeholder-text/"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu6996896843512675933.webp"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-03-09T00:00:00+00:00"><meta property="article:modified_time" content="2019-03-09T00:00:00+00:00"><meta property="og:site_name" content="Bear Cub"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu6996896843512675933.webp"><meta name=twitter:title content="Placeholder Text"><meta name=twitter:description content="Lorem Ipsum Dolor Si Amet"><meta name=twitter:site content="@example"><meta itemprop=name content="Placeholder Text"><meta itemprop=description content="Lorem Ipsum Dolor Si Amet"><meta itemprop=datePublished content="2019-03-09T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-09T00:00:00+00:00"><meta itemprop=wordCount content="269"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu6996896843512675933.webp"><meta itemprop=keywords content="markdown,text,"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1>Placeholder Text</h1><p class=byline><time datetime=2019-03-09 pubdate>2019-03-09
</time>· Hugo Authors</p><content><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p><p>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.</p><ol><li>Exierant elisi ambit vivere dedere</li><li>Duce pollice</li><li>Eris modo</li><li>Spargitque ferrea quos palude</li></ol><p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p><ol><li>Comas hunc haec pietate fetum procerum dixit</li><li>Post torum vates letum Tiresia</li><li>Flumen querellas</li><li>Arcanaque montibus omnes</li><li>Quidem et</li></ol><h1 id=vagus-elidunt>Vagus elidunt</h1><p></p><p><a href=https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon>The Van de Graaf Canon</a></p><h2 id=mane-refeci-capiebant-unda-mulcebat>Mane refeci capiebant unda mulcebat</h2><p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p><p>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.</p><p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p></content><p><a class=blog-tags href=/hugo-bearcub/tags/markdown/>#markdown</a>
<a class=blog-tags href=/hugo-bearcub/tags/text/>#text</a></p><p><a href='mailto:me@example.com?subject=Reply%20to%20"Placeholder%20Text"'>Reply to this post by email ↪</a></p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

View File

@ -0,0 +1,8 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Rich Content | Bear Cub</title>
<meta name=title content="Rich Content"><meta name=description content="A brief description of Hugo Shortcodes"><meta name=author content="Hugo Authors"><meta name=keywords content="shortcodes,privacy,"><meta property="og:title" content="Rich Content"><meta property="og:description" content="A brief description of Hugo Shortcodes"><meta property="og:type" content="article"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/blog/rich-content/"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu11717910719685772394.webp"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-03-10T00:00:00+00:00"><meta property="article:modified_time" content="2019-03-10T00:00:00+00:00"><meta property="og:site_name" content="Bear Cub"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu11717910719685772394.webp"><meta name=twitter:title content="Rich Content"><meta name=twitter:description content="A brief description of Hugo Shortcodes"><meta name=twitter:site content="@example"><meta itemprop=name content="Rich Content"><meta itemprop=description content="A brief description of Hugo Shortcodes"><meta itemprop=datePublished content="2019-03-10T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-10T00:00:00+00:00"><meta itemprop=wordCount content="77"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu11717910719685772394.webp"><meta itemprop=keywords content="shortcodes,privacy,"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1>Rich Content</h1><p class=byline><time datetime=2019-03-10 pubdate>2019-03-10
</time>· Hugo Authors</p><content><p>Hugo ships with several <a href=https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes>Built-in Shortcodes</a> for rich content, along with a <a href=https://gohugo.io/about/hugo-and-gdpr/>Privacy Config</a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.</p><hr><h2 id=youtube-privacy-enhanced-shortcode>YouTube Privacy Enhanced Shortcode</h2><div style=position:relative;padding-bottom:56.25%;height:0;overflow:hidden><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen loading=eager referrerpolicy=strict-origin-when-cross-origin src="https://www.youtube.com/embed/ZJthWmvUzzc?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style=position:absolute;top:0;left:0;width:100%;height:100%;border:0 title="YouTube video"></iframe></div><hr><h2 id=twitter-simple-shortcode>Twitter Simple Shortcode</h2><blockquote class=twitter-tweet><p lang=en dir=ltr>“In addition to being more logical, asymmetry has the advantage that its complete appearance is far more optically effective than symmetry.”<br>— Jan Tschichold <a href=https://t.co/gcv7SrhvJb>pic.twitter.com/gcv7SrhvJb</a></p>&mdash; Design Reviewed | Graphic Design History (@DesignReviewed) <a href="https://twitter.com/DesignReviewed/status/1085870671291310081?ref_src=twsrc%5Etfw">January 17, 2019</a></blockquote><script async src=https://platform.twitter.com/widgets.js></script><hr><h2 id=vimeo-simple-shortcode>Vimeo Simple Shortcode</h2><style>.__h_video{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;width:100%;background:#000}.__h_video img{width:100%;height:auto;color:#000}.__h_video .play{height:72px;width:72px;left:50%;top:50%;margin-left:-36px;margin-top:-36px;position:absolute;cursor:pointer}</style><div class="s_video_simple __h_video"><a href=https://vimeo.com/4.8912912e+07 rel=noopener target=_blank><img src=https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 srcset="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 1x, https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 2x" alt="Sing Jan Swing - Kinetic Type"><div class=play><svg version="1" viewBox="0 0 61 61"><circle cx="30.5" cy="30.5" r="30.5" opacity=".8" fill="#000"/><path d="M25.3 19.2c-2.1-1.2-3.8-.2-3.8 2.2v18.1c0 2.4 1.7 3.4 3.8 2.2l16.6-9.1c2.1-1.2 2.1-3.2.0-4.4l-16.6-9z" fill="#fff"/></svg></div></a></div></content><p><a class=blog-tags href=/hugo-bearcub/tags/shortcodes/>#shortcodes</a>
<a class=blog-tags href=/hugo-bearcub/tags/privacy/>#privacy</a></p><p><a href='mailto:me@example.com?subject=Reply%20to%20"Rich%20Content"'>Reply to this post by email ↪</a></p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

8
categories/index.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Categories | Bear Cub</title>
<meta name=title content="Categories"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/categories/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Categories"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Categories"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Categories"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/categories/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/pt/categories/>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Categories"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/categories/syntax/>Syntax</a></li><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/categories/themes/>Themes</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

1
categories/index.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Categories on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/categories/</link><description>Recent content in Categories on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>Syntax</title><link>https://clente.github.io/hugo-bearcub/categories/syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/categories/syntax/</guid><description/><content:encoded></content:encoded></item><item><title>Themes</title><link>https://clente.github.io/hugo-bearcub/categories/themes/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/categories/themes/</guid><description/><content:encoded></content:encoded></item></channel></rss>

View File

@ -0,0 +1,7 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Syntax | Bear Cub</title>
<meta name=title content="Syntax"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/categories/syntax/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Syntax"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Syntax"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Syntax"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/categories/syntax/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Syntax"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/blog/markdown-syntax/>Markdown Syntax Guide</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

147
categories/syntax/index.xml Normal file
View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Syntax on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/categories/syntax/</link><description>Recent content in Syntax on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/categories/syntax/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Syntax Guide</title><link>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</guid><description>&lt;p>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.&lt;/p></description><content:encoded><![CDATA[<p>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.</p>
<h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>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.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
<!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
</blockquote>
<h2 id="tables">Tables</h2>
<p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table>
<thead>
<tr>
<th>Italics</th>
<th>Bold</th>
<th>Code</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>italics</em></td>
<td><strong>bold</strong></td>
<td><code>code</code></td>
</tr>
</tbody>
</table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content:encoded></item></channel></rss>

View File

@ -0,0 +1,7 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Themes | Bear Cub</title>
<meta name=title content="Themes"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/categories/themes/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Themes"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Themes"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Themes"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/categories/themes/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Themes"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/blog/markdown-syntax/>Markdown Syntax Guide</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

147
categories/themes/index.xml Normal file
View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Themes on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/categories/themes/</link><description>Recent content in Themes on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/categories/themes/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Syntax Guide</title><link>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</guid><description>&lt;p>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.&lt;/p></description><content:encoded><![CDATA[<p>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.</p>
<h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>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.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
<!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
</blockquote>
<h2 id="tables">Tables</h2>
<p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table>
<thead>
<tr>
<th>Italics</th>
<th>Bold</th>
<th>Code</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>italics</em></td>
<td><strong>bold</strong></td>
<td><code>code</code></td>
</tr>
</tbody>
</table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content:encoded></item></channel></rss>

2
en/index.html Normal file
View File

@ -0,0 +1,2 @@
<!doctype html><html lang=en-US><head><title>https://clente.github.io/hugo-bearcub/</title>
<link rel=canonical href=https://clente.github.io/hugo-bearcub/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://clente.github.io/hugo-bearcub/"></head></html>

1
en/sitemap.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://clente.github.io/hugo-bearcub/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/"/></url><url><loc>https://clente.github.io/hugo-bearcub/blog/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/blog/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/blog/"/></url><url><loc>https://clente.github.io/hugo-bearcub/categories/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/categories/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/categories/"/></url><url><loc>https://clente.github.io/hugo-bearcub/tags/css/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/tags/html/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/tags/markdown/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/categories/syntax/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/tags/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/tags/"/><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/tags/"/></url><url><loc>https://clente.github.io/hugo-bearcub/categories/themes/</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/tags/privacy/</loc><lastmod>2019-03-10T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/blog/rich-content/</loc><lastmod>2019-03-10T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/tags/shortcodes/</loc><lastmod>2019-03-10T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</loc><lastmod>2019-03-09T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/tags/text/</loc><lastmod>2019-03-09T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/blog/math-typesetting/</loc><lastmod>2019-03-08T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/tags/emoji/</loc><lastmod>2019-03-05T00:00:00+00:00</lastmod></url><url><loc>https://clente.github.io/hugo-bearcub/blog/emoji-support/</loc><lastmod>2019-03-05T00:00:00+00:00</lastmod></url></urlset>

View File

@ -1,35 +0,0 @@
---
title: "Início"
menu: "main"
weight: 1
---
# ᕦʕ •ᴥ•ʔᕤ Bear Cub
Os sites de hoje em dia são pesados, lentos e cheios de scripts, propagandas e
rastreadores. Isso ficou tão comum que nós perdemos toda a perspectiva, tanto
que achamos normal uma página web ter vários megabytes.
> The internet has become a bloated mess. Huge JavaScript libraries, countless
> client-side queries and overly complex frontend frameworks are par for the
> course these days.
>
> --- [Kev Quirk](https://512kb.club/)
Vamos mudar isso, um site de cada vez! **Bear Cub** é um tema
[Hugo](https://gohugo.io/) baseado no [Hugo
Bear](https://github.com/janraasch/hugo-bearblog/) que toma conta da velocidade
e otimização para que você possa focar em escrever bons textos.
Ele é gratuito, multilíngue, otimizado para buscadores, simples, responsivo,
leve e rápido. Muito rápido.
Quando comparado ao seu predecessor, o **Bear Cub** tem alguns upgrades de
[privacidade](https://themarkup.org/blacklight?url=clente.github.io/hugo-bearcub/)
e
[acessibilidade](https://pagespeed.web.dev/report?url=https%3A%2F%2Fclente.github.io%2Fhugo-bearcub%2F).
Ele também é compatível com as práticas mais modernas de
[segurança](https://github.com/clente/hugo-bearcub#secure) para que seus
usuários possam aproveitar seu site sem medo.
Feito com 💟 por [Caio lente](https://lente.dev).

View File

@ -1,5 +0,0 @@
---
title: "Blog"
menu: "main"
weight: 2
---

View File

@ -1,35 +0,0 @@
---
title: "Home"
menu: "main"
weight: 1
---
# ᕦʕ •ᴥ•ʔᕤ Bear Cub
Today's websites are bloated, slow, and full of scripts, ads, and trackers. This
became so commonplace that we lost all sense of perspective, to the point that
we now think multi-megabyte webpages are normal.
> The internet has become a bloated mess. Huge JavaScript libraries, countless
> client-side queries and overly complex frontend frameworks are par for the
> course these days.
>
> --- [Kev Quirk](https://512kb.club/)
Let's change this, one website at a time! **Bear Cub** is a
[Hugo](https://gohugo.io/) theme based on [Hugo
Bear](https://github.com/janraasch/hugo-bearblog/) that takes care of speed and
optimization, so you can focus on writing good content.
It is free, multilingual, optimized for search engines, no-nonsense, responsive,
light, and fast. Really fast.
When compared to its predecessor, **Bear Cub** has a few
[privacy](https://themarkup.org/blacklight?url=clente.github.io/hugo-bearcub/)
and
[accessibility](https://pagespeed.web.dev/report?url=https%3A%2F%2Fclente.github.io%2Fhugo-bearcub%2F)
upgrades. It's also compatible with modern
[security](https://github.com/clente/hugo-bearcub#secure) standards, so your
users don't have to worry about browsing your website.
Made with 💟 by [Caio lente](https://lente.dev/en).

View File

@ -1,5 +0,0 @@
---
title: "Blog"
menu: "main"
weight: 2
---

View File

@ -1,46 +0,0 @@
+++
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 >}}

View File

@ -1,148 +0,0 @@
+++
author = "Hugo Authors"
title = "Markdown Syntax Guide"
date = "2019-03-11"
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
tags = [
"markdown",
"css",
"html",
]
categories = [
"themes",
"syntax",
]
series = ["Themes Guide"]
aliases = ["migrate-from-jekyl"]
+++
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>
</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.

View File

@ -1,49 +0,0 @@
---
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} } }
$$

View File

@ -1,45 +0,0 @@
+++
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 >}}

View File

@ -1,34 +0,0 @@
+++
author = "Hugo Authors"
title = "Rich Content"
date = "2019-03-10"
description = "A brief description of Hugo Shortcodes"
tags = [
"shortcodes",
"privacy",
]
+++
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-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-->
---
## YouTube Privacy Enhanced Shortcode
{{< youtube ZJthWmvUzzc >}}
<br>
---
## Twitter Simple Shortcode
{{< x user="DesignReviewed" id="1085870671291310081" >}}
<br>
---
## Vimeo Simple Shortcode
{{< vimeo_simple 48912912 >}}

View File

@ -1,89 +0,0 @@
# Basic config
baseURL = "https://example.com"
theme = "hugo-bearcub"
copyright = "John Doe (CC BY 4.0)"
defaultContentLanguage = "en"
# Generate a nice robots.txt for SEO
enableRobotsTXT = true
# Setup syntax highlighting without inline styles. For more information about
# why you'd want to avoid inline styles, see
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src#unsafe_inline_styles
[markup]
[markup.highlight]
lineNos = true
lineNumbersInTable = false
# This allows Bear Cub to use a variation of Dracula that is more accessible
# to people with poor eyesight. For more information about color contrast
# and accessibility, see https://web.dev/color-and-contrast-accessibility/
noClasses = false
# Multilingual mode config. More for information about how to setup translation,
# see https://gohugo.io/content-management/multilingual/
[languages]
[languages.en]
title = "Bear Cub"
languageName = "en-US 🇺🇸"
LanguageCode = "en-US"
contentDir = "content"
[languages.en.params]
madeWith = "Made with [Bear Cub](https://github.com/clente/hugo-bearcub)"
[languages.pt]
title = "Bear Cub"
languageName = "pt-BR 🇧🇷"
LanguageCode = "pt-BR"
contentDir = "content.pt"
[languages.pt.params]
madeWith = "Feito com [Bear Cub](https://github.com/clente/hugo-bearcub)"
[params]
# The description of your website
description = "Bear Cub Demo"
# The path to your favicon
favicon = "images/favicon.png"
# These images will show up when services want to generate a preview of a link
# to your site. Ignored if `generateSocialCard = true`. For more information
# about previews, see https://gohugo.io/templates/internal#twitter-cards and
# https://gohugo.io/templates/internal#open-graph
images = ["images/share.webp"]
# This title is used as the site_name on the Hugo's internal opengraph
# structured data template
title = "Bear Cub"
# Dates are displayed following the format below. For more information about
# formatting, see https://gohugo.io/functions/format/
dateFormat = "2006-01-02"
# If your blog is multilingual but you haven't translated a page, this theme
# will create a disabled link. By setting `hideUntranslated` to true, you can
# have the theme simply not show any link
hideUntranslated = false
# (EXPERIMENTAL) This theme has two options for its CSS styles: "original" and
# "herman". The former is what you see on Bear Cub's demo (an optimized
# version of Hugo Bear Blog), while the latter has a more modern look based on
# Herman Martinus's version of the Blogster Minimal theme for Astro.
themeStyle = "original"
# (EXPERIMENTAL) This theme is capable of dynamically generating social cards
# for posts that don't have `images` defined in their front matter; By setting
# `generateSocialCard` to false, you can prevent this behavior. For more
# information see layouts/partials/social_card.html
generateSocialCard = true
# Social media. Delete any item you aren't using to make sure it won't show up
# in your website's metadata.
[params.social]
twitter = "example" # Twitter handle (without '@')
facebook_admin = "0000000000" # Facebook Page Admin ID
# Author metadata. This is mostly used for the RSS feed of your site, but the
# email is also added to the footer of each post. You can hide the "reply to"
# link by using a `hideReply` param in front matter.
[params.author]
name = "John Doe" # Your name as shown in the RSS feed metadata
email = "me@example.com" # Added to the footer so readers can reply to posts

View File

@ -1,14 +0,0 @@
[filtering-for]
other = "Filtern nach"
[no-posts]
other = "Noch keine Beträge"
[email-subject]
other = "Antwort auf "
[email-reply]
other = "Auf diesen Beitrag per Email antworten "
[skip-link]
other = "Zum Hauptinhalt"

View File

@ -1,14 +0,0 @@
[filtering-for]
other = "Filtering for"
[no-posts]
other = "No posts yet"
[email-subject]
other = "Reply to "
[email-reply]
other = "Reply to this post by email"
[skip-link]
other = "Skip to main content"

View File

@ -1,14 +0,0 @@
[filtering-for]
other = "Filtrando para"
[no-posts]
other = "Nenhum post ainda"
[email-subject]
other = "Resposta a "
[email-reply]
other = "Responda a este post por email"
[skip-link]
other = "Pular para conteúdo principal"

View File

Before

Width:  |  Height:  |  Size: 126 B

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 KiB

View File

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

29
index.html Normal file
View File

@ -0,0 +1,29 @@
<!doctype html><html lang=en-US><head><meta name=generator content="Hugo 0.141.0"><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Home | Bear Cub</title>
<meta name=title content="Home"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Home"><meta property="og:description" content="ᕦʕ ʔᕤ Bear Cub Todays websites are bloated, slow, and full of scripts, ads, and trackers. This became so commonplace that we lost all sense of perspective, to the point that we now think multi-megabyte webpages are normal.
The internet has become a bloated mess. Huge JavaScript libraries, countless client-side queries and overly complex frontend frameworks are par for the course these days.
— Kev Quirk
Lets change this, one website at a time! Bear Cub is a Hugo theme based on Hugo Bear that takes care of speed and optimization, so you can focus on writing good content."><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Home"><meta name=twitter:description content="ᕦʕ ʔᕤ Bear Cub Todays websites are bloated, slow, and full of scripts, ads, and trackers. This became so commonplace that we lost all sense of perspective, to the point that we now think multi-megabyte webpages are normal.
The internet has become a bloated mess. Huge JavaScript libraries, countless client-side queries and overly complex frontend frameworks are par for the course these days.
— Kev Quirk
Lets change this, one website at a time! Bear Cub is a Hugo theme based on Hugo Bear that takes care of speed and optimization, so you can focus on writing good content."><meta name=twitter:site content="@example"><meta itemprop=name content="Home"><meta itemprop=description content="ᕦʕ ʔᕤ Bear Cub Todays websites are bloated, slow, and full of scripts, ads, and trackers. This became so commonplace that we lost all sense of perspective, to the point that we now think multi-megabyte webpages are normal.
The internet has become a bloated mess. Huge JavaScript libraries, countless client-side queries and overly complex frontend frameworks are par for the course these days.
— Kev Quirk
Lets change this, one website at a time! Bear Cub is a Hugo theme based on Hugo Bear that takes care of speed and optimization, so you can focus on writing good content."><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=wordCount content="152"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/pt/>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1 id=ᕦʕ-ᴥʔᕤ-bear-cub>ᕦʕ •ᴥ•ʔᕤ Bear Cub</h1><p>Today&rsquo;s websites are bloated, slow, and full of scripts, ads, and trackers. This
became so commonplace that we lost all sense of perspective, to the point that
we now think multi-megabyte webpages are normal.</p><blockquote><p>The internet has become a bloated mess. Huge JavaScript libraries, countless
client-side queries and overly complex frontend frameworks are par for the
course these days.</p><p>&mdash; <a href=https://512kb.club/>Kev Quirk</a></p></blockquote><p>Let&rsquo;s change this, one website at a time! <strong>Bear Cub</strong> is a
<a href=https://gohugo.io/>Hugo</a> theme based on <a href=https://github.com/janraasch/hugo-bearblog/>Hugo
Bear</a> that takes care of speed and
optimization, so you can focus on writing good content.</p><p>It is free, multilingual, optimized for search engines, no-nonsense, responsive,
light, and fast. Really fast.</p><p>When compared to its predecessor, <strong>Bear Cub</strong> has a few
<a href="https://themarkup.org/blacklight?url=clente.github.io/hugo-bearcub/">privacy</a>
and
<a href="https://pagespeed.web.dev/report?url=https%3A%2F%2Fclente.github.io%2Fhugo-bearcub%2F">accessibility</a>
upgrades. It&rsquo;s also compatible with modern
<a href=https://github.com/clente/hugo-bearcub#secure>security</a> standards, so your
users don&rsquo;t have to worry about browsing your website.</p><p>Made with 💟 by <a href=https://lente.dev/en>Caio lente</a>.</p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

256
index.xml Normal file
View File

@ -0,0 +1,256 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Bear Cub</title><link>https://clente.github.io/hugo-bearcub/</link><description>Recent content on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Syntax Guide</title><link>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</guid><description>&lt;p>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.&lt;/p></description><content:encoded><![CDATA[<p>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.</p>
<h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>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.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
<!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
</blockquote>
<h2 id="tables">Tables</h2>
<p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table>
<thead>
<tr>
<th>Italics</th>
<th>Bold</th>
<th>Code</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>italics</em></td>
<td><strong>bold</strong></td>
<td><code>code</code></td>
</tr>
</tbody>
</table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content:encoded></item><item><title>Rich Content</title><link>https://clente.github.io/hugo-bearcub/blog/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/rich-content/</guid><description>&lt;p>Hugo ships with several &lt;a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes&lt;/a> for rich content, along with a &lt;a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config&lt;/a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.&lt;/p></description><content:encoded><![CDATA[<p>Hugo ships with several <a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes</a> for rich content, along with a <a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config</a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.</p>
<hr>
<h2 id="youtube-privacy-enhanced-shortcode">YouTube Privacy Enhanced Shortcode</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/ZJthWmvUzzc?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
</div>
<!-- raw HTML omitted -->
<hr>
<h2 id="twitter-simple-shortcode">Twitter Simple Shortcode</h2>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">“In addition to being more logical, asymmetry has the advantage that its complete appearance is far more optically effective than symmetry.”<br>— Jan Tschichold <a href="https://t.co/gcv7SrhvJb">pic.twitter.com/gcv7SrhvJb</a></p>&mdash; Design Reviewed | Graphic Design History (@DesignReviewed) <a href="https://twitter.com/DesignReviewed/status/1085870671291310081?ref_src=twsrc%5Etfw">January 17, 2019</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<!-- raw HTML omitted -->
<hr>
<h2 id="vimeo-simple-shortcode">Vimeo Simple Shortcode</h2>
<style>
.__h_video {
position: relative;
padding-bottom: 56.23%;
height: 0;
overflow: hidden;
width: 100%;
background: #000;
}
.__h_video img {
width: 100%;
height: auto;
color: #000;
}
.__h_video .play {
height: 72px;
width: 72px;
left: 50%;
top: 50%;
margin-left: -36px;
margin-top: -36px;
position: absolute;
cursor: pointer;
}
</style><div class="s_video_simple __h_video">
<a href="https://vimeo.com/4.8912912e&#43;07" rel="noopener" target="_blank">
<img src="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640" srcset="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 1x, https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 2x" alt="Sing Jan Swing - Kinetic Type">
<div class="play">
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 61 61"><circle cx="30.5" cy="30.5" r="30.5" opacity=".8" fill="#000"></circle><path d="M25.3 19.2c-2.1-1.2-3.8-.2-3.8 2.2v18.1c0 2.4 1.7 3.4 3.8 2.2l16.6-9.1c2.1-1.2 2.1-3.2 0-4.4l-16.6-9z" fill="#fff"></path></svg>
</div>
</a>
</div>]]></content:encoded></item><item><title>Placeholder Text</title><link>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</guid><description>&lt;p>Lorem est tota propiore conpellat pectoribus de pectora summo.&lt;/p></description><content:encoded><![CDATA[<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
<p>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.</p>
<ol>
<li>Exierant elisi ambit vivere dedere</li>
<li>Duce pollice</li>
<li>Eris modo</li>
<li>Spargitque ferrea quos palude</li>
</ol>
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
<ol>
<li>Comas hunc haec pietate fetum procerum dixit</li>
<li>Post torum vates letum Tiresia</li>
<li>Flumen querellas</li>
<li>Arcanaque montibus omnes</li>
<li>Quidem et</li>
</ol>
<h1 id="vagus-elidunt">Vagus elidunt</h1>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat</h2>
<p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
<p>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.</p>
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p>]]></content:encoded></item><item><title>Math Typesetting</title><link>https://clente.github.io/hugo-bearcub/blog/math-typesetting/</link><pubDate>Fri, 08 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/math-typesetting/</guid><description>&lt;p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.&lt;/p></description><content:encoded><![CDATA[<p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>
<p>In this example we will be using <a href="https://katex.org/">KaTeX</a></p>
<ul>
<li>Create a partial under <code>/layouts/partials/math.html</code></li>
<li>Within this partial reference the <a href="https://katex.org/docs/autorender.html">Auto-render Extension</a> or host these scripts locally.</li>
<li>Include the partial in your templates like so:</li>
</ul>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl"><span class="o">{{</span> <span class="k">if</span> or .Params.math .Site.Params.math <span class="o">}}</span>
</span></span><span class="line"><span class="ln">2</span><span class="cl"><span class="o">{{</span> partial <span class="s2">&#34;math.html&#34;</span> . <span class="o">}}</span>
</span></span><span class="line"><span class="ln">3</span><span class="cl"><span class="o">{{</span> end <span class="o">}}</span></span></span></code></pre></div><ul>
<li>To enable KaTex globally set the parameter <code>math</code> to <code>true</code> in a project&rsquo;s configuration</li>
<li>To enable KaTex on a per page basis include the parameter <code>math: true</code> in content files</li>
</ul>
<p><strong>Note:</strong> Use the online reference of <a href="https://katex.org/docs/supported.html">Supported TeX Functions</a></p>
<h3 id="examples">Examples</h3>
<p>Block math:
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$</p>]]></content:encoded></item><item><title>Emoji Support</title><link>https://clente.github.io/hugo-bearcub/blog/emoji-support/</link><pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/emoji-support/</guid><description>&lt;p>Emoji can be enabled in a Hugo project in a number of ways.&lt;/p></description><content:encoded><![CDATA[<p>Emoji can be enabled in a Hugo project in a number of ways.</p>
<p>The <a href="https://gohugo.io/functions/emojify/"><code>emojify</code></a> function can be called directly in templates or <a href="https://gohugo.io/templates/shortcode-templates/#inline-shortcodes">Inline Shortcodes</a>.</p>
<p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site&rsquo;s <a href="https://gohugo.io/getting-started/configuration/">configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p>
<!-- raw HTML omitted -->
<p>The <a href="http://www.emoji-cheat-sheet.com/">Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p>
<hr>
<p><strong>N.B.</strong> 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.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln">1</span><span class="cl">.emoji {
</span></span><span class="line"><span class="ln">2</span><span class="cl"> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
</span></span><span class="line"><span class="ln">3</span><span class="cl">}</span></span></code></pre></div>]]></content:encoded></item></channel></rss>

View File

@ -1,6 +0,0 @@
{{ define "title" }}404{{ end }}
{{ define "main" }}
<h1>404</h1>
<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
{{ end }}

View File

@ -1,6 +0,0 @@
<!-- https://github.com/jmooring/hugo-testing/blob/hugo-forum-topic-40998/layouts/_default/_markup/render-codeblock-katex.html -->
{{ .Page.Store.Set "hasCodeBlock" true }}
<!-- https://www.veriphor.com/articles/code-block-render-hooks/ -->
{{ $result := transform.HighlightCodeBlock . }}
{{ $result.Wrapped }}

View File

@ -1,54 +0,0 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{- partial "favicon.html" . -}}
<title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
{{- partial "seo_tags.html" . -}}
<meta name="referrer" content="no-referrer-when-downgrade" />
{{ $style := print (default "original" .Site.Params.themeStyle) ".css" | resources.Get | minify }}
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
{{ if (.Page.Store.Get "hasCodeBlock") }}
{{ $syntax := resources.Get "syntax.css" | minify }}
<link href="{{ $syntax.RelPermalink }}" rel="stylesheet">
{{ end }}
{{ with .Params.style }}
{{ $extra := resources.Get . | minify }}
<link href="{{ $extra.RelPermalink }}" rel="stylesheet">
{{ end }}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<!-- A partial to be overwritten by the user.
Simply place a custom_head.html into
your local /layouts/partials-directory -->
{{- partial "custom_head.html" . -}}
</head>
<body>
<header>
{{- partial "header.html" . -}}
</header>
<main id="main-content">
{{- block "main" . }}{{- end }}
</main>
<footer>
{{- partial "footer.html" . -}}
</footer>
<!-- A partial to be overwritten by the user.
Simply place a custom_body.html into
your local /layouts/partials-directory -->
{{- partial "custom_body.html" . -}}
</body>
</html>

View File

@ -1,36 +0,0 @@
{{ define "main" }}
<content>
{{ if .Data.Singular }}
<h3 class="blog-filter">{{ i18n "filtering-for" }} "{{ .Title }}"</h3>
{{ end }}
<ul class="blog-posts">
{{ range .Pages }}
<li>
<span>
<i>
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
</time>
</i>
</span>
{{ if .Params.link }}
<a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a>
{{ else }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
</li>
{{ else }}
<li>
{{ i18n "no-posts" }}
</li>
{{ end }}
</ul>
{{ if not .Data.Singular }}
<div>
{{ range .Site.Taxonomies.tags }}
<a class="blog-tags" href="{{ .Page.RelPermalink }}">#{{ lower .Page.Title }}</a>
{{ end }}
</div>
{{ end }}
</content>
{{ end }}

View File

@ -1,72 +0,0 @@
{{- /* Deprecate site.Author.email in favor of site.Params.author.email */}}
{{- $authorEmail := "" }}
{{- with site.Params.author }}
{{- if reflect.IsMap . }}
{{- with .email }}
{{- $authorEmail = . }}
{{- end }}
{{- end }}
{{- else }}
{{- with site.Author.email }}
{{- $authorEmail = . }}
{{- warnf "The author key in site configuration is deprecated. Use params.author.email instead." }}
{{- end }}
{{- end }}
{{- /* Deprecate site.Author.name in favor of site.Params.author.name */}}
{{- $authorName := "" }}
{{- with site.Params.author }}
{{- if reflect.IsMap . }}
{{- with .name }}
{{- $authorName = . }}
{{- end }}
{{- else }}
{{- $authorName = . }}
{{- end }}
{{- else }}
{{- with site.Author.name }}
{{- $authorName = . }}
{{- warnf "The author key in site configuration is deprecated. Use params.author.name instead." }}
{{- end }}
{{- end }}
{{- $pctx := . }}
{{- if .IsHome }}{{ $pctx = .Site }}{{ end }}
{{- $pages := slice }}
{{- if or $.IsHome $.IsSection }}
{{- $pages = $pctx.RegularPages }}
{{- else }}
{{- $pages = $pctx.Pages }}
{{- end }}
{{- $limit := .Site.Config.Services.RSS.Limit }}
{{- if ge $limit 1 }}
{{- $pages = $pages | first $limit }}
{{- end }}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if not .IsHome }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>
<language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }}
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }}
<webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }}
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end }}
{{- range $pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
<content:encoded>{{ `<![CDATA[` | safeHTML }}{{ .Content | safeHTML }}{{ `]]>` | safeHTML }}</content:encoded>
</item>
{{- end }}
</channel>
</rss>

View File

@ -1,28 +0,0 @@
{{ define "main" }}
{{ if not .Params.menu }}
<h1>{{ .Title }}</h1>
<p class="byline">
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
</time>
{{ with .Params.author }}· {{.}}{{ end }}
</p>
{{ end }}
<content>
{{ .Content }}
</content>
<p>
{{ range (.GetTerms "tags") }}
<a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a>
{{ end }}
</p>
{{ if not .Params.hideReply }}
{{ with .Site.Params.author.email }}
<p>
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>
{{ i18n "email-reply" }} ↪
</a>
</p>
{{ end }}
{{ end }}
{{ end }}

View File

@ -1,3 +0,0 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View File

@ -1,3 +0,0 @@
<!-- A partial to be overwritten by the user.
Simply place a custom_body.html into
your local /layouts/partials-directory -->

View File

@ -1,3 +0,0 @@
<!-- A partial to be overwritten by the user.
Simply place a custom_head.html into
your local /layouts/partials-directory -->

View File

@ -1,2 +0,0 @@
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ absURL . }}" />{{ end }}

View File

@ -1,3 +0,0 @@
<small>
{{ .Site.Copyright }} | {{ markdownify .Site.Params.madeWith }}
</small>

View File

@ -1,4 +0,0 @@
<a class="skip-link" href="#main-content">{{ i18n "skip-link" }}</a>
<a href="{{ relURL .Site.Home.RelPermalink }}" class="title"><h1>{{ .Site.Title }}</h1></a>
<nav>{{- partial "nav.html" . -}}</nav>

View File

@ -1,22 +0,0 @@
{{ range .Site.Menus.main.ByWeight }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
<a href='{{ absURL "index.xml" }}'>RSS</a>
<!-- Convert this page's translations into a dict -->
{{ $translations := dict }}
{{ range .Translations }}
{{ $translations = merge $translations (dict .Language.Lang .) }}
{{ end }}
<!-- Create a link to every translation -->
{{ range where .Site.Languages "Lang" "!=" .Page.Lang }}
{{ with (index $translations .Lang) }}
<a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
{{ else }}
<!-- The complicated setup was necessary to make a grayed out link -->
{{ if not .Params.hideUntranslated }}
<a class="disabled" role="link" aria-disabled="true">{{ .LanguageName }}</a>
{{ end }}
{{ end }}
{{ end }}

View File

@ -1,22 +0,0 @@
<!-- Primary Meta Tags -->
<meta name="title" content="{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}" />
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta name="author" content="{{ with .Params.author }}{{ . }}{{ end }}" />
<meta name="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />
<!-- Only generate social card if: -->
<!-- - generateSocialCard = true -->
<!-- - there aren't images set in frontmatter -->
<!-- - page is of .Kind "page" -->
{{ if and (and (default false .Site.Params.generateSocialCard) (not (isset .Params "images"))) (eq .Kind "page") }}
{{ partial "social_card.html" . }}
{{ else }}
<!-- Open Graph / Facebook -->
{{ template "_internal/opengraph.html" . }}
<!-- Twitter -->
{{ template "_internal/twitter_cards.html" . }}
<!-- Microdata -->
{{ template "_internal/schema.html" . }}
{{ end }}

View File

@ -1,136 +0,0 @@
<!-- Dynamic social card generation -->
{{ $font := resources.GetRemote "https://github.com/google/fonts/raw/main/ofl/firamono/FiraMono-Bold.ttf" }}
{{ $fg := resources.Get "images/social_card_fg.png"}}
{{ $bg := resources.Get "images/social_card_bg.png"}}
{{ if gt (len .Title) 45 }}
{{ $fg = $fg.Filter (images.Text .Title (dict
"font" $font
"color" "#fafafa"
"size" 95
"linespacing" 16
"x" 0
"y" 0
)) }}
{{ else }}
{{ $fg = $fg.Filter (images.Text .Title (dict
"font" $font
"color" "#fafafa"
"size" 130
"linespacing" 20
"x" 0
"y" 0
)) }}
{{ end }}
{{ $date := .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
{{ $author := (default $.Site.Params.author.name ($.Param "author") ) }}
{{ $byline := (printf "%s | %s" $author $date) }}
{{ $fg = $fg.Filter (images.Text $byline (dict
"font" $font
"color" "#898a8d"
"size" 60
"linespacing" 30
"x" 0
"y" 425
)) }}
{{ $card := $bg.Filter (images.Overlay $fg 112 140 ) }}
{{ $card := $card.Resize "900x webp q100" }}
<!-- Open Graph / Facebook -->
<!-- Source: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/opengraph.html -->
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:image" content="{{ $card.Permalink | absURL }}"/>
{{- if .IsPage }}
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
<meta property="article:section" content="{{ .Section }}" />
{{ with .PublishDate }}<meta property="article:published_time" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />{{ end }}
{{ with .Lastmod }}<meta property="article:modified_time" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />{{ end }}
{{- end -}}
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
{{- with .Params.locale }}<meta property="og:locale" content="{{ . }}" />{{ end }}
{{- with .Site.Params.title }}<meta property="og:site_name" content="{{ . }}" />{{ end }}
{{- with .Params.videos }}{{- range . }}
<meta property="og:video" content="{{ . | absURL }}" />
{{ end }}{{ end }}
{{- /* If it is part of a series, link to related articles */}}
{{- $permalink := .Permalink }}
{{- $siteSeries := .Site.Taxonomies.series }}
{{- if $siteSeries }}
{{ with .Params.series }}{{- range $name := . }}
{{- $series := index $siteSeries ($name | urlize) }}
{{- range $page := first 6 $series.Pages }}
{{- if ne $page.Permalink $permalink }}<meta property="og:see_also" content="{{ $page.Permalink }}" />{{ end }}
{{- end }}
{{ end }}{{ end }}
{{- end }}
{{- /* Deprecate site.Social.facebook_admin in favor of site.Params.social.facebook_admin */}}
{{- $facebookAdmin := "" }}
{{- with site.Params.social }}
{{- if reflect.IsMap . }}
{{- $facebookAdmin = .facebook_admin }}
{{- end }}
{{- else }}
{{- with site.Social.facebook_admin }}
{{- $facebookAdmin = . }}
{{- warnf "The social key in site configuration is deprecated. Use params.social.facebook_admin instead." }}
{{- end }}
{{- end }}
{{- /* Facebook Page Admin ID for Domain Insights */}}
{{ with $facebookAdmin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}
<!-- Twitter -->
<!-- Source: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/twitter_cards.html -->
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="{{ $card.Permalink | absURL }}"/>
<meta name="twitter:title" content="{{ .Title }}"/>
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
{{- /* Deprecate site.Social.twitter in favor of site.Params.social.twitter */}}
{{- $twitterSite := "" }}
{{- with site.Params.social }}
{{- if reflect.IsMap . }}
{{- $twitterSite = .twitter }}
{{- end }}
{{- else }}
{{- with site.Social.twitter }}
{{- $twitterSite = . }}
{{- warnf "The social key in site configuration is deprecated. Use params.social.twitter instead." }}
{{- end }}
{{- end }}
{{- with $twitterSite }}
{{- $content := . }}
{{- if not (strings.HasPrefix . "@") }}
{{- $content = printf "@%v" $twitterSite }}
{{- end }}
<meta name="twitter:site" content="{{ $content }}"/>
{{- end }}
<!-- Microdata -->
<!-- Source: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/schema.html -->
<meta itemprop="name" content="{{ .Title }}">
<meta itemprop="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
{{- if .IsPage -}}
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
{{ with .PublishDate }}<meta itemprop="datePublished" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />{{ end}}
{{ with .Lastmod }}<meta itemprop="dateModified" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />{{ end}}
<meta itemprop="wordCount" content="{{ .WordCount }}">
<meta itemprop="image" content="{{ $card.Permalink | absURL }}"/>
<!-- Output all taxonomies as schema.org keywords -->
<meta itemprop="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />
{{- end -}}

View File

@ -1,3 +0,0 @@
User-agent: *
Allow: /
Sitemap: {{ "sitemap.xml" | absURL }}

View File

@ -1,29 +0,0 @@
<figure{{ with .Get "class" }} class="{{ . }}"{{ end }}>
{{- if .Get "link" -}}
<a href="{{ .Get "link" }}"{{ with .Get "target" }} target="{{ . }}"{{ end }}{{ with .Get "rel" }} rel="{{ . }}"{{ end }}>
{{- end -}}
<img src="{{ .Get "src" | absURL}}"
{{- if or (.Get "alt") (.Get "caption") }}
alt="{{ with .Get "alt" }}{{ . }}{{ else }}{{ .Get "caption" | markdownify| plainify }}{{ end }}"
{{- end -}}
{{- with .Get "width" }} width="{{ . }}"{{ end -}}
{{- with .Get "height" }} height="{{ . }}"{{ end -}}
{{- with .Get "loading" }} loading="{{ . }}"{{ end -}}
/><!-- Closing img tag -->
{{- if .Get "link" }}</a>{{ end -}}
{{- if or (or (.Get "title") (.Get "caption")) (.Get "attr") -}}
<figcaption>
{{ with (.Get "title") -}}
<h4>{{ . }}</h4>
{{- end -}}
{{- if or (.Get "caption") (.Get "attr") -}}<p>
{{- .Get "caption" | markdownify -}}
{{- with .Get "attrlink" }}
<a href="{{ . }}">
{{- end -}}
{{- .Get "attr" | markdownify -}}
{{- if .Get "attrlink" }}</a>{{ end }}</p>
{{- end }}
</figcaption>
{{- end }}
</figure>

View File

@ -1,5 +0,0 @@
<!-- https://github.com/jmooring/hugo-testing/blob/hugo-forum-topic-40998/layouts/_default/_markup/render-codeblock-katex.html -->
{{ .Page.Store.Set "hasCodeBlock" true }}
<!-- https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/shortcodes/highlight.html -->
{{ if len .Params | eq 2 }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) (.Get 1) }}{{ else }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) "" }}{{ end }}

View File

@ -1,2 +0,0 @@
<!-- raw html -->
{{.Inner}}

1
original.min.css vendored Normal file
View File

@ -0,0 +1 @@
body{font-family:Verdana,sans-serif;margin:auto;padding:20px;max-width:720px;text-align:left;background-color:#1d1f27;word-wrap:break-word;overflow-wrap:break-word;line-height:1.5;color:#c9d1d9}h1,h2,h3,h4,h5,h6,strong,b{color:#eee}a{color:#8cc2dd}.title{text-decoration:none;border:0}.title h1{font-size:24px;margin:19.92px 0}.title span{font-weight:400}nav a{margin-right:10px}textarea{background-color:#252525;color:#ddd;width:100%;font-size:16px}input{background-color:#252525;color:#ddd;font-size:16px}content{line-height:1.6}table{width:100%}table,th,td{border:1px solid;border-collapse:collapse;border-color:#c9d1d9;padding:5px}img{max-width:100%;height:auto}code{padding:2px 5px;color:#f8f8f2;background-color:#282a36}pre code{display:block;padding:20px;white-space:pre-wrap;font-size:14px;overflow-x:auto;text-wrap:nowrap}blockquote{border-left:1px solid #999;color:#ccc;padding-left:20px;font-style:italic}footer{padding:25px;text-align:center}.helptext{color:#aaa;font-size:small}.errorlist{color:#eba613;font-size:small}ul.blog-posts{list-style-type:none;padding:unset}ul.blog-posts li{display:flex;margin-bottom:10px}ul.blog-posts li span{flex:0 0 130px}ul.blog-posts li a:visited{color:#8b6fcb}a.blog-tags{line-height:2;margin-right:12px}h3.blog-filter{margin-bottom:0}.disabled{color:currentColor;cursor:not-allowed;opacity:.7}p.byline{font-style:italic}.skip-link{position:absolute;top:5;transform:translateY(-600%);transition:transform .5s;background-color:#1d1f27;padding:6px}.skip-link:focus{transform:translateY(0%)}figure{margin-inline-start:0;margin-inline-end:0}figcaption>p{margin-block-start:0;text-align:center;font-style:italic;color:#ccc}

6
pt/404.html Normal file
View File

@ -0,0 +1,6 @@
<!doctype html><html lang=pt-BR><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>404</title>
<meta name=title content="404 Page not found"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content><meta property="og:url" content="https://clente.github.io/hugo-bearcub/pt/404.html"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="404 Page not found"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="pt_BR"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="404 Page not found"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Pular para conteúdo principal</a>
<a href=/hugo-bearcub/pt/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/pt/>Início</a>
<a href=/hugo-bearcub/pt/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/404.html>en-US 🇺🇸</a></nav></header><main id=main-content><h1>404</h1><h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2></main><footer><small>John Doe (CC BY 4.0) | Feito com <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

6
pt/blog/index.html Normal file
View File

@ -0,0 +1,6 @@
<!doctype html><html lang=pt-BR><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Blog | Bear Cub</title>
<meta name=title content="Blog"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content><meta property="og:url" content="https://clente.github.io/hugo-bearcub/pt/blog/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Blog"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="pt_BR"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Blog"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Blog"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/pt/blog/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Pular para conteúdo principal</a>
<a href=/hugo-bearcub/pt/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/pt/>Início</a>
<a href=/hugo-bearcub/pt/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/blog/>en-US 🇺🇸</a></nav></header><main id=main-content><content><ul class=blog-posts><li>Nenhum post ainda</li></ul><div></div></content></main><footer><small>John Doe (CC BY 4.0) | Feito com <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

1
pt/blog/index.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Blog on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/pt/blog/</link><description>Recent content in Blog on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>pt-BR</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><atom:link href="https://clente.github.io/hugo-bearcub/pt/blog/index.xml" rel="self" type="application/rss+xml"/></channel></rss>

6
pt/categories/index.html Normal file
View File

@ -0,0 +1,6 @@
<!doctype html><html lang=pt-BR><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Categories | Bear Cub</title>
<meta name=title content="Categories"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content><meta property="og:url" content="https://clente.github.io/hugo-bearcub/pt/categories/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Categories"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="pt_BR"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Categories"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Categories"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/pt/categories/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Pular para conteúdo principal</a>
<a href=/hugo-bearcub/pt/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/pt/>Início</a>
<a href=/hugo-bearcub/pt/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/categories/>en-US 🇺🇸</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtrando para "Categories"</h3><ul class=blog-posts><li>Nenhum post ainda</li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Feito com <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

1
pt/categories/index.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Categories on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/pt/categories/</link><description>Recent content in Categories on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>pt-BR</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><atom:link href="https://clente.github.io/hugo-bearcub/pt/categories/index.xml" rel="self" type="application/rss+xml"/></channel></rss>

29
pt/index.html Normal file
View File

@ -0,0 +1,29 @@
<!doctype html><html lang=pt-BR><head><meta name=generator content="Hugo 0.141.0"><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Início | Bear Cub</title>
<meta name=title content="Início"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content><meta property="og:url" content="https://clente.github.io/hugo-bearcub/pt/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Início"><meta property="og:description" content="ᕦʕ ʔᕤ Bear Cub Os sites de hoje em dia são pesados, lentos e cheios de scripts, propagandas e rastreadores. Isso ficou tão comum que nós perdemos toda a perspectiva, tanto que achamos normal uma página web ter vários megabytes.
The internet has become a bloated mess. Huge JavaScript libraries, countless client-side queries and overly complex frontend frameworks are par for the course these days.
— Kev Quirk
Vamos mudar isso, um site de cada vez! Bear Cub é um tema Hugo baseado no Hugo Bear que toma conta da velocidade e otimização para que você possa focar em escrever bons textos."><meta property="og:locale" content="pt_BR"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Início"><meta name=twitter:description content="ᕦʕ ʔᕤ Bear Cub Os sites de hoje em dia são pesados, lentos e cheios de scripts, propagandas e rastreadores. Isso ficou tão comum que nós perdemos toda a perspectiva, tanto que achamos normal uma página web ter vários megabytes.
The internet has become a bloated mess. Huge JavaScript libraries, countless client-side queries and overly complex frontend frameworks are par for the course these days.
— Kev Quirk
Vamos mudar isso, um site de cada vez! Bear Cub é um tema Hugo baseado no Hugo Bear que toma conta da velocidade e otimização para que você possa focar em escrever bons textos."><meta name=twitter:site content="@example"><meta itemprop=name content="Início"><meta itemprop=description content="ᕦʕ ʔᕤ Bear Cub Os sites de hoje em dia são pesados, lentos e cheios de scripts, propagandas e rastreadores. Isso ficou tão comum que nós perdemos toda a perspectiva, tanto que achamos normal uma página web ter vários megabytes.
The internet has become a bloated mess. Huge JavaScript libraries, countless client-side queries and overly complex frontend frameworks are par for the course these days.
— Kev Quirk
Vamos mudar isso, um site de cada vez! Bear Cub é um tema Hugo baseado no Hugo Bear que toma conta da velocidade e otimização para que você possa focar em escrever bons textos."><meta itemprop=wordCount content="158"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/pt/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Pular para conteúdo principal</a>
<a href=/hugo-bearcub/pt/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/pt/>Início</a>
<a href=/hugo-bearcub/pt/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/>en-US 🇺🇸</a></nav></header><main id=main-content><h1 id=ᕦʕ-ᴥʔᕤ-bear-cub>ᕦʕ •ᴥ•ʔᕤ Bear Cub</h1><p>Os sites de hoje em dia são pesados, lentos e cheios de scripts, propagandas e
rastreadores. Isso ficou tão comum que nós perdemos toda a perspectiva, tanto
que achamos normal uma página web ter vários megabytes.</p><blockquote><p>The internet has become a bloated mess. Huge JavaScript libraries, countless
client-side queries and overly complex frontend frameworks are par for the
course these days.</p><p>&mdash; <a href=https://512kb.club/>Kev Quirk</a></p></blockquote><p>Vamos mudar isso, um site de cada vez! <strong>Bear Cub</strong> é um tema
<a href=https://gohugo.io/>Hugo</a> baseado no <a href=https://github.com/janraasch/hugo-bearblog/>Hugo
Bear</a> que toma conta da velocidade
e otimização para que você possa focar em escrever bons textos.</p><p>Ele é gratuito, multilíngue, otimizado para buscadores, simples, responsivo,
leve e rápido. Muito rápido.</p><p>Quando comparado ao seu predecessor, o <strong>Bear Cub</strong> tem alguns upgrades de
<a href="https://themarkup.org/blacklight?url=clente.github.io/hugo-bearcub/">privacidade</a>
e
<a href="https://pagespeed.web.dev/report?url=https%3A%2F%2Fclente.github.io%2Fhugo-bearcub%2F">acessibilidade</a>.
Ele também é compatível com as práticas mais modernas de
<a href=https://github.com/clente/hugo-bearcub#secure>segurança</a> para que seus
usuários possam aproveitar seu site sem medo.</p><p>Feito com 💟 por <a href=https://lente.dev>Caio lente</a>.</p></main><footer><small>John Doe (CC BY 4.0) | Feito com <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

1
pt/index.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Bear Cub</title><link>https://clente.github.io/hugo-bearcub/pt/</link><description>Recent content on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>pt-BR</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><atom:link href="https://clente.github.io/hugo-bearcub/pt/index.xml" rel="self" type="application/rss+xml"/></channel></rss>

1
pt/sitemap.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://clente.github.io/hugo-bearcub/pt/</loc><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/"/><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/"/></url><url><loc>https://clente.github.io/hugo-bearcub/pt/blog/</loc><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/blog/"/><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/blog/"/></url><url><loc>https://clente.github.io/hugo-bearcub/pt/categories/</loc><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/categories/"/><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/categories/"/></url><url><loc>https://clente.github.io/hugo-bearcub/pt/tags/</loc><xhtml:link rel="alternate" hreflang="en-US" href="https://clente.github.io/hugo-bearcub/tags/"/><xhtml:link rel="alternate" hreflang="pt-BR" href="https://clente.github.io/hugo-bearcub/pt/tags/"/></url></urlset>

6
pt/tags/index.html Normal file
View File

@ -0,0 +1,6 @@
<!doctype html><html lang=pt-BR><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Tags | Bear Cub</title>
<meta name=title content="Tags"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content><meta property="og:url" content="https://clente.github.io/hugo-bearcub/pt/tags/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Tags"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="pt_BR"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Tags"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Tags"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/pt/tags/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Pular para conteúdo principal</a>
<a href=/hugo-bearcub/pt/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/pt/>Início</a>
<a href=/hugo-bearcub/pt/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/tags/>en-US 🇺🇸</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtrando para "Tags"</h3><ul class=blog-posts><li>Nenhum post ainda</li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Feito com <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

1
pt/tags/index.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Tags on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/pt/tags/</link><description>Recent content in Tags on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>pt-BR</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><atom:link href="https://clente.github.io/hugo-bearcub/pt/tags/index.xml" rel="self" type="application/rss+xml"/></channel></rss>

3
robots.txt Normal file
View File

@ -0,0 +1,3 @@
User-agent: *
Allow: /
Sitemap: https://clente.github.io/hugo-bearcub/sitemap.xml

1
sitemap.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://clente.github.io/hugo-bearcub/en/sitemap.xml</loc><lastmod>2019-03-11T00:00:00+00:00</lastmod></sitemap><sitemap><loc>https://clente.github.io/hugo-bearcub/pt/sitemap.xml</loc></sitemap></sitemapindex>

1
syntax.min.css vendored Normal file
View File

@ -0,0 +1 @@
.bg{color:#f8f8f2;background-color:#282a36}.chroma{color:#f8f8f2;background-color:#282a36}.chroma .lnlinks{outline:none;text-decoration:none;color:inherit}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0}.chroma .hl{background-color:#ffc}.chroma .lnt{white-space:pre;user-select:none;margin-right:.4em;padding:0 .4em;color:#929292}.chroma .ln{white-space:pre;user-select:none;margin-right:.4em;padding:0 .4em;color:#929292}.chroma .line{display:flex}.chroma .k{color:#ff79c6}.chroma .kc{color:#ff79c6}.chroma .kd{color:#8be9fd;font-style:italic}.chroma .kn{color:#ff79c6}.chroma .kp{color:#ff79c6}.chroma .kr{color:#ff79c6}.chroma .kt{color:#8be9fd}.chroma .na{color:#50fa7b}.chroma .nb{color:#8be9fd;font-style:italic}.chroma .nc{color:#50fa7b}.chroma .nf{color:#50fa7b}.chroma .nl{color:#8be9fd;font-style:italic}.chroma .nt{color:#ff79c6}.chroma .nv{color:#8be9fd;font-style:italic}.chroma .vc{color:#8be9fd;font-style:italic}.chroma .vg{color:#8be9fd;font-style:italic}.chroma .vi{color:#8be9fd;font-style:italic}.chroma .s{color:#f1fa8c}.chroma .sa{color:#f1fa8c}.chroma .sb{color:#f1fa8c}.chroma .sc{color:#f1fa8c}.chroma .dl{color:#f1fa8c}.chroma .sd{color:#f1fa8c}.chroma .s2{color:#f1fa8c}.chroma .se{color:#f1fa8c}.chroma .sh{color:#f1fa8c}.chroma .si{color:#f1fa8c}.chroma .sx{color:#f1fa8c}.chroma .sr{color:#f1fa8c}.chroma .s1{color:#f1fa8c}.chroma .ss{color:#f1fa8c}.chroma .m{color:#bd93f9}.chroma .mb{color:#bd93f9}.chroma .mf{color:#bd93f9}.chroma .mh{color:#bd93f9}.chroma .mi{color:#bd93f9}.chroma .il{color:#bd93f9}.chroma .mo{color:#bd93f9}.chroma .o{color:#ff79c6}.chroma .ow{color:#ff79c6}.chroma .c{color:#8491b8}.chroma .ch{color:#8491b8}.chroma .cm{color:#8491b8}.chroma .c1{color:#8491b8}.chroma .cs{color:#8491b8}.chroma .cp{color:#ff79c6}.chroma .cpf{color:#ff79c6}.chroma .gd{color:#f55}.chroma .ge{text-decoration:underline}.chroma .gh{font-weight:700}.chroma .gi{color:#50fa7b;font-weight:700}.chroma .go{color:#44475a}.chroma .gu{font-weight:700}.chroma .gl{text-decoration:underline}

7
tags/css/index.html Normal file
View File

@ -0,0 +1,7 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Css | Bear Cub</title>
<meta name=title content="Css"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/tags/css/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Css"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Css"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Css"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/tags/css/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Css"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/blog/markdown-syntax/>Markdown Syntax Guide</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

147
tags/css/index.xml Normal file
View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Css on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/tags/css/</link><description>Recent content in Css on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/tags/css/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Syntax Guide</title><link>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</guid><description>&lt;p>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.&lt;/p></description><content:encoded><![CDATA[<p>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.</p>
<h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>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.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
<!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
</blockquote>
<h2 id="tables">Tables</h2>
<p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table>
<thead>
<tr>
<th>Italics</th>
<th>Bold</th>
<th>Code</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>italics</em></td>
<td><strong>bold</strong></td>
<td><code>code</code></td>
</tr>
</tbody>
</table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content:encoded></item></channel></rss>

7
tags/emoji/index.html Normal file
View File

@ -0,0 +1,7 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Emoji | Bear Cub</title>
<meta name=title content="Emoji"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/tags/emoji/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Emoji"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Emoji"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Emoji"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-05T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-05T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/tags/emoji/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Emoji"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-05 pubdate>2019-03-05
</time></i></span><a href=/hugo-bearcub/blog/emoji-support/>Emoji Support</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

14
tags/emoji/index.xml Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Emoji on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/tags/emoji/</link><description>Recent content in Emoji on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Tue, 05 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/tags/emoji/index.xml" rel="self" type="application/rss+xml"/><item><title>Emoji Support</title><link>https://clente.github.io/hugo-bearcub/blog/emoji-support/</link><pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/emoji-support/</guid><description>&lt;p>Emoji can be enabled in a Hugo project in a number of ways.&lt;/p></description><content:encoded><![CDATA[<p>Emoji can be enabled in a Hugo project in a number of ways.</p>
<p>The <a href="https://gohugo.io/functions/emojify/"><code>emojify</code></a> function can be called directly in templates or <a href="https://gohugo.io/templates/shortcode-templates/#inline-shortcodes">Inline Shortcodes</a>.</p>
<p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site&rsquo;s <a href="https://gohugo.io/getting-started/configuration/">configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p>
<!-- raw HTML omitted -->
<p>The <a href="http://www.emoji-cheat-sheet.com/">Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p>
<hr>
<p><strong>N.B.</strong> 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.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln">1</span><span class="cl">.emoji {
</span></span><span class="line"><span class="ln">2</span><span class="cl"> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
</span></span><span class="line"><span class="ln">3</span><span class="cl">}</span></span></code></pre></div>]]></content:encoded></item></channel></rss>

7
tags/html/index.html Normal file
View File

@ -0,0 +1,7 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Html | Bear Cub</title>
<meta name=title content="Html"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/tags/html/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Html"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Html"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Html"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/tags/html/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Html"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/blog/markdown-syntax/>Markdown Syntax Guide</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

147
tags/html/index.xml Normal file
View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Html on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/tags/html/</link><description>Recent content in Html on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/tags/html/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Syntax Guide</title><link>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</guid><description>&lt;p>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.&lt;/p></description><content:encoded><![CDATA[<p>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.</p>
<h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>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.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
<!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
</blockquote>
<h2 id="tables">Tables</h2>
<p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table>
<thead>
<tr>
<th>Italics</th>
<th>Bold</th>
<th>Code</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>italics</em></td>
<td><strong>bold</strong></td>
<td><code>code</code></td>
</tr>
</tbody>
</table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content:encoded></item></channel></rss>

13
tags/index.html Normal file
View File

@ -0,0 +1,13 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Tags | Bear Cub</title>
<meta name=title content="Tags"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/tags/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Tags"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Tags"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Tags"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/tags/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a href=/hugo-bearcub/pt/tags/>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Tags"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/tags/css/>Css</a></li><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/tags/html/>Html</a></li><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/tags/markdown/>Markdown</a></li><li><span><i><time datetime=2019-03-10 pubdate>2019-03-10
</time></i></span><a href=/hugo-bearcub/tags/privacy/>Privacy</a></li><li><span><i><time datetime=2019-03-10 pubdate>2019-03-10
</time></i></span><a href=/hugo-bearcub/tags/shortcodes/>Shortcodes</a></li><li><span><i><time datetime=2019-03-09 pubdate>2019-03-09
</time></i></span><a href=/hugo-bearcub/tags/text/>Text</a></li><li><span><i><time datetime=2019-03-05 pubdate>2019-03-05
</time></i></span><a href=/hugo-bearcub/tags/emoji/>Emoji</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

1
tags/index.xml Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Tags on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/tags/</link><description>Recent content in Tags on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/tags/index.xml" rel="self" type="application/rss+xml"/><item><title>Css</title><link>https://clente.github.io/hugo-bearcub/tags/css/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/tags/css/</guid><description/><content:encoded></content:encoded></item><item><title>Html</title><link>https://clente.github.io/hugo-bearcub/tags/html/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/tags/html/</guid><description/><content:encoded></content:encoded></item><item><title>Markdown</title><link>https://clente.github.io/hugo-bearcub/tags/markdown/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/tags/markdown/</guid><description/><content:encoded></content:encoded></item><item><title>Privacy</title><link>https://clente.github.io/hugo-bearcub/tags/privacy/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/tags/privacy/</guid><description/><content:encoded></content:encoded></item><item><title>Shortcodes</title><link>https://clente.github.io/hugo-bearcub/tags/shortcodes/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/tags/shortcodes/</guid><description/><content:encoded></content:encoded></item><item><title>Text</title><link>https://clente.github.io/hugo-bearcub/tags/text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/tags/text/</guid><description/><content:encoded></content:encoded></item><item><title>Emoji</title><link>https://clente.github.io/hugo-bearcub/tags/emoji/</link><pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/tags/emoji/</guid><description/><content:encoded></content:encoded></item></channel></rss>

8
tags/markdown/index.html Normal file
View File

@ -0,0 +1,8 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Markdown | Bear Cub</title>
<meta name=title content="Markdown"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/tags/markdown/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Markdown"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Markdown"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Markdown"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-11T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-11T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/tags/markdown/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Markdown"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-11 pubdate>2019-03-11
</time></i></span><a href=/hugo-bearcub/blog/markdown-syntax/>Markdown Syntax Guide</a></li><li><span><i><time datetime=2019-03-09 pubdate>2019-03-09
</time></i></span><a href=/hugo-bearcub/blog/placeholder-text/>Placeholder Text</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

169
tags/markdown/index.xml Normal file
View File

@ -0,0 +1,169 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Markdown on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/tags/markdown/</link><description>Recent content in Markdown on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/tags/markdown/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Syntax Guide</title><link>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/markdown-syntax/</guid><description>&lt;p>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.&lt;/p></description><content:encoded><![CDATA[<p>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.</p>
<h2 id="headings">Headings</h2>
<p>The following HTML <code>&lt;h1&gt;</code><code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
<h1 id="h1">H1</h1>
<h2 id="h2">H2</h2>
<h3 id="h3">H3</h3>
<h4 id="h4">H4</h4>
<h5 id="h5">H5</h5>
<h6 id="h6">H6</h6>
<h2 id="paragraph">Paragraph</h2>
<p>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.</p>
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
<h2 id="blockquotes">Blockquotes</h2>
<p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
<h4 id="blockquote-without-attribution">Blockquote without attribution</h4>
<blockquote>
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
</blockquote>
<h4 id="blockquote-with-attribution">Blockquote with attribution</h4>
<blockquote>
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
<!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
</blockquote>
<h2 id="tables">Tables</h2>
<p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<h4 id="inline-markdown-within-tables">Inline Markdown within tables</h4>
<table>
<thead>
<tr>
<th>Italics</th>
<th>Bold</th>
<th>Code</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>italics</em></td>
<td><strong>bold</strong></td>
<td><code>code</code></td>
</tr>
</tbody>
</table>
<h2 id="code-blocks">Code Blocks</h2>
<h4 id="code-block-with-backticks">Code block with backticks</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces</h4>
<pre><code>&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Test&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode</h4>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="ln"> 1</span><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
</span></span><span class="line"><span class="ln"> 2</span><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 3</span><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 4</span><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 5</span><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 6</span><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 7</span><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 8</span><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln"> 9</span><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="ln">10</span><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
<h2 id="list-types">List Types</h2>
<h4 id="ordered-list">Ordered List</h4>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h4 id="unordered-list">Unordered List</h4>
<ul>
<li>List item</li>
<li>Another item</li>
<li>And another item</li>
</ul>
<h4 id="nested-list">Nested list</h4>
<ul>
<li>Fruit
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Banana</li>
</ul>
</li>
<li>Dairy
<ul>
<li>Milk</li>
<li>Cheese</li>
</ul>
</li>
</ul>
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark</h2>
<p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content:encoded></item><item><title>Placeholder Text</title><link>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</guid><description>&lt;p>Lorem est tota propiore conpellat pectoribus de pectora summo.&lt;/p></description><content:encoded><![CDATA[<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
<p>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.</p>
<ol>
<li>Exierant elisi ambit vivere dedere</li>
<li>Duce pollice</li>
<li>Eris modo</li>
<li>Spargitque ferrea quos palude</li>
</ol>
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
<ol>
<li>Comas hunc haec pietate fetum procerum dixit</li>
<li>Post torum vates letum Tiresia</li>
<li>Flumen querellas</li>
<li>Arcanaque montibus omnes</li>
<li>Quidem et</li>
</ol>
<h1 id="vagus-elidunt">Vagus elidunt</h1>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat</h2>
<p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
<p>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.</p>
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p>]]></content:encoded></item></channel></rss>

7
tags/privacy/index.html Normal file
View File

@ -0,0 +1,7 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Privacy | Bear Cub</title>
<meta name=title content="Privacy"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/tags/privacy/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Privacy"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Privacy"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Privacy"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-10T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-10T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/tags/privacy/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Privacy"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-10 pubdate>2019-03-10
</time></i></span><a href=/hugo-bearcub/blog/rich-content/>Rich Content</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

50
tags/privacy/index.xml Normal file
View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Privacy on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/tags/privacy/</link><description>Recent content in Privacy on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Sun, 10 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/tags/privacy/index.xml" rel="self" type="application/rss+xml"/><item><title>Rich Content</title><link>https://clente.github.io/hugo-bearcub/blog/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/rich-content/</guid><description>&lt;p>Hugo ships with several &lt;a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes&lt;/a> for rich content, along with a &lt;a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config&lt;/a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.&lt;/p></description><content:encoded><![CDATA[<p>Hugo ships with several <a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes</a> for rich content, along with a <a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config</a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.</p>
<hr>
<h2 id="youtube-privacy-enhanced-shortcode">YouTube Privacy Enhanced Shortcode</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/ZJthWmvUzzc?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
</div>
<!-- raw HTML omitted -->
<hr>
<h2 id="twitter-simple-shortcode">Twitter Simple Shortcode</h2>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">“In addition to being more logical, asymmetry has the advantage that its complete appearance is far more optically effective than symmetry.”<br>— Jan Tschichold <a href="https://t.co/gcv7SrhvJb">pic.twitter.com/gcv7SrhvJb</a></p>&mdash; Design Reviewed | Graphic Design History (@DesignReviewed) <a href="https://twitter.com/DesignReviewed/status/1085870671291310081?ref_src=twsrc%5Etfw">January 17, 2019</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<!-- raw HTML omitted -->
<hr>
<h2 id="vimeo-simple-shortcode">Vimeo Simple Shortcode</h2>
<style>
.__h_video {
position: relative;
padding-bottom: 56.23%;
height: 0;
overflow: hidden;
width: 100%;
background: #000;
}
.__h_video img {
width: 100%;
height: auto;
color: #000;
}
.__h_video .play {
height: 72px;
width: 72px;
left: 50%;
top: 50%;
margin-left: -36px;
margin-top: -36px;
position: absolute;
cursor: pointer;
}
</style><div class="s_video_simple __h_video">
<a href="https://vimeo.com/4.8912912e&#43;07" rel="noopener" target="_blank">
<img src="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640" srcset="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 1x, https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 2x" alt="Sing Jan Swing - Kinetic Type">
<div class="play">
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 61 61"><circle cx="30.5" cy="30.5" r="30.5" opacity=".8" fill="#000"></circle><path d="M25.3 19.2c-2.1-1.2-3.8-.2-3.8 2.2v18.1c0 2.4 1.7 3.4 3.8 2.2l16.6-9.1c2.1-1.2 2.1-3.2 0-4.4l-16.6-9z" fill="#fff"></path></svg>
</div>
</a>
</div>]]></content:encoded></item></channel></rss>

View File

@ -0,0 +1,7 @@
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Shortcodes | Bear Cub</title>
<meta name=title content="Shortcodes"><meta name=description content="Bear Cub Demo"><meta name=author content><meta name=keywords content="syntax,themes,css,emoji,html,markdown,privacy,shortcodes,text,"><meta property="og:url" content="https://clente.github.io/hugo-bearcub/tags/shortcodes/"><meta property="og:site_name" content="Bear Cub"><meta property="og:title" content="Shortcodes"><meta property="og:description" content="Bear Cub Demo"><meta property="og:locale" content="en_US"><meta property="og:type" content="website"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=twitter:title content="Shortcodes"><meta name=twitter:description content="Bear Cub Demo"><meta name=twitter:site content="@example"><meta itemprop=name content="Shortcodes"><meta itemprop=description content="Bear Cub Demo"><meta itemprop=datePublished content="2019-03-10T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-10T00:00:00+00:00"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/share.webp"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/original.min.css rel=stylesheet><link rel=alternate type=application/rss+xml href=https://clente.github.io/hugo-bearcub/tags/shortcodes/index.xml title="Bear Cub"></head><body><header><a class=skip-link href=#main-content>Skip to main content</a>
<a href=/hugo-bearcub/ class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a>
<a href=/hugo-bearcub/blog/>Blog</a>
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a>
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><content><h3 class=blog-filter>Filtering for "Shortcodes"</h3><ul class=blog-posts><li><span><i><time datetime=2019-03-10 pubdate>2019-03-10
</time></i></span><a href=/hugo-bearcub/blog/rich-content/>Rich Content</a></li></ul></content></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>

50
tags/shortcodes/index.xml Normal file
View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Shortcodes on Bear Cub</title><link>https://clente.github.io/hugo-bearcub/tags/shortcodes/</link><description>Recent content in Shortcodes on Bear Cub</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><managingEditor>me@example.com (John Doe)</managingEditor><webMaster>me@example.com (John Doe)</webMaster><copyright>John Doe (CC BY 4.0)</copyright><lastBuildDate>Sun, 10 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://clente.github.io/hugo-bearcub/tags/shortcodes/index.xml" rel="self" type="application/rss+xml"/><item><title>Rich Content</title><link>https://clente.github.io/hugo-bearcub/blog/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><author>me@example.com (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/rich-content/</guid><description>&lt;p>Hugo ships with several &lt;a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes&lt;/a> for rich content, along with a &lt;a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config&lt;/a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.&lt;/p></description><content:encoded><![CDATA[<p>Hugo ships with several <a href="https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes">Built-in Shortcodes</a> for rich content, along with a <a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config</a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.</p>
<hr>
<h2 id="youtube-privacy-enhanced-shortcode">YouTube Privacy Enhanced Shortcode</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/ZJthWmvUzzc?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
</div>
<!-- raw HTML omitted -->
<hr>
<h2 id="twitter-simple-shortcode">Twitter Simple Shortcode</h2>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">“In addition to being more logical, asymmetry has the advantage that its complete appearance is far more optically effective than symmetry.”<br>— Jan Tschichold <a href="https://t.co/gcv7SrhvJb">pic.twitter.com/gcv7SrhvJb</a></p>&mdash; Design Reviewed | Graphic Design History (@DesignReviewed) <a href="https://twitter.com/DesignReviewed/status/1085870671291310081?ref_src=twsrc%5Etfw">January 17, 2019</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<!-- raw HTML omitted -->
<hr>
<h2 id="vimeo-simple-shortcode">Vimeo Simple Shortcode</h2>
<style>
.__h_video {
position: relative;
padding-bottom: 56.23%;
height: 0;
overflow: hidden;
width: 100%;
background: #000;
}
.__h_video img {
width: 100%;
height: auto;
color: #000;
}
.__h_video .play {
height: 72px;
width: 72px;
left: 50%;
top: 50%;
margin-left: -36px;
margin-top: -36px;
position: absolute;
cursor: pointer;
}
</style><div class="s_video_simple __h_video">
<a href="https://vimeo.com/4.8912912e&#43;07" rel="noopener" target="_blank">
<img src="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640" srcset="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 1x, https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 2x" alt="Sing Jan Swing - Kinetic Type">
<div class="play">
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 61 61"><circle cx="30.5" cy="30.5" r="30.5" opacity=".8" fill="#000"></circle><path d="M25.3 19.2c-2.1-1.2-3.8-.2-3.8 2.2v18.1c0 2.4 1.7 3.4 3.8 2.2l16.6-9.1c2.1-1.2 2.1-3.2 0-4.4l-16.6-9z" fill="#fff"></path></svg>
</div>
</a>
</div>]]></content:encoded></item></channel></rss>

Some files were not shown because too many files have changed in this diff Show More