diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..9f07252 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,32 @@ +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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f93da2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.hugo_build.lock +.DS_Store +resources/ +todo.md +exampleSite/public/ \ No newline at end of file diff --git a/.nojekyll b/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/404.html b/404.html deleted file mode 100644 index dfef92b..0000000 --- a/404.html +++ /dev/null @@ -1,6 +0,0 @@ -404 -
-

Bear Cub

404

Κ•γƒŽβ€’α΄₯β€’Κ”γƒŽ οΈ΅ ┻━┻

\ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5c93582 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..a084e50 --- /dev/null +++ b/README.md @@ -0,0 +1,245 @@ +# ᕦʕ β€’α΄₯β€’Κ”α•€ 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). diff --git a/assets/herman.css b/assets/herman.css new file mode 100644 index 0000000..f2573c3 --- /dev/null +++ b/assets/herman.css @@ -0,0 +1,202 @@ +: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; +} diff --git a/assets/images/social_card_bg.png b/assets/images/social_card_bg.png new file mode 100644 index 0000000..857ea63 Binary files /dev/null and b/assets/images/social_card_bg.png differ diff --git a/assets/images/social_card_fg.png b/assets/images/social_card_fg.png new file mode 100644 index 0000000..e005b0a Binary files /dev/null and b/assets/images/social_card_fg.png differ diff --git a/assets/original.css b/assets/original.css new file mode 100644 index 0000000..6a1f263 --- /dev/null +++ b/assets/original.css @@ -0,0 +1,180 @@ +body { + font-family: Verdana, sans-serif; + margin: auto; + padding: 20px; + max-width: 1024px; + text-align: left; + background-color: #000; + 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: #0cc2dd; +} + +.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; +} diff --git a/assets/syntax.css b/assets/syntax.css new file mode 100644 index 0000000..a28d967 --- /dev/null +++ b/assets/syntax.css @@ -0,0 +1,91 @@ +/* This style is a variant of Dracula that is more accessible to people with poor eyesight */ +/* See https://web.dev/color-and-contrast-accessibility/ */ +/* And https://xyproto.github.io/splash/docs/dracula.html */ +/* And https://github.com/alecthomas/chroma/blob/a40c95e447a577322e20eac58f2f7c0d026665b0/styles/dracula.xml */ + +/* Background */ .bg { color: #f8f8f2; background-color: #282a36; } +/* PreWrapper */ .chroma { color: #f8f8f2; background-color: #282a36; } +/* Other .chroma .x { } */ +/* Error .chroma .err { } */ +/* 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: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #929292 } +/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #929292 } +/* Line */ .chroma .line { display: flex; } +/* Keyword */ .chroma .k { color: #ff79c6 } +/* KeywordConstant */ .chroma .kc { color: #ff79c6 } +/* KeywordDeclaration */ .chroma .kd { color: #8be9fd; font-style: italic } +/* KeywordNamespace */ .chroma .kn { color: #ff79c6 } +/* KeywordPseudo */ .chroma .kp { color: #ff79c6 } +/* KeywordReserved */ .chroma .kr { color: #ff79c6 } +/* KeywordType */ .chroma .kt { color: #8be9fd } +/* Name .chroma .n { } */ +/* NameAttribute */ .chroma .na { color: #50fa7b } +/* NameBuiltin */ .chroma .nb { color: #8be9fd; font-style: italic } +/* NameBuiltinPseudo .chroma .bp { } */ +/* NameClass */ .chroma .nc { color: #50fa7b } +/* NameConstant .chroma .no { } */ +/* NameDecorator .chroma .nd { } */ +/* NameEntity .chroma .ni { } */ +/* NameException .chroma .ne { } */ +/* NameFunction */ .chroma .nf { color: #50fa7b } +/* NameFunctionMagic .chroma .fm { } */ +/* NameLabel */ .chroma .nl { color: #8be9fd; font-style: italic } +/* NameNamespace .chroma .nn { } */ +/* NameOther .chroma .nx { } */ +/* NameProperty .chroma .py { } */ +/* NameTag */ .chroma .nt { color: #ff79c6 } +/* NameVariable */ .chroma .nv { color: #8be9fd; font-style: italic } +/* NameVariableClass */ .chroma .vc { color: #8be9fd; font-style: italic } +/* NameVariableGlobal */ .chroma .vg { color: #8be9fd; font-style: italic } +/* NameVariableInstance */ .chroma .vi { color: #8be9fd; font-style: italic } +/* NameVariableMagic .chroma .vm { } */ +/* Literal .chroma .l { } */ +/* LiteralDate .chroma .ld { } */ +/* LiteralString */ .chroma .s { color: #f1fa8c } +/* LiteralStringAffix */ .chroma .sa { color: #f1fa8c } +/* LiteralStringBacktick */ .chroma .sb { color: #f1fa8c } +/* LiteralStringChar */ .chroma .sc { color: #f1fa8c } +/* LiteralStringDelimiter */ .chroma .dl { color: #f1fa8c } +/* LiteralStringDoc */ .chroma .sd { color: #f1fa8c } +/* LiteralStringDouble */ .chroma .s2 { color: #f1fa8c } +/* LiteralStringEscape */ .chroma .se { color: #f1fa8c } +/* LiteralStringHeredoc */ .chroma .sh { color: #f1fa8c } +/* LiteralStringInterpol */ .chroma .si { color: #f1fa8c } +/* LiteralStringOther */ .chroma .sx { color: #f1fa8c } +/* LiteralStringRegex */ .chroma .sr { color: #f1fa8c } +/* LiteralStringSingle */ .chroma .s1 { color: #f1fa8c } +/* LiteralStringSymbol */ .chroma .ss { color: #f1fa8c } +/* LiteralNumber */ .chroma .m { color: #bd93f9 } +/* LiteralNumberBin */ .chroma .mb { color: #bd93f9 } +/* LiteralNumberFloat */ .chroma .mf { color: #bd93f9 } +/* LiteralNumberHex */ .chroma .mh { color: #bd93f9 } +/* LiteralNumberInteger */ .chroma .mi { color: #bd93f9 } +/* LiteralNumberIntegerLong */ .chroma .il { color: #bd93f9 } +/* LiteralNumberOct */ .chroma .mo { color: #bd93f9 } +/* Operator */ .chroma .o { color: #ff79c6 } +/* OperatorWord */ .chroma .ow { color: #ff79c6 } +/* Punctuation .chroma .p { } */ +/* Comment */ .chroma .c { color: #8491b8 } +/* CommentHashbang */ .chroma .ch { color: #8491b8 } +/* CommentMultiline */ .chroma .cm { color: #8491b8 } +/* CommentSingle */ .chroma .c1 { color: #8491b8 } +/* CommentSpecial */ .chroma .cs { color: #8491b8 } +/* CommentPreproc */ .chroma .cp { color: #ff79c6 } +/* CommentPreprocFile */ .chroma .cpf { color: #ff79c6 } +/* Generic .chroma .g { } */ +/* GenericDeleted */ .chroma .gd { color: #ff5555 } +/* GenericEmph */ .chroma .ge { text-decoration: underline } +/* GenericError .chroma .gr { } */ +/* GenericHeading */ .chroma .gh { font-weight: bold } +/* GenericInserted */ .chroma .gi { color: #50fa7b; font-weight: bold } +/* GenericOutput */ .chroma .go { color: #44475a } +/* GenericPrompt .chroma .gp { } */ +/* GenericStrong .chroma .gs { } */ +/* GenericSubheading */ .chroma .gu { font-weight: bold } +/* GenericTraceback .chroma .gt { } */ +/* GenericUnderline */ .chroma .gl { text-decoration: underline } +/* TextWhitespace .chroma .w { } */ diff --git a/blog/emoji-support/index.html b/blog/emoji-support/index.html deleted file mode 100644 index 7ba45a8..0000000 --- a/blog/emoji-support/index.html +++ /dev/null @@ -1,9 +0,0 @@ -Emoji Support | Bear Cub -
-

Bear Cub

Emoji Support

Β· Hugo Authors

Emoji can be enabled in a Hugo project in a number of ways.

The emojify function can be called directly in templates or Inline Shortcodes.

To enable emoji globally, set enableEmoji to true in your site’s configuration and then you can type emoji shorthand codes directly in content files; e.g.

The Emoji cheat sheet 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.

1.emoji {
-2  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
-3}

#emoji

Reply to this post by email β†ͺ

\ No newline at end of file diff --git a/blog/index.html b/blog/index.html deleted file mode 100644 index 14bfc3e..0000000 --- a/blog/index.html +++ /dev/null @@ -1,17 +0,0 @@ -Blog | Bear Cub -
-

Bear Cub

#css -#emoji -#html -#markdown -#privacy -#shortcodes -#text
\ No newline at end of file diff --git a/blog/index.xml b/blog/index.xml deleted file mode 100644 index 0bf432b..0000000 --- a/blog/index.xml +++ /dev/null @@ -1,256 +0,0 @@ -Blog on Bear Cubhttps://clente.github.io/hugo-bearcub/blog/Recent content in Blog on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Markdown Syntax Guidehttps://clente.github.io/hugo-bearcub/blog/markdown-syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/markdown-syntax/<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>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.

-

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. -β€” Rob Pike1

-
-

Tables

-

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

- - - - - - - - - - - - - - - - - -
NameAge
Bob27
Alice23
-

Inline Markdown within tables

- - - - - - - - - - - - - - - -
ItalicsBoldCode
italicsboldcode
-

Code Blocks

-

Code block with backticks

- - - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

- - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>
-

List Types

-

Ordered List

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
-

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

-

GIF is a bitmap image format.

-

H2O

-

Xn + Yn = Zn

-

Press CTRL+ALT+Delete to end the session.

-

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

-
-
-
    -
  1. -

    The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

    -
  2. -
-
]]>
Rich Contenthttps://clente.github.io/hugo-bearcub/blog/rich-content/Sun, 10 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/rich-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>Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.

-
-

YouTube Privacy Enhanced Shortcode

- -
- -
- - -
-

Twitter Simple Shortcode

- - - - - -
-

Vimeo Simple Shortcode

-]]>
Placeholder Texthttps://clente.github.io/hugo-bearcub/blog/placeholder-text/Sat, 09 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/placeholder-text/<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>Lorem est tota propiore conpellat pectoribus de pectora summo.

-

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. -
  3. Duce pollice
  4. -
  5. Eris modo
  6. -
  7. Spargitque ferrea quos palude
  8. -
-

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. -
  3. Post torum vates letum Tiresia
  4. -
  5. Flumen querellas
  6. -
  7. Arcanaque montibus omnes
  8. -
  9. Quidem et
  10. -
-

Vagus elidunt

-

-

The 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.

]]>
Math Typesettinghttps://clente.github.io/hugo-bearcub/blog/math-typesetting/Fri, 08 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/math-typesetting/<p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

-

In this example we will be using KaTeX

-
    -
  • Create a partial under /layouts/partials/math.html
  • -
  • Within this partial reference the Auto-render Extension or host these scripts locally.
  • -
  • Include the partial in your templates like so:
  • -
- - - - - -
1{{ if or .Params.math .Site.Params.math }}
-2{{ partial "math.html" . }}
-3{{ 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

- -

Examples

- -

Block math: -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$

]]>
Emoji Supporthttps://clente.github.io/hugo-bearcub/blog/emoji-support/Tue, 05 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/emoji-support/<p>Emoji can be enabled in a Hugo project in a number of ways.</p>Emoji can be enabled in a Hugo project in a number of ways.

-

The emojify function can be called directly in templates or Inline Shortcodes.

-

To enable emoji globally, set enableEmoji to true in your site’s configuration and then you can type emoji shorthand codes directly in content files; e.g.

- -

The Emoji cheat sheet 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.

- - - - -
1.emoji {
-2  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
-3}
]]>
\ No newline at end of file diff --git a/blog/markdown-syntax/index.html b/blog/markdown-syntax/index.html deleted file mode 100644 index 273d031..0000000 --- a/blog/markdown-syntax/index.html +++ /dev/null @@ -1,39 +0,0 @@ -Markdown Syntax Guide | Bear Cub -
-

Bear Cub

Markdown Syntax Guide

Β· Hugo Authors

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.

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. -β€” Rob Pike1

Tables

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

NameAge
Bob27
Alice23

Inline Markdown within tables

ItalicsBoldCode
italicsboldcode

Code Blocks

Code block with backticks

 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>

List Types

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

Nested list

Other Elements β€” abbr, sub, sup, kbd, mark

GIF is a bitmap image format.

H2O

Xn + Yn = Zn

Press CTRL+ALT+Delete to end the session.

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.


  1. The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

#markdown -#css -#html

Reply to this post by email β†ͺ

\ No newline at end of file diff --git a/blog/math-typesetting/index.html b/blog/math-typesetting/index.html deleted file mode 100644 index 8c62560..0000000 --- a/blog/math-typesetting/index.html +++ /dev/null @@ -1,12 +0,0 @@ -Math Typesetting | Bear Cub -
-

Bear Cub

Math Typesetting

Β· Hugo Authors

Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

In this example we will be using KaTeX

1{{ if or .Params.math .Site.Params.math }}
-2{{ partial "math.html" . }}
-3{{ end }}

Note: Use the online reference of Supported TeX Functions

Examples

Block math: -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$

Reply to this post by email β†ͺ

\ No newline at end of file diff --git a/blog/migrate-from-jekyl/index.html b/blog/migrate-from-jekyl/index.html deleted file mode 100644 index 5165f7b..0000000 --- a/blog/migrate-from-jekyl/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://clente.github.io/hugo-bearcub/blog/markdown-syntax/ - \ No newline at end of file diff --git a/blog/placeholder-text/index.html b/blog/placeholder-text/index.html deleted file mode 100644 index b63dce9..0000000 --- a/blog/placeholder-text/index.html +++ /dev/null @@ -1,8 +0,0 @@ -Placeholder Text | Bear Cub -
-

Bear Cub

Placeholder Text

Β· Hugo Authors

Lorem est tota propiore conpellat pectoribus de pectora summo.

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

The 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.

#markdown -#text

Reply to this post by email β†ͺ

\ No newline at end of file diff --git a/blog/rich-content/index.html b/blog/rich-content/index.html deleted file mode 100644 index aca7dcd..0000000 --- a/blog/rich-content/index.html +++ /dev/null @@ -1,8 +0,0 @@ -Rich Content | Bear Cub -
-

Bear Cub

Rich Content

Β· Hugo Authors

Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.


YouTube Privacy Enhanced Shortcode


Twitter Simple Shortcode


Vimeo Simple Shortcode

Sing Jan Swing - Kinetic Type

#shortcodes -#privacy

Reply to this post by email β†ͺ

\ No newline at end of file diff --git a/categories/index.html b/categories/index.html deleted file mode 100644 index 9b032cf..0000000 --- a/categories/index.html +++ /dev/null @@ -1,8 +0,0 @@ -Categories | Bear Cub -
-

Bear Cub

Filtering for "Categories"

\ No newline at end of file diff --git a/categories/index.xml b/categories/index.xml deleted file mode 100644 index f4b7552..0000000 --- a/categories/index.xml +++ /dev/null @@ -1 +0,0 @@ -Categories on Bear Cubhttps://clente.github.io/hugo-bearcub/categories/Recent content in Categories on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Syntaxhttps://clente.github.io/hugo-bearcub/categories/syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/categories/syntax/Themeshttps://clente.github.io/hugo-bearcub/categories/themes/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/categories/themes/ \ No newline at end of file diff --git a/categories/syntax/index.html b/categories/syntax/index.html deleted file mode 100644 index 75c71ac..0000000 --- a/categories/syntax/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Syntax | Bear Cub -
-

Bear Cub

Filtering for "Syntax"

\ No newline at end of file diff --git a/categories/syntax/index.xml b/categories/syntax/index.xml deleted file mode 100644 index 3a38a54..0000000 --- a/categories/syntax/index.xml +++ /dev/null @@ -1,147 +0,0 @@ -Syntax on Bear Cubhttps://clente.github.io/hugo-bearcub/categories/syntax/Recent content in Syntax on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Markdown Syntax Guidehttps://clente.github.io/hugo-bearcub/blog/markdown-syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/markdown-syntax/<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>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.

-

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. -β€” Rob Pike1

-
-

Tables

-

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

- - - - - - - - - - - - - - - - - -
NameAge
Bob27
Alice23
-

Inline Markdown within tables

- - - - - - - - - - - - - - - -
ItalicsBoldCode
italicsboldcode
-

Code Blocks

-

Code block with backticks

- - - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

- - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>
-

List Types

-

Ordered List

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
-

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

-

GIF is a bitmap image format.

-

H2O

-

Xn + Yn = Zn

-

Press CTRL+ALT+Delete to end the session.

-

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

-
-
-
    -
  1. -

    The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

    -
  2. -
-
]]>
\ No newline at end of file diff --git a/categories/themes/index.html b/categories/themes/index.html deleted file mode 100644 index 5e1906d..0000000 --- a/categories/themes/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Themes | Bear Cub -
-

Bear Cub

Filtering for "Themes"

\ No newline at end of file diff --git a/categories/themes/index.xml b/categories/themes/index.xml deleted file mode 100644 index 6e796c4..0000000 --- a/categories/themes/index.xml +++ /dev/null @@ -1,147 +0,0 @@ -Themes on Bear Cubhttps://clente.github.io/hugo-bearcub/categories/themes/Recent content in Themes on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Markdown Syntax Guidehttps://clente.github.io/hugo-bearcub/blog/markdown-syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/markdown-syntax/<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>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.

-

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. -β€” Rob Pike1

-
-

Tables

-

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

- - - - - - - - - - - - - - - - - -
NameAge
Bob27
Alice23
-

Inline Markdown within tables

- - - - - - - - - - - - - - - -
ItalicsBoldCode
italicsboldcode
-

Code Blocks

-

Code block with backticks

- - - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

- - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>
-

List Types

-

Ordered List

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
-

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

-

GIF is a bitmap image format.

-

H2O

-

Xn + Yn = Zn

-

Press CTRL+ALT+Delete to end the session.

-

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

-
-
-
    -
  1. -

    The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

    -
  2. -
-
]]>
\ No newline at end of file diff --git a/en/index.html b/en/index.html deleted file mode 100644 index 0cc8474..0000000 --- a/en/index.html +++ /dev/null @@ -1,2 +0,0 @@ -https://clente.github.io/hugo-bearcub/ - \ No newline at end of file diff --git a/en/sitemap.xml b/en/sitemap.xml deleted file mode 100644 index 46a046e..0000000 --- a/en/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://clente.github.io/hugo-bearcub/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/blog/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/categories/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/css/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/html/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/markdown/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/blog/markdown-syntax/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/categories/syntax/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/categories/themes/2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/privacy/2019-03-10T00:00:00+00:00https://clente.github.io/hugo-bearcub/blog/rich-content/2019-03-10T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/shortcodes/2019-03-10T00:00:00+00:00https://clente.github.io/hugo-bearcub/blog/placeholder-text/2019-03-09T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/text/2019-03-09T00:00:00+00:00https://clente.github.io/hugo-bearcub/blog/math-typesetting/2019-03-08T00:00:00+00:00https://clente.github.io/hugo-bearcub/tags/emoji/2019-03-05T00:00:00+00:00https://clente.github.io/hugo-bearcub/blog/emoji-support/2019-03-05T00:00:00+00:00 \ No newline at end of file diff --git a/exampleSite/content.pt/_index.md b/exampleSite/content.pt/_index.md new file mode 100644 index 0000000..4cf0d7e --- /dev/null +++ b/exampleSite/content.pt/_index.md @@ -0,0 +1,35 @@ +--- +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). diff --git a/exampleSite/content.pt/blog/_index.md b/exampleSite/content.pt/blog/_index.md new file mode 100644 index 0000000..7588ac1 --- /dev/null +++ b/exampleSite/content.pt/blog/_index.md @@ -0,0 +1,5 @@ +--- +title: "Blog" +menu: "main" +weight: 2 +--- \ No newline at end of file diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md new file mode 100644 index 0000000..10c388f --- /dev/null +++ b/exampleSite/content/_index.md @@ -0,0 +1,35 @@ +--- +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). diff --git a/exampleSite/content/blog/_index.md b/exampleSite/content/blog/_index.md new file mode 100644 index 0000000..7588ac1 --- /dev/null +++ b/exampleSite/content/blog/_index.md @@ -0,0 +1,5 @@ +--- +title: "Blog" +menu: "main" +weight: 2 +--- \ No newline at end of file diff --git a/exampleSite/content/blog/emoji-support.md b/exampleSite/content/blog/emoji-support.md new file mode 100644 index 0000000..f17f49a --- /dev/null +++ b/exampleSite/content/blog/emoji-support.md @@ -0,0 +1,46 @@ ++++ +author = "Hugo Authors" +title = "Emoji Support" +date = "2019-03-05" +description = "Guide to emoji usage in Hugo" +tags = [ + "emoji", +] ++++ + +Emoji can be enabled in a Hugo project in a number of ways. + +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. + +

πŸ™ˆ :see_no_evil: πŸ™‰ :hear_no_evil: πŸ™Š :speak_no_evil:

+
+ +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 >}} + +{{< /css.inline >}} diff --git a/exampleSite/content/blog/markdown-syntax.md b/exampleSite/content/blog/markdown-syntax.md new file mode 100644 index 0000000..06990d7 --- /dev/null +++ b/exampleSite/content/blog/markdown-syntax.md @@ -0,0 +1,148 @@ ++++ +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. + + +## Headings + +The following HTML `

`β€”`

` elements represent six levels of section headings. `

` is the highest section level while `

` 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.
+> β€” Rob Pike[^1] + +[^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 + + + + + Example HTML5 Document + + +

Test

+ + +``` + +#### Code block indented with four spaces + + + + + + Example HTML5 Document + + +

Test

+ + + +#### Code block with Hugo's internal highlight shortcode +{{< highlight html >}} + + + + + Example HTML5 Document + + +

Test

+ + +{{< /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 + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/exampleSite/content/blog/math-typesetting.md b/exampleSite/content/blog/math-typesetting.md new file mode 100644 index 0000000..62831a9 --- /dev/null +++ b/exampleSite/content/blog/math-typesetting.md @@ -0,0 +1,49 @@ +--- +author: Hugo Authors +title: Math Typesetting +date: 2019-03-08 +description: A brief guide to setup KaTeX +math: true +--- + +Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. + + +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 }} + + + + +{{ end }} +{{}} + +### Examples + +{{< math.inline >}} +

+Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\) +

+{{}} + +Block math: +$$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ diff --git a/exampleSite/content/blog/placeholder-text.md b/exampleSite/content/blog/placeholder-text.md new file mode 100644 index 0000000..9ed5f69 --- /dev/null +++ b/exampleSite/content/blog/placeholder-text.md @@ -0,0 +1,45 @@ ++++ +author = "Hugo Authors" +title = "Placeholder Text" +date = "2019-03-09" +description = "Lorem Ipsum Dolor Si Amet" +tags = [ + "markdown", + "text", +] ++++ + +Lorem est tota propiore conpellat pectoribus de pectora summo. 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 + + + +[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 >}} + +{{< /css.inline >}} diff --git a/exampleSite/content/blog/rich-content.md b/exampleSite/content/blog/rich-content.md new file mode 100644 index 0000000..3c406af --- /dev/null +++ b/exampleSite/content/blog/rich-content.md @@ -0,0 +1,34 @@ ++++ +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. + +--- + +## YouTube Privacy Enhanced Shortcode + +{{< youtube ZJthWmvUzzc >}} + +
+ +--- + +## Twitter Simple Shortcode + +{{< x user="DesignReviewed" id="1085870671291310081" >}} + +
+ +--- + +## Vimeo Simple Shortcode + +{{< vimeo_simple 48912912 >}} diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml new file mode 100644 index 0000000..04690c0 --- /dev/null +++ b/exampleSite/hugo.toml @@ -0,0 +1,89 @@ +# 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 diff --git a/images/favicon.png b/exampleSite/static/images/favicon.png similarity index 100% rename from images/favicon.png rename to exampleSite/static/images/favicon.png diff --git a/images/share.webp b/exampleSite/static/images/share.webp similarity index 100% rename from images/share.webp rename to exampleSite/static/images/share.webp diff --git a/i18n/de.toml b/i18n/de.toml new file mode 100644 index 0000000..c8216d1 --- /dev/null +++ b/i18n/de.toml @@ -0,0 +1,14 @@ +[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" diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..15a8569 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,14 @@ +[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" \ No newline at end of file diff --git a/i18n/pt.toml b/i18n/pt.toml new file mode 100644 index 0000000..ad228ab --- /dev/null +++ b/i18n/pt.toml @@ -0,0 +1,14 @@ +[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" \ No newline at end of file diff --git a/images/pagespeed.webp b/images/pagespeed.webp new file mode 100644 index 0000000..fb87f05 Binary files /dev/null and b/images/pagespeed.webp differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..8d4c404 Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/social_card_bg_hu11627069391332113813.webp b/images/social_card.webp similarity index 100% rename from images/social_card_bg_hu11627069391332113813.webp rename to images/social_card.webp diff --git a/images/social_card_bg_hu11717910719685772394.webp b/images/social_card_bg_hu11717910719685772394.webp deleted file mode 100644 index 32f634a..0000000 Binary files a/images/social_card_bg_hu11717910719685772394.webp and /dev/null differ diff --git a/images/social_card_bg_hu17000553449004574108.webp b/images/social_card_bg_hu17000553449004574108.webp deleted file mode 100644 index d6c113f..0000000 Binary files a/images/social_card_bg_hu17000553449004574108.webp and /dev/null differ diff --git a/images/social_card_bg_hu17457681255443236404.webp b/images/social_card_bg_hu17457681255443236404.webp deleted file mode 100644 index d7a48fd..0000000 Binary files a/images/social_card_bg_hu17457681255443236404.webp and /dev/null differ diff --git a/images/social_card_bg_hu6996896843512675933.webp b/images/social_card_bg_hu6996896843512675933.webp deleted file mode 100644 index 2634fb1..0000000 Binary files a/images/social_card_bg_hu6996896843512675933.webp and /dev/null differ diff --git a/images/tn.png b/images/tn.png new file mode 100644 index 0000000..206e5bb Binary files /dev/null and b/images/tn.png differ diff --git a/index.html b/index.html deleted file mode 100644 index c034a81..0000000 --- a/index.html +++ /dev/null @@ -1,29 +0,0 @@ -Home | Bear Cub -
-

Bear Cub

ᕦʕ β€’α΄₯β€’Κ”α•€ 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

Let’s 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.

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 -and -accessibility -upgrades. It’s also compatible with modern -security standards, so your -users don’t have to worry about browsing your website.

Made with πŸ’Ÿ by Caio lente.

\ No newline at end of file diff --git a/index.xml b/index.xml deleted file mode 100644 index 746ba2d..0000000 --- a/index.xml +++ /dev/null @@ -1,256 +0,0 @@ -Bear Cubhttps://clente.github.io/hugo-bearcub/Recent content on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Markdown Syntax Guidehttps://clente.github.io/hugo-bearcub/blog/markdown-syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/markdown-syntax/<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>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.

-

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. -β€” Rob Pike1

-
-

Tables

-

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

- - - - - - - - - - - - - - - - - -
NameAge
Bob27
Alice23
-

Inline Markdown within tables

- - - - - - - - - - - - - - - -
ItalicsBoldCode
italicsboldcode
-

Code Blocks

-

Code block with backticks

- - - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

- - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>
-

List Types

-

Ordered List

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
-

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

-

GIF is a bitmap image format.

-

H2O

-

Xn + Yn = Zn

-

Press CTRL+ALT+Delete to end the session.

-

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

-
-
-
    -
  1. -

    The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

    -
  2. -
-
]]>
Rich Contenthttps://clente.github.io/hugo-bearcub/blog/rich-content/Sun, 10 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/rich-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>Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.

-
-

YouTube Privacy Enhanced Shortcode

- -
- -
- - -
-

Twitter Simple Shortcode

- - - - - -
-

Vimeo Simple Shortcode

-]]>
Placeholder Texthttps://clente.github.io/hugo-bearcub/blog/placeholder-text/Sat, 09 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/placeholder-text/<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>Lorem est tota propiore conpellat pectoribus de pectora summo.

-

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. -
  3. Duce pollice
  4. -
  5. Eris modo
  6. -
  7. Spargitque ferrea quos palude
  8. -
-

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. -
  3. Post torum vates letum Tiresia
  4. -
  5. Flumen querellas
  6. -
  7. Arcanaque montibus omnes
  8. -
  9. Quidem et
  10. -
-

Vagus elidunt

-

-

The 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.

]]>
Math Typesettinghttps://clente.github.io/hugo-bearcub/blog/math-typesetting/Fri, 08 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/math-typesetting/<p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

-

In this example we will be using KaTeX

-
    -
  • Create a partial under /layouts/partials/math.html
  • -
  • Within this partial reference the Auto-render Extension or host these scripts locally.
  • -
  • Include the partial in your templates like so:
  • -
- - - - - -
1{{ if or .Params.math .Site.Params.math }}
-2{{ partial "math.html" . }}
-3{{ 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

- -

Examples

- -

Block math: -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$

]]>
Emoji Supporthttps://clente.github.io/hugo-bearcub/blog/emoji-support/Tue, 05 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/emoji-support/<p>Emoji can be enabled in a Hugo project in a number of ways.</p>Emoji can be enabled in a Hugo project in a number of ways.

-

The emojify function can be called directly in templates or Inline Shortcodes.

-

To enable emoji globally, set enableEmoji to true in your site’s configuration and then you can type emoji shorthand codes directly in content files; e.g.

- -

The Emoji cheat sheet 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.

- - - - -
1.emoji {
-2  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
-3}
]]>
\ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..c6b3dfd --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,6 @@ +{{ define "title" }}404{{ end }} + +{{ define "main" }} +

404

+

Κ•γƒŽβ€’α΄₯β€’Κ”γƒŽ οΈ΅ ┻━┻

+{{ end }} diff --git a/layouts/_default/_markup/render-codeblock.html b/layouts/_default/_markup/render-codeblock.html new file mode 100644 index 0000000..6e1a075 --- /dev/null +++ b/layouts/_default/_markup/render-codeblock.html @@ -0,0 +1,6 @@ + +{{ .Page.Store.Set "hasCodeBlock" true }} + + +{{ $result := transform.HighlightCodeBlock . }} +{{ $result.Wrapped }} \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..294749a --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,54 @@ + + + + + + + + {{- partial "favicon.html" . -}} + {{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }} + + {{- partial "seo_tags.html" . -}} + + + {{ $style := print (default "original" .Site.Params.themeStyle) ".css" | resources.Get | minify }} + + + {{ if (.Page.Store.Get "hasCodeBlock") }} + {{ $syntax := resources.Get "syntax.css" | minify }} + + {{ end }} + + {{ with .Params.style }} + {{ $extra := resources.Get . | minify }} + + {{ end }} + + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + + {{- partial "custom_head.html" . -}} + + + +
+ {{- partial "header.html" . -}} +
+
+ {{- block "main" . }}{{- end }} +
+ + + + {{- partial "custom_body.html" . -}} + + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e6cc177 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,36 @@ +{{ define "main" }} + + {{ if .Data.Singular }} +

{{ i18n "filtering-for" }} "{{ .Title }}"

+ {{ end }} + + {{ if not .Data.Singular }} +
+ {{ range .Site.Taxonomies.tags }} + #{{ lower .Page.Title }} + {{ end }} +
+ {{ end }} +
+{{ end }} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml new file mode 100644 index 0000000..70d1193 --- /dev/null +++ b/layouts/_default/rss.xml @@ -0,0 +1,72 @@ +{{- /* 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 "" | safeHTML }} + + + {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + Recent content {{ if not .IsHome }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io + {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} + {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} + {{ . }}{{ end }}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{- with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{- end }} + {{- range $pages }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} + {{ .Permalink }} + {{ .Summary | transform.XMLEscape | safeHTML }} + {{ `` | safeHTML }} + + {{- end }} + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..2baecc4 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,28 @@ +{{ define "main" }} +{{ if not .Params.menu }} +

{{ .Title }}

+

+ + {{ with .Params.author }}Β· {{.}}{{ end }} +

+{{ end }} + + {{ .Content }} + +

+ {{ range (.GetTerms "tags") }} + #{{ lower .LinkTitle }} + {{ end }} +

+{{ if not .Params.hideReply }} +{{ with .Site.Params.author.email }} +

+ + {{ i18n "email-reply" }} β†ͺ + +

+{{ end }} +{{ end }} +{{ end }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..9983b08 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,3 @@ +{{ define "main" }} +{{ .Content }} +{{ end }} diff --git a/layouts/partials/custom_body.html b/layouts/partials/custom_body.html new file mode 100644 index 0000000..951fb15 --- /dev/null +++ b/layouts/partials/custom_body.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html new file mode 100644 index 0000000..4c53c40 --- /dev/null +++ b/layouts/partials/custom_head.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html new file mode 100644 index 0000000..d391a86 --- /dev/null +++ b/layouts/partials/favicon.html @@ -0,0 +1,2 @@ +{{ with .Site.Params.favicon }} +{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..9290715 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,3 @@ + + {{ .Site.Copyright }} | {{ markdownify .Site.Params.madeWith }} + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..42b5c10 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,4 @@ + + +

{{ .Site.Title }}

+ diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..53be338 --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,22 @@ +{{ range .Site.Menus.main.ByWeight }} + {{ .Name }} +{{ end }} +RSS + + +{{ $translations := dict }} +{{ range .Translations }} + {{ $translations = merge $translations (dict .Language.Lang .) }} +{{ end }} + + +{{ range where .Site.Languages "Lang" "!=" .Page.Lang }} + {{ with (index $translations .Lang) }} + {{ .Language.LanguageName }} + {{ else }} + + {{ if not .Params.hideUntranslated }} + {{ .LanguageName }} + {{ end }} + {{ end }} +{{ end }} diff --git a/layouts/partials/seo_tags.html b/layouts/partials/seo_tags.html new file mode 100644 index 0000000..6ab1422 --- /dev/null +++ b/layouts/partials/seo_tags.html @@ -0,0 +1,22 @@ + + + + + + + + + + +{{ if and (and (default false .Site.Params.generateSocialCard) (not (isset .Params "images"))) (eq .Kind "page") }} + {{ partial "social_card.html" . }} +{{ else }} + + {{ template "_internal/opengraph.html" . }} + + + {{ template "_internal/twitter_cards.html" . }} + + + {{ template "_internal/schema.html" . }} +{{ end }} diff --git a/layouts/partials/social_card.html b/layouts/partials/social_card.html new file mode 100644 index 0000000..d171da0 --- /dev/null +++ b/layouts/partials/social_card.html @@ -0,0 +1,136 @@ + +{{ $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" }} + + + + + + + + + + +{{- if .IsPage }} +{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} + +{{ with .PublishDate }}{{ end }} +{{ with .Lastmod }}{{ end }} +{{- end -}} + +{{- with .Params.audio }}{{ end }} +{{- with .Params.locale }}{{ end }} +{{- with .Site.Params.title }}{{ end }} +{{- with .Params.videos }}{{- range . }} + +{{ 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 }}{{ 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 }}{{ 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 }} + +{{- end }} + + + + + + +{{- if .IsPage -}} +{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} +{{ with .PublishDate }}{{ end}} +{{ with .Lastmod }}{{ end}} + + + + + + +{{- end -}} diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..4f4ca44 --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Allow: / +Sitemap: {{ "sitemap.xml" | absURL }} diff --git a/layouts/shortcodes/absfigure.html b/layouts/shortcodes/absfigure.html new file mode 100644 index 0000000..ad60c6c --- /dev/null +++ b/layouts/shortcodes/absfigure.html @@ -0,0 +1,29 @@ + + {{- if .Get "link" -}} + + {{- end -}} + {{ with .Get + {{- if .Get "link" }}{{ end -}} + {{- if or (or (.Get "title") (.Get "caption")) (.Get "attr") -}} +
+ {{ with (.Get "title") -}} +

{{ . }}

+ {{- end -}} + {{- if or (.Get "caption") (.Get "attr") -}}

+ {{- .Get "caption" | markdownify -}} + {{- with .Get "attrlink" }} + + {{- end -}} + {{- .Get "attr" | markdownify -}} + {{- if .Get "attrlink" }}{{ end }}

+ {{- end }} +
+ {{- end }} + \ No newline at end of file diff --git a/layouts/shortcodes/highlight.html b/layouts/shortcodes/highlight.html new file mode 100644 index 0000000..6c86ca8 --- /dev/null +++ b/layouts/shortcodes/highlight.html @@ -0,0 +1,5 @@ + +{{ .Page.Store.Set "hasCodeBlock" true }} + + +{{ if len .Params | eq 2 }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) (.Get 1) }}{{ else }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) "" }}{{ end }} \ No newline at end of file diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..520ec17 --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1,2 @@ + +{{.Inner}} \ No newline at end of file diff --git a/original.min.css b/original.min.css deleted file mode 100644 index e568de2..0000000 --- a/original.min.css +++ /dev/null @@ -1 +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}.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} \ No newline at end of file diff --git a/pt/404.html b/pt/404.html deleted file mode 100644 index 8ad9c75..0000000 --- a/pt/404.html +++ /dev/null @@ -1,6 +0,0 @@ -404 -
-

Bear Cub

404

Κ•γƒŽβ€’α΄₯β€’Κ”γƒŽ οΈ΅ ┻━┻

\ No newline at end of file diff --git a/pt/blog/index.html b/pt/blog/index.html deleted file mode 100644 index f8679de..0000000 --- a/pt/blog/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Blog | Bear Cub -
-

Bear Cub

  • Nenhum post ainda
\ No newline at end of file diff --git a/pt/blog/index.xml b/pt/blog/index.xml deleted file mode 100644 index 9e15ad0..0000000 --- a/pt/blog/index.xml +++ /dev/null @@ -1 +0,0 @@ -Blog on Bear Cubhttps://clente.github.io/hugo-bearcub/pt/blog/Recent content in Blog on Bear CubHugo -- gohugo.iopt-BRme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0) \ No newline at end of file diff --git a/pt/categories/index.html b/pt/categories/index.html deleted file mode 100644 index 76709a6..0000000 --- a/pt/categories/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Categories | Bear Cub -
-

Bear Cub

Filtrando para "Categories"

  • Nenhum post ainda
\ No newline at end of file diff --git a/pt/categories/index.xml b/pt/categories/index.xml deleted file mode 100644 index 3194451..0000000 --- a/pt/categories/index.xml +++ /dev/null @@ -1 +0,0 @@ -Categories on Bear Cubhttps://clente.github.io/hugo-bearcub/pt/categories/Recent content in Categories on Bear CubHugo -- gohugo.iopt-BRme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0) \ No newline at end of file diff --git a/pt/index.html b/pt/index.html deleted file mode 100644 index 1d0cc5e..0000000 --- a/pt/index.html +++ /dev/null @@ -1,29 +0,0 @@ -InΓ­cio | Bear Cub -
-

Bear Cub

ᕦʕ β€’α΄₯β€’Κ”α•€ 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.

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 -e -acessibilidade. -Ele tambΓ©m Γ© compatΓ­vel com as prΓ‘ticas mais modernas de -seguranΓ§a para que seus -usuΓ‘rios possam aproveitar seu site sem medo.

Feito com πŸ’Ÿ por Caio lente.

\ No newline at end of file diff --git a/pt/index.xml b/pt/index.xml deleted file mode 100644 index 30ef0d5..0000000 --- a/pt/index.xml +++ /dev/null @@ -1 +0,0 @@ -Bear Cubhttps://clente.github.io/hugo-bearcub/pt/Recent content on Bear CubHugo -- gohugo.iopt-BRme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0) \ No newline at end of file diff --git a/pt/sitemap.xml b/pt/sitemap.xml deleted file mode 100644 index 849898a..0000000 --- a/pt/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://clente.github.io/hugo-bearcub/pt/https://clente.github.io/hugo-bearcub/pt/blog/https://clente.github.io/hugo-bearcub/pt/categories/https://clente.github.io/hugo-bearcub/pt/tags/ \ No newline at end of file diff --git a/pt/tags/index.html b/pt/tags/index.html deleted file mode 100644 index a65b06b..0000000 --- a/pt/tags/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Tags | Bear Cub -
-

Bear Cub

Filtrando para "Tags"

  • Nenhum post ainda
\ No newline at end of file diff --git a/pt/tags/index.xml b/pt/tags/index.xml deleted file mode 100644 index ff3fdf8..0000000 --- a/pt/tags/index.xml +++ /dev/null @@ -1 +0,0 @@ -Tags on Bear Cubhttps://clente.github.io/hugo-bearcub/pt/tags/Recent content in Tags on Bear CubHugo -- gohugo.iopt-BRme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0) \ No newline at end of file diff --git a/robots.txt b/robots.txt deleted file mode 100644 index 4076b0d..0000000 --- a/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -User-agent: * -Allow: / -Sitemap: https://clente.github.io/hugo-bearcub/sitemap.xml diff --git a/sitemap.xml b/sitemap.xml deleted file mode 100644 index 6020f56..0000000 --- a/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://clente.github.io/hugo-bearcub/en/sitemap.xml2019-03-11T00:00:00+00:00https://clente.github.io/hugo-bearcub/pt/sitemap.xml \ No newline at end of file diff --git a/syntax.min.css b/syntax.min.css deleted file mode 100644 index d50e07d..0000000 --- a/syntax.min.css +++ /dev/null @@ -1 +0,0 @@ -.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} \ No newline at end of file diff --git a/tags/css/index.html b/tags/css/index.html deleted file mode 100644 index 182c253..0000000 --- a/tags/css/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Css | Bear Cub -
-

Bear Cub

Filtering for "Css"

\ No newline at end of file diff --git a/tags/css/index.xml b/tags/css/index.xml deleted file mode 100644 index b0decc7..0000000 --- a/tags/css/index.xml +++ /dev/null @@ -1,147 +0,0 @@ -Css on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/css/Recent content in Css on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Markdown Syntax Guidehttps://clente.github.io/hugo-bearcub/blog/markdown-syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/markdown-syntax/<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>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.

-

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. -β€” Rob Pike1

-
-

Tables

-

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

- - - - - - - - - - - - - - - - - -
NameAge
Bob27
Alice23
-

Inline Markdown within tables

- - - - - - - - - - - - - - - -
ItalicsBoldCode
italicsboldcode
-

Code Blocks

-

Code block with backticks

- - - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

- - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>
-

List Types

-

Ordered List

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
-

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

-

GIF is a bitmap image format.

-

H2O

-

Xn + Yn = Zn

-

Press CTRL+ALT+Delete to end the session.

-

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

-
-
-
    -
  1. -

    The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

    -
  2. -
-
]]>
\ No newline at end of file diff --git a/tags/emoji/index.html b/tags/emoji/index.html deleted file mode 100644 index 6bb35f0..0000000 --- a/tags/emoji/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Emoji | Bear Cub -
-

Bear Cub

Filtering for "Emoji"

\ No newline at end of file diff --git a/tags/emoji/index.xml b/tags/emoji/index.xml deleted file mode 100644 index 7524788..0000000 --- a/tags/emoji/index.xml +++ /dev/null @@ -1,14 +0,0 @@ -Emoji on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/emoji/Recent content in Emoji on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Tue, 05 Mar 2019 00:00:00 +0000Emoji Supporthttps://clente.github.io/hugo-bearcub/blog/emoji-support/Tue, 05 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/emoji-support/<p>Emoji can be enabled in a Hugo project in a number of ways.</p>Emoji can be enabled in a Hugo project in a number of ways.

-

The emojify function can be called directly in templates or Inline Shortcodes.

-

To enable emoji globally, set enableEmoji to true in your site’s configuration and then you can type emoji shorthand codes directly in content files; e.g.

- -

The Emoji cheat sheet 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.

- - - - -
1.emoji {
-2  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
-3}
]]>
\ No newline at end of file diff --git a/tags/html/index.html b/tags/html/index.html deleted file mode 100644 index 1292669..0000000 --- a/tags/html/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Html | Bear Cub -
-

Bear Cub

Filtering for "Html"

\ No newline at end of file diff --git a/tags/html/index.xml b/tags/html/index.xml deleted file mode 100644 index 578b432..0000000 --- a/tags/html/index.xml +++ /dev/null @@ -1,147 +0,0 @@ -Html on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/html/Recent content in Html on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Markdown Syntax Guidehttps://clente.github.io/hugo-bearcub/blog/markdown-syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/markdown-syntax/<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>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.

-

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. -β€” Rob Pike1

-
-

Tables

-

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

- - - - - - - - - - - - - - - - - -
NameAge
Bob27
Alice23
-

Inline Markdown within tables

- - - - - - - - - - - - - - - -
ItalicsBoldCode
italicsboldcode
-

Code Blocks

-

Code block with backticks

- - - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

- - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>
-

List Types

-

Ordered List

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
-

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

-

GIF is a bitmap image format.

-

H2O

-

Xn + Yn = Zn

-

Press CTRL+ALT+Delete to end the session.

-

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

-
-
-
    -
  1. -

    The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

    -
  2. -
-
]]>
\ No newline at end of file diff --git a/tags/index.html b/tags/index.html deleted file mode 100644 index 5fa14b2..0000000 --- a/tags/index.html +++ /dev/null @@ -1,13 +0,0 @@ -Tags | Bear Cub -
-

Bear Cub

Filtering for "Tags"

\ No newline at end of file diff --git a/tags/index.xml b/tags/index.xml deleted file mode 100644 index e41408b..0000000 --- a/tags/index.xml +++ /dev/null @@ -1 +0,0 @@ -Tags on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/Recent content in Tags on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Csshttps://clente.github.io/hugo-bearcub/tags/css/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/tags/css/Htmlhttps://clente.github.io/hugo-bearcub/tags/html/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/tags/html/Markdownhttps://clente.github.io/hugo-bearcub/tags/markdown/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/tags/markdown/Privacyhttps://clente.github.io/hugo-bearcub/tags/privacy/Sun, 10 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/tags/privacy/Shortcodeshttps://clente.github.io/hugo-bearcub/tags/shortcodes/Sun, 10 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/tags/shortcodes/Texthttps://clente.github.io/hugo-bearcub/tags/text/Sat, 09 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/tags/text/Emojihttps://clente.github.io/hugo-bearcub/tags/emoji/Tue, 05 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/tags/emoji/ \ No newline at end of file diff --git a/tags/markdown/index.html b/tags/markdown/index.html deleted file mode 100644 index 70c8ab1..0000000 --- a/tags/markdown/index.html +++ /dev/null @@ -1,8 +0,0 @@ -Markdown | Bear Cub -
-

Bear Cub

Filtering for "Markdown"

\ No newline at end of file diff --git a/tags/markdown/index.xml b/tags/markdown/index.xml deleted file mode 100644 index e6385c6..0000000 --- a/tags/markdown/index.xml +++ /dev/null @@ -1,169 +0,0 @@ -Markdown on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/markdown/Recent content in Markdown on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Mon, 11 Mar 2019 00:00:00 +0000Markdown Syntax Guidehttps://clente.github.io/hugo-bearcub/blog/markdown-syntax/Mon, 11 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/markdown-syntax/<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>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.

-

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. -β€” Rob Pike1

-
-

Tables

-

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

- - - - - - - - - - - - - - - - - -
NameAge
Bob27
Alice23
-

Inline Markdown within tables

- - - - - - - - - - - - - - - -
ItalicsBoldCode
italicsboldcode
-

Code Blocks

-

Code block with backticks

- - - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</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

- - - - -
 1<!doctype html>
- 2<html lang="en">
- 3<head>
- 4  <meta charset="utf-8">
- 5  <title>Example HTML5 Document</title>
- 6</head>
- 7<body>
- 8  <p>Test</p>
- 9</body>
-10</html>
-

List Types

-

Ordered List

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
-

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

-

GIF is a bitmap image format.

-

H2O

-

Xn + Yn = Zn

-

Press CTRL+ALT+Delete to end the session.

-

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

-
-
-
    -
  1. -

    The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

    -
  2. -
-
]]>
Placeholder Texthttps://clente.github.io/hugo-bearcub/blog/placeholder-text/Sat, 09 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/placeholder-text/<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>Lorem est tota propiore conpellat pectoribus de pectora summo.

-

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. -
  3. Duce pollice
  4. -
  5. Eris modo
  6. -
  7. Spargitque ferrea quos palude
  8. -
-

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. -
  3. Post torum vates letum Tiresia
  4. -
  5. Flumen querellas
  6. -
  7. Arcanaque montibus omnes
  8. -
  9. Quidem et
  10. -
-

Vagus elidunt

-

-

The 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.

]]>
\ No newline at end of file diff --git a/tags/privacy/index.html b/tags/privacy/index.html deleted file mode 100644 index db8f356..0000000 --- a/tags/privacy/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Privacy | Bear Cub -
-

Bear Cub

Filtering for "Privacy"

\ No newline at end of file diff --git a/tags/privacy/index.xml b/tags/privacy/index.xml deleted file mode 100644 index 3d46504..0000000 --- a/tags/privacy/index.xml +++ /dev/null @@ -1,50 +0,0 @@ -Privacy on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/privacy/Recent content in Privacy on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Sun, 10 Mar 2019 00:00:00 +0000Rich Contenthttps://clente.github.io/hugo-bearcub/blog/rich-content/Sun, 10 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/rich-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>Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.

-
-

YouTube Privacy Enhanced Shortcode

- -
- -
- - -
-

Twitter Simple Shortcode

- - - - - -
-

Vimeo Simple Shortcode

-]]>
\ No newline at end of file diff --git a/tags/shortcodes/index.html b/tags/shortcodes/index.html deleted file mode 100644 index 68d6cd3..0000000 --- a/tags/shortcodes/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Shortcodes | Bear Cub -
-

Bear Cub

Filtering for "Shortcodes"

\ No newline at end of file diff --git a/tags/shortcodes/index.xml b/tags/shortcodes/index.xml deleted file mode 100644 index aec42bb..0000000 --- a/tags/shortcodes/index.xml +++ /dev/null @@ -1,50 +0,0 @@ -Shortcodes on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/shortcodes/Recent content in Shortcodes on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Sun, 10 Mar 2019 00:00:00 +0000Rich Contenthttps://clente.github.io/hugo-bearcub/blog/rich-content/Sun, 10 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/rich-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>Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.

-
-

YouTube Privacy Enhanced Shortcode

- -
- -
- - -
-

Twitter Simple Shortcode

- - - - - -
-

Vimeo Simple Shortcode

-]]>
\ No newline at end of file diff --git a/tags/text/index.html b/tags/text/index.html deleted file mode 100644 index 35fc159..0000000 --- a/tags/text/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Text | Bear Cub -
-

Bear Cub

Filtering for "Text"

\ No newline at end of file diff --git a/tags/text/index.xml b/tags/text/index.xml deleted file mode 100644 index 3363820..0000000 --- a/tags/text/index.xml +++ /dev/null @@ -1,23 +0,0 @@ -Text on Bear Cubhttps://clente.github.io/hugo-bearcub/tags/text/Recent content in Text on Bear CubHugo -- gohugo.ioen-USme@example.com (John Doe)me@example.com (John Doe)John Doe (CC BY 4.0)Sat, 09 Mar 2019 00:00:00 +0000Placeholder Texthttps://clente.github.io/hugo-bearcub/blog/placeholder-text/Sat, 09 Mar 2019 00:00:00 +0000me@example.com (John Doe)https://clente.github.io/hugo-bearcub/blog/placeholder-text/<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>Lorem est tota propiore conpellat pectoribus de pectora summo.

-

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. -
  3. Duce pollice
  4. -
  5. Eris modo
  6. -
  7. Spargitque ferrea quos palude
  8. -
-

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. -
  3. Post torum vates letum Tiresia
  4. -
  5. Flumen querellas
  6. -
  7. Arcanaque montibus omnes
  8. -
  9. Quidem et
  10. -
-

Vagus elidunt

-

-

The 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.

]]>
\ No newline at end of file diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..602a351 --- /dev/null +++ b/theme.toml @@ -0,0 +1,29 @@ +name = "Bear Cub" +license = "MIT" +licenselink = "https://github.com/clente/hugo-bearcub/blob/master/LICENSE" +description = "A lightweight Hugo theme based on Bear Blog and Hugo Bear Blog. It is free, multilingual, optimized for search engines, no-nonsense, responsive, light, and fast. Really fast." + +# The home page of the theme, where the source can be found. +homepage = "https://github.com/clente/hugo-bearcub" + +# If you have a running demo of the theme. +demosite = "https://clente.github.io/hugo-bearcub" + +tags = ["blog", "responsive", "minimal", "personal", "dark", "multilingual"] +features = ["favicon", "seo", "no javascript", "rss", "social cards"] + +# If the theme has a single author +[author] + name = "Caio Lente" + homepage = "https://lente.dev" + +# If porting an existing theme +[original] + author = "Jan Raasch" + homepage = "https://www.janraasch.com" + repo = "https://github.com/janraasch/hugo-bearblog" + +# Hugo versions the theme supports +[module] + [module.hugoVersion] + min = "0.90"