2023_07_26_1690415496
This commit is contained in:
commit
06dd1e6178
|
@ -0,0 +1,3 @@
|
|||
*.swp
|
||||
*config.toml*
|
||||
*000_Rev-Pro*
|
|
@ -0,0 +1,36 @@
|
|||
version: '3.3'
|
||||
|
||||
services:
|
||||
# whoami:
|
||||
# container_name: whoami
|
||||
# image: 'containous/whoami'
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - '80'
|
||||
|
||||
rev-pro:
|
||||
image: linuxserver/nginx:latest
|
||||
container_name: rev-pro
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
volumes:
|
||||
- ./000_Rev-Pro/Data:/config
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
# - 880:880 # whoami
|
||||
# - 1313:1313 # whoami
|
||||
# - 881:881 # whoami
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
gohugo:
|
||||
image: klakegg/hugo:0.101.0
|
||||
command: server --disableFastRender --watch=true
|
||||
volumes:
|
||||
- "./gohugo/Data:/src"
|
||||
ports:
|
||||
- 127.0.0.1:1313:1313
|
||||
restart: unless-stopped
|
|
@ -0,0 +1,57 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
title = "Emoji Support"
|
||||
date = "2023-07-08"
|
||||
description = "Guide to emoji usage in Hugo"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"emoji",
|
||||
]
|
||||
categories = [
|
||||
"syntax",
|
||||
"theme demo",
|
||||
]
|
||||
series = ["Theme Demo"]
|
||||
+++
|
||||
|
||||
Emoji can be enabled in a Hugo project in a number of ways.
|
||||
|
||||
<!--more-->
|
||||
|
||||
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
|
||||
|
||||
To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
|
||||
|
||||
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p>
|
||||
<br>
|
||||
|
||||
The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
|
||||
|
||||
---
|
||||
|
||||
**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
|
||||
|
||||
{{< highlight html >}}
|
||||
.emoji {
|
||||
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
}
|
||||
{{< /highlight >}}
|
||||
|
||||
{{< css.inline >}}
|
||||
|
||||
<style>
|
||||
.emojify {
|
||||
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
font-size: 2rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
@media screen and (max-width:650px) {
|
||||
.nowrap {
|
||||
display: block;
|
||||
margin: 25px 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
{{< /css.inline >}}
|
|
@ -0,0 +1,10 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
date = "2023-07-06"
|
||||
title = "External Page: Hugo Coder Wiki"
|
||||
slug = "hugo-coder-wiki"
|
||||
tags = [
|
||||
"hugo"
|
||||
]
|
||||
externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
|
||||
+++
|
|
@ -0,0 +1,134 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
title = "HTML and CSS only tabs"
|
||||
date = "2023-07-09"
|
||||
description = "Sample article showcasing shortcodes for HTML/CSS only tabs"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"theme demo",
|
||||
"syntax",
|
||||
]
|
||||
series = ["Theme Demo"]
|
||||
aliases = ["migrate-from-jekyl"]
|
||||
+++
|
||||
|
||||
## Shortcodes
|
||||
|
||||
The following content:
|
||||
|
||||
```markdown
|
||||
{{</* tabgroup */>}}
|
||||
{{</* tab name="Hello" */>}}
|
||||
Hello World!
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab name="Goodbye" */>}}
|
||||
Goodbye Everybody!
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
```
|
||||
|
||||
Will generate:
|
||||
|
||||
{{< tabgroup >}}
|
||||
{{< tab name="Hello" >}}
|
||||
Hello World!
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab name="Goodbye" >}}
|
||||
Goodbye Everybody!
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
## Right alighment
|
||||
|
||||
You can also align the tabs to the right:
|
||||
|
||||
```markdown
|
||||
{{</* tabgroup align="right" */>}}
|
||||
{{</* tab name="Hello" */>}}
|
||||
Hello World!
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab name="Goodbye" */>}}
|
||||
Goodbye Everybody!
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
```
|
||||
|
||||
Giving you this look:
|
||||
|
||||
{{< tabgroup align="right" >}}
|
||||
{{< tab name="Hello" >}}
|
||||
Hello World!
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab name="Goodbye" >}}
|
||||
Goodbye Everybody!
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
## Markdown content
|
||||
|
||||
Any valid markdown can be used inside the tab:
|
||||
|
||||
````markdown
|
||||
{{</* tabgroup align="right" style="code" */>}}
|
||||
{{</* tab name="Ruby" */>}}
|
||||
|
||||
```ruby
|
||||
puts 'Hello'
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* tab name="Python" */>}}
|
||||
|
||||
```python
|
||||
print('Hello')
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* tab name="JavaScript" */>}}
|
||||
|
||||
```js
|
||||
console.log("Hello");
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
````
|
||||
|
||||
And you get this lovely content:
|
||||
|
||||
{{< tabgroup align="right" style="code" >}}
|
||||
{{< tab name="Ruby" >}}
|
||||
|
||||
```ruby
|
||||
puts 'Hello'
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< tab name="Python" >}}
|
||||
|
||||
```python
|
||||
print('Hello')
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< tab name="JavaScript" >}}
|
||||
|
||||
```js
|
||||
console.log("Hello");
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
In this case `style="code"` makes it look a little nicer for scenarios where
|
||||
your content is purely a code block.
|
|
@ -0,0 +1,168 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
title = "Markdown Syntax Guide"
|
||||
date = "2023-07-13"
|
||||
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"theme demo",
|
||||
"syntax",
|
||||
]
|
||||
series = ["Theme Demo"]
|
||||
aliases = ["migrate-from-jekyl"]
|
||||
+++
|
||||
|
||||
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Headings
|
||||
|
||||
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
||||
|
||||
# H1
|
||||
|
||||
## H2
|
||||
|
||||
### H3
|
||||
|
||||
#### H4
|
||||
|
||||
##### H5
|
||||
|
||||
###### H6
|
||||
|
||||
## Paragraph
|
||||
|
||||
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
||||
|
||||
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
||||
|
||||
## Links
|
||||
|
||||
This is a [internal link](/posts/emoji-support) to another page. [This one](https://www.gohugo.io) points to a external page nad will be open in a new tag.
|
||||
|
||||
## Blockquotes
|
||||
|
||||
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||
|
||||
#### Blockquote without attribution
|
||||
|
||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
> **Note** that you can use _Markdown syntax_ within a blockquote.
|
||||
|
||||
#### Blockquote with attribution
|
||||
|
||||
> Don't communicate by sharing memory, share memory by communicating.<br>
|
||||
> — <cite>Rob Pike[^1]</cite>
|
||||
|
||||
## Tables
|
||||
|
||||
Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box.
|
||||
|
||||
| Name | Age |
|
||||
| ----- | --- |
|
||||
| Bob | 27 |
|
||||
| Alice | 23 |
|
||||
|
||||
#### Inline Markdown within tables
|
||||
|
||||
| Italics | Bold | Code |
|
||||
| --------- | -------- | ------ |
|
||||
| _italics_ | **bold** | `code` |
|
||||
|
||||
## Code Blocks
|
||||
|
||||
#### Code block with backticks
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
#### Code block indented with four spaces
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
#### Code block with Hugo's internal highlight shortcode
|
||||
|
||||
{{< highlight html >}}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
{{< /highlight >}}
|
||||
|
||||
## List Types
|
||||
|
||||
#### Ordered List
|
||||
|
||||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
|
||||
#### Unordered List
|
||||
|
||||
- List item
|
||||
- Another item
|
||||
- And another item
|
||||
|
||||
#### Nested list
|
||||
|
||||
- Fruit
|
||||
- Apple
|
||||
- Orange
|
||||
- Banana
|
||||
- Dairy
|
||||
- Milk
|
||||
- Cheese
|
||||
|
||||
#### Foot Notes
|
||||
|
||||
Check it[^2] at the end[^3] of this text[^4].
|
||||
|
||||
## Other Elements — abbr, sub, sup, kbd, mark
|
||||
|
||||
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
|
||||
|
||||
H<sub>2</sub>O
|
||||
|
||||
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
|
||||
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
||||
|
||||
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
||||
|
||||
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||
[^2]: A footnote.
|
||||
[^3]: Another one.
|
||||
[^4]: Cool, right?
|
|
@ -0,0 +1,64 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
title = "Math Typesetting"
|
||||
date = "2023-07-10"
|
||||
description = "A brief guide to setup KaTeX"
|
||||
math = true
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"theme demo",
|
||||
"syntax",
|
||||
]
|
||||
series = ["Theme Demo"]
|
||||
+++
|
||||
|
||||
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
|
||||
|
||||
<!--more-->
|
||||
|
||||
In this example we will be using [KaTeX](https://katex.org/)
|
||||
|
||||
- Create a partial under `/layouts/partials/math.html`
|
||||
- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
|
||||
- Include the partial in your templates like so:
|
||||
|
||||
```bash
|
||||
{{ if or .Params.math .Site.Params.math }}
|
||||
{{ partial "math.html" . }}
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
- To enable KaTex globally set the parameter `math` to `true` in a project's configuration
|
||||
- To enable KaTex on a per page basis include the parameter `math: true` in content files
|
||||
|
||||
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
|
||||
|
||||
{{< math.inline >}}
|
||||
{{ if or .Page.Params.math .Site.Params.math }}
|
||||
|
||||
<!-- KaTeX -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
|
||||
{{ end }}
|
||||
{{</ math.inline >}}
|
||||
|
||||
### Examples
|
||||
|
||||
{{< math.inline >}}
|
||||
|
||||
<p>
|
||||
Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
|
||||
</p>
|
||||
{{</ math.inline >}}
|
||||
|
||||
Block math:
|
||||
|
||||
$$
|
||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||
$$
|
|
@ -0,0 +1,43 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
date = "2023-07-08"
|
||||
title = "Mermaid JS support"
|
||||
description = "The post demonstrates Mermaid JS support"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"theme demo",
|
||||
"syntax",
|
||||
]
|
||||
series = ["Theme Demo"]
|
||||
+++
|
||||
|
||||
If you want to use [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) on your website.
|
||||
Provide `mermaid` as [Shortcode](https://gohugo.io/content-management/shortcodes/#readout) in your markdown file.
|
||||
|
||||
{{<mermaid>}}
|
||||
flowchart LR
|
||||
|
||||
A --> B
|
||||
|
||||
B --> C
|
||||
|
||||
C --> D
|
||||
|
||||
D --> B
|
||||
|
||||
{{</mermaid>}}
|
||||
|
||||
{{<mermaid>}}
|
||||
sequenceDiagram
|
||||
participant Alice
|
||||
participant Bob
|
||||
Alice->>Bob: Hi Bob
|
||||
Bob->>Alice: Hi Alice
|
||||
{{</mermaid>}}
|
||||
|
||||
Find more example on [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) website.
|
|
@ -0,0 +1,52 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
title = "More Rich Content"
|
||||
date = "2023-07-11"
|
||||
description = "A brief description about Hugo Coder's Custom Shortcodes"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"theme demo",
|
||||
"syntax",
|
||||
]
|
||||
series = ["Theme Demo"]
|
||||
+++
|
||||
|
||||
Hugo Coder provides some Custom Shortcodes.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## Shortcodes Avisos
|
||||
|
||||
{{< notice note >}}
|
||||
One note here.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice tip >}}
|
||||
I'm giving a tip about something.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice example >}}
|
||||
This is an example.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice question >}}
|
||||
Is this a question?
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice info >}}
|
||||
Notice that this box contain information.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice warning >}}
|
||||
This is the last warning!
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice error >}}
|
||||
There is an error in your code.
|
||||
{{< /notice >}}
|
|
@ -0,0 +1,47 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
title = "Placeholder Text"
|
||||
date = "2023-07-06"
|
||||
description = "Lorem Ipsum Dolor Si Amet"
|
||||
tags = [
|
||||
"markdown",
|
||||
"text",
|
||||
]
|
||||
+++
|
||||
|
||||
Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
|
||||
|
||||
1. Exierant elisi ambit vivere dedere
|
||||
2. Duce pollice
|
||||
3. Eris modo
|
||||
4. Spargitque ferrea quos palude
|
||||
|
||||
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
|
||||
|
||||
1. Comas hunc haec pietate fetum procerum dixit
|
||||
2. Post torum vates letum Tiresia
|
||||
3. Flumen querellas
|
||||
4. Arcanaque montibus omnes
|
||||
5. Quidem et
|
||||
|
||||
# Vagus elidunt
|
||||
|
||||
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
||||
|
||||
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
||||
|
||||
## Mane refeci capiebant unda mulcebat
|
||||
|
||||
Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
|
||||
|
||||
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
|
||||
|
||||
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
|
||||
|
||||
{{< css.inline >}}
|
||||
|
||||
<style>
|
||||
.canon { background: white; width: 100%; height: auto; }
|
||||
</style>
|
||||
|
||||
{{< /css.inline >}}
|
|
@ -0,0 +1,42 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
title = "Rich Content"
|
||||
date = "2023-07-12"
|
||||
description = "A brief description of Hugo Shortcodes"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"theme demo",
|
||||
"syntax",
|
||||
]
|
||||
series = ["Theme Demo"]
|
||||
+++
|
||||
|
||||
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## YouTube Privacy Enhanced Shortcode
|
||||
|
||||
{{< youtube ZJthWmvUzzc >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Twitter Shortcode
|
||||
|
||||
{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Vimeo Simple Shortcode
|
||||
|
||||
{{< vimeo_simple 48912912 >}}
|
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
draft = false
|
||||
date = 2023-01-05T01:15:29+01:00
|
||||
title = "Authors of Hugo"
|
||||
+++
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
draft = false
|
||||
date = 2023-01-05T01:15:52+01:00
|
||||
title = "Autores de Hugo"
|
||||
url = "autores/autores-de-hugo"
|
||||
+++
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
draft = false
|
||||
date = 2023-01-04T23:21:06+01:00
|
||||
title = "sintaxe"
|
||||
url = "categoria/sintaxe"
|
||||
+++
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
draft = false
|
||||
date = 2023-01-04T23:21:18+01:00
|
||||
title = "temas"
|
||||
url = "categoria/temas"
|
||||
+++
|
|
@ -0,0 +1,9 @@
|
|||
+++
|
||||
title = "About"
|
||||
description = "A simple gateway"
|
||||
date = "2023-07-15"
|
||||
aliases = ["about-us", "about", "contact"]
|
||||
author = "Hugo Authors"
|
||||
+++
|
||||
|
||||
This site is mainly a bridge between the `f9dd5c7f9bfffd26a394ad3fb8c6ed8c intranet` and the public facing portion
|
|
@ -0,0 +1,38 @@
|
|||
+++
|
||||
title = "Contact"
|
||||
slug = "contact"
|
||||
+++
|
||||
|
||||
```
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
```
|
||||
Email: `729f1f632c02572c32b4c2ffe9c1b270fc3ebc14bafd07efa35deb44615c3fba`
|
||||
<br>
|
||||
Gravatar: *Same as Email*
|
||||
<br>
|
||||
Libravatar: *Same as Email*
|
||||
<br>
|
||||
Keyoxide: <a href="https://keyoxide.org/FA2DA6EAA6CC7AF61677C3358EFCECC37D158890">FA2DA6EAA6CC7AF61677C3358EFCECC37D158890</a>
|
||||
<br>
|
||||
GPG Key: <a href="https://keys.openpgp.org/search?q=FA2DA6EAA6CC7AF61677C3358EFCECC37D158890">FA2DA6EAA6CC7AF61677C3358EFCECC37D158890</a>
|
||||
<br>
|
||||
GIT: <a href="https://git.disroot.org/MonoChromeTint">https://git.disroot.org/MonoChromeTint</a>
|
||||
<br>
|
||||
KeyBase: MonoChromeTint
|
||||
```
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQGzBAEBCAAdFiEE+i2m6qbMevYWd8M1jvzsw30ViJAFAmS8x4EACgkQjvzsw30V
|
||||
iJBNcwwAg4EY/2af4iUYAlru5xmS/RwZ9QWZqUg8Qv95xFOR47QPhMspHJOvk0Eb
|
||||
9e64smpbdcVxjf4K6O4QacFsFJB4GCkTqahJmM5E/06ANckyZshb4Ap+hw92WSBq
|
||||
xbeIN4+XExnx8mQtl4fanacKeEdxBH7lxTmBFkTeZcTtup1UDvjg4xldEXSmWE5u
|
||||
+2u68M//gviL8RLouW2Qk8ISjke9Eas82qaqF+4f1HL2x5AXMffg6YejX4N2+P+u
|
||||
IG+3qA5GnKPol9sOFMQJW6vIgALIzJ4Nt1w4CJ/GAsCHR7V2cEdjy60jC+JqY2ul
|
||||
9CklEUID0MqswocmPKoj6v7xBL8Kf7ldSUyBn3+qou9/MOSED5NJmuveo1sAmxcH
|
||||
izKTKevv9pDDPyGqMhi9OHtHsL046ZZHXbHT+EN6AUpwcGinbEDNjQEIf4sXjU9I
|
||||
OviPo93IeYkuNMsa1ZtS4Fw5aH2mp4jIPe3nFyY/l8Iipo0NjSKZCmHC7USOA7ms
|
||||
/WfTENUR
|
||||
=mQg9
|
||||
-----END PGP SIGNATURE-----
|
||||
```
|
|
@ -0,0 +1,41 @@
|
|||
+++
|
||||
authors = ["MonoChromeTint"]
|
||||
title = "Site Analytics"
|
||||
date = "2023-07-19"
|
||||
description = "Site Analytics"
|
||||
tags = [
|
||||
"analytics",
|
||||
"python",
|
||||
"docker",
|
||||
"json",
|
||||
"nginx",
|
||||
"logging",
|
||||
]
|
||||
+++
|
||||
|
||||
The <a href="https://ezdubz.org/post/plot.html">analytics</a> of this site
|
||||
|
||||
|
||||
More information about the process/code can be found at <a href="https://git.disroot.org/MonoChromeTint/docker-containers">https://git.disroot.org/MonoChromeTint/docker-containers</a>
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Basic breakdown
|
||||
### Nginx
|
||||
* The logs from nginx (reverse proxy) are written to a file in a json format
|
||||
|
||||
### Exporting
|
||||
* In my case, I use scp to copy the logs to a different machine
|
||||
|
||||
### Docker
|
||||
* Every thirty minutes, the docker container (from the git repo) builds the html from the logs.
|
||||
* The html is then outputted to an easily retreivable location
|
||||
|
||||
### Importing
|
||||
* The html is then imported to the site via a script (in the repo)
|
||||
|
||||
---
|
||||
<iframe src="/post/plot.html" width="100%" height="%75"></iframe>
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
+++
|
||||
authors = ["MonoChromeTint"]
|
||||
title = "Custom DNS"
|
||||
date = "2023-07-26"
|
||||
description = "Setting up a custom DNS server with Docker"
|
||||
tags = [
|
||||
"docker",
|
||||
"dns",
|
||||
"technitium",
|
||||
]
|
||||
+++
|
|
@ -0,0 +1,30 @@
|
|||
+++
|
||||
authors = ["MonoChromeTint"]
|
||||
title = "General Repo"
|
||||
date = "2022-08-29"
|
||||
description = ""
|
||||
tags = [
|
||||
"git",
|
||||
"general",
|
||||
"repo",
|
||||
"checklist",
|
||||
"pki",
|
||||
"countries",
|
||||
]
|
||||
+++
|
||||
|
||||
Git / Repo: https://git.disroot.org/MonoChromeTint/Info_General
|
||||
|
||||
---
|
||||
|
||||
This repo has a few random things
|
||||
|
||||
## A PKI Script
|
||||
> Due to a lack of info on the web, I created a bash script to handle _multi_-tier public key infrastructure certs
|
||||
> The public version has been posted and incremental updates will be added as I come by them
|
||||
|
||||
## My checklist
|
||||
> A simple checklist of stuff I've implemented
|
||||
|
||||
## Random
|
||||
> Want a random list of a bunch of countries? Info in a CSV format? Bet, its there! *I dont remember where I got it from, so if you recognize it shoot me a message, so that I can give proper credit*
|
|
@ -0,0 +1,67 @@
|
|||
+++
|
||||
authors = ["MonoChromeTint"]
|
||||
title = "Personal Docker Swarm"
|
||||
date = "2023-07-02"
|
||||
description = "Info about my personal docker swarm stack"
|
||||
tags = [
|
||||
"docker",
|
||||
"swarm",
|
||||
"ha",
|
||||
"stack",
|
||||
]
|
||||
+++
|
||||
|
||||
Code repo / Git: https://git.disroot.org/MonoChromeTint/prsnl-dockerswarm
|
||||
|
||||
---
|
||||
|
||||
## Deployment
|
||||
Deployment is _automated_ with the "deploy.sh" script. Which allows quick take down and restart of stacks.
|
||||
|
||||
## Updating
|
||||
What happens when you have a working variant of the stack? Naturally you have to update the old checkpoint. Hence "git_update.sh" is used to send off the current stack to the repo.
|
||||
|
||||
---
|
||||
## The stack
|
||||
|
||||
As of 2023-07-22, the stack is broken down into the following groups:
|
||||
|
||||
### capybara (used as entertainment)
|
||||
* bazarr - helps with subtitles
|
||||
* flaresolverr - helps with solving captchas
|
||||
* jackett - aggregates torrents
|
||||
* jellyfin - displays the movies/shows
|
||||
* minecraft - minecraft server
|
||||
* ombi - frontend for requesting movies
|
||||
* radarr - goes through movies
|
||||
* sonarr - goes through tv shows
|
||||
* transmission - downloads from the sources
|
||||
|
||||
|
||||
### home (used as utilites)
|
||||
* homepage - dashboard for the swarm
|
||||
* librespeed - testing speeds
|
||||
* nginx - internal site
|
||||
* photoprism - photo galleries
|
||||
* searxng - metasearch engine
|
||||
* traggo - keeping track of time
|
||||
* whoami - who am i?
|
||||
|
||||
|
||||
### inters (important swarm stuff)
|
||||
* agent - global node stats
|
||||
* app - swarm dashboard
|
||||
* nginx-ha - HA nginx reverse proxy
|
||||
* swarm_db - Database (config)
|
||||
* swarm_influxdb - Time series DB
|
||||
|
||||
|
||||
### marie (Mid level assests)
|
||||
* dokuwiki - internal wiki
|
||||
* gitea_server - internal git repo
|
||||
* kanboard - ew professional stuff
|
||||
* lldap - cool sso accounting
|
||||
* ntfy - notifications
|
||||
* server - server
|
||||
* syncthing - geo independent syncing
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
+++
|
||||
authors = ["MonoChromeTint"]
|
||||
title = "Qubes-OS Info"
|
||||
date = "2022-08-29"
|
||||
description = "My personal archive of info that has been gathered during my time using qubes-os"
|
||||
tags = [
|
||||
"qubes-os",
|
||||
"archive",
|
||||
"recovery",
|
||||
"info",
|
||||
]
|
||||
+++
|
||||
|
||||
Git Repo: https://git.disroot.org/MonoChromeTint/Info_QubesOS
|
||||
|
||||
---
|
||||
|
||||
In the repo, it's split into several markdown files.
|
||||
|
||||
## Mullvad_DispVM
|
||||
* This has basic info on using a Mullvad Disposible VM inside of Qubes
|
||||
|
||||
## Qubes BackUp Info
|
||||
* This has info on manually recovering a backup (in the event that it's not possible with another qubes instance).
|
||||
|
||||
## Qubes-MSI
|
||||
* Yes, I'm aware of how much of a pain it is to use nvidia with qubes. Nevertheless, I wanted to try
|
||||
|
||||
## README
|
||||
* readme
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "Projects"
|
||||
slug = "projects"
|
||||
+++
|
||||
|
||||
Nothing to see here... Move along!
|
|
@ -0,0 +1,12 @@
|
|||
+++
|
||||
authors = ["MonoChromeTint"]
|
||||
title = "Title"
|
||||
date = "2023-07-02"
|
||||
description = "D e scriptodnslfels"
|
||||
tags = [
|
||||
"docker",
|
||||
"swarm",
|
||||
"ha",
|
||||
"stack",
|
||||
]
|
||||
+++
|
|
@ -0,0 +1,25 @@
|
|||
+++
|
||||
title = "About"
|
||||
description = "Hugo, the world's fastest framework for building websites"
|
||||
date = "2019-02-28"
|
||||
aliases = ["about-us", "about-hugo", "contact"]
|
||||
author = "Hugo Authors"
|
||||
+++
|
||||
|
||||
Escrito em Go, Hugo é um gerador de sites estáticos de código aberto disponível sobre a licença [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) O Hugo suporta TOML, YAML e JSON como arquivos de dados, Markdown e HTML como arquivos de conteúdo, e usa shortcodes para adicionar conteúdos ricos. Outras funcionalidades notaveis são taxonomias, modo multilingual, processamento de imagens, formatos de saída customizaveis, minificação de HTML/CSS/JS e suporte a fluxos SASS/SCSS.
|
||||
|
||||
O Hugo faz o uso de vários projetos de código aberto incluíndo:
|
||||
|
||||
* https://github.com/yuin/goldmark
|
||||
* https://github.com/alecthomas/chroma
|
||||
* https://github.com/muesli/smartcrop
|
||||
* https://github.com/spf13/cobra
|
||||
* https://github.com/spf13/viper
|
||||
|
||||
O Hugo é ideal para blogs, sites corporativos, protfólio criativos, revistas online, aplicações de página única ou até sites com milhares de páginas.
|
||||
|
||||
O Hugo é para pessoas que querem cuidar do seu próprio site sem se preocupar com a configuração ambientes complicados, dependências e bancos de dados.
|
||||
|
||||
Sites contru;idos com Hugo são extremamente rápidos, seguros e podem ser implantados em qualquer lugar, incluíndo AWS, GitHub Pages, Heroku, Netlify e outros provedores de hospedagem.
|
||||
|
||||
Saiba mais e contribua em [GitHub](https://github.com/gohugoio).
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "Contatos"
|
||||
slug = "contact"
|
||||
+++
|
||||
|
||||
Me siga em @joaoninguem.
|
|
@ -0,0 +1,57 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Suporte a Emojis"
|
||||
date = "2023-07-07"
|
||||
description = "Um guia de utilização de emojis com Hugo"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"emoji",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
Emojis podem ser ativados em um projeto Hugo de diversar formas.
|
||||
|
||||
<!--more-->
|
||||
|
||||
A função [`emojify`](https://gohugo.io/functions/emojify/) pode ser chamada diretamente nos templates ou com [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
|
||||
|
||||
Para ativar os emojis globalmente, aplique `enableEmoji` com o valor `true` na [configuração](https://gohugo.io/getting-started/configuration/) do seu site e então você poderá adicionar códigos de emoji diretamente nos arquivos de conteúdo. Por exemplo:
|
||||
|
||||
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p>
|
||||
<br>
|
||||
|
||||
O [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) é uma referência útil para identificar códigos de emojis.
|
||||
|
||||
---
|
||||
|
||||
**Nota:** Os passos anteriores ativam os caractéres e sequências de emoji do Padrão Unicode no Hugo, porém a renderização desses glifos depende do navegador e plataforma utilizada. Para escolher o estilo dos emojis você pode tanto usar um font de emoji de terceiros ou uma lista de fontes. Por exemplo:
|
||||
|
||||
{{< highlight html >}}
|
||||
.emoji {
|
||||
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
}
|
||||
{{< /highlight >}}
|
||||
|
||||
{{< css.inline >}}
|
||||
|
||||
<style>
|
||||
.emojify {
|
||||
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
font-size: 2rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
@media screen and (max-width:650px) {
|
||||
.nowrap {
|
||||
display: block;
|
||||
margin: 25px 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
{{< /css.inline >}}
|
|
@ -0,0 +1,10 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
date = "2023-07-06"
|
||||
title = "Página Externa: Wiki Hugo Coder"
|
||||
slug = "hugo-coder-wiki"
|
||||
tags = [
|
||||
"hugo"
|
||||
]
|
||||
externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
|
||||
+++
|
|
@ -0,0 +1,133 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "HTML and CSS only tabs"
|
||||
date = "2023-07-09"
|
||||
description = "Sample article showcasing shortcodes for HTML/CSS only tabs"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
aliases = ["migrate-from-jekyl"]
|
||||
+++
|
||||
|
||||
## Shortcodes
|
||||
|
||||
O seguinte conteúdo:
|
||||
|
||||
```markdown
|
||||
{{</* tabgroup */>}}
|
||||
{{</* tab name="Hello" */>}}
|
||||
Hello World!
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab name="Goodbye" */>}}
|
||||
Goodbye Everybody!
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
```
|
||||
|
||||
Irá gerar:
|
||||
|
||||
{{< tabgroup >}}
|
||||
{{< tab name="Hello" >}}
|
||||
Hello World!
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab name="Goodbye" >}}
|
||||
Goodbye Everybody!
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
## Alinhamento à direita
|
||||
|
||||
Você também pode alinhas as tabs à direita:
|
||||
|
||||
```markdown
|
||||
{{</* tabgroup align="right" */>}}
|
||||
{{</* tab name="Hello" */>}}
|
||||
Hello World!
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab name="Goodbye" */>}}
|
||||
Goodbye Everybody!
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
```
|
||||
|
||||
Obtendo o seguinte resultado:
|
||||
|
||||
{{< tabgroup align="right" >}}
|
||||
{{< tab name="Hello" >}}
|
||||
Hello World!
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab name="Goodbye" >}}
|
||||
Goodbye Everybody!
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
## Conteúdo Markdown
|
||||
|
||||
Qualquer conteúdo Markdown válido pode ser usado dentro das tabs:
|
||||
|
||||
````markdown
|
||||
{{</* tabgroup align="right" style="code" */>}}
|
||||
{{</* tab name="Ruby" */>}}
|
||||
|
||||
```ruby
|
||||
puts 'Hello'
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* tab name="Python" */>}}
|
||||
|
||||
```python
|
||||
print('Hello')
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* tab name="JavaScript" */>}}
|
||||
|
||||
```js
|
||||
console.log("Hello");
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
````
|
||||
|
||||
Assim você obterá o seguinte resultado:
|
||||
|
||||
{{< tabgroup align="right" style="code" >}}
|
||||
{{< tab name="Ruby" >}}
|
||||
|
||||
```ruby
|
||||
puts 'Hello'
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< tab name="Python" >}}
|
||||
|
||||
```python
|
||||
print('Hello')
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< tab name="JavaScript" >}}
|
||||
|
||||
```js
|
||||
console.log("Hello");
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
Nesse exemplo, `style="code"` faz com que o resultado seja mais agradável quando conteúdo é puramente blocos de código.
|
|
@ -0,0 +1,164 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Guia de Sintaxe Markdown"
|
||||
date = "2023-07-13"
|
||||
description = "Artigo de exemplo mostrando a sintaxe básica Markdown e a formatação de elementos HTML."
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
aliases = ["migrate-from-jekyl"]
|
||||
+++
|
||||
|
||||
Esse artigo é um exemplo básico para mostrar a sintaxe Markdown que é usada nos arquivos de conteúdo do Hugo. Ele também mostrar como cada elemento básico HTML é estilizado com CSS com os temas do Hugo.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Cabeçalhos
|
||||
|
||||
Os seguintes elementos HTML `<h1>`—`<h6>` representam 6 níveis de cabeçalhos de seção. `<h1>` é para seções de nível mais alto enquanto `<h6>` é para o nível mais baixo.
|
||||
|
||||
# H1
|
||||
|
||||
## H2
|
||||
|
||||
### H3
|
||||
|
||||
#### H4
|
||||
|
||||
##### H5
|
||||
|
||||
###### H6
|
||||
|
||||
## Parágrafo
|
||||
|
||||
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.
|
||||
|
||||
## Citações
|
||||
|
||||
O elemento de citações representa um conteúdo citado de outra origem, opcionalmente com atribuição que deve estar contida em um elemento `footer` ou `cite`, e também opcionalmente com informações in-line como anotações e abreviações.
|
||||
|
||||
#### Citações sem atribuição
|
||||
|
||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
> **Note** that you can use _Markdown syntax_ within a blockquote.
|
||||
|
||||
#### Citações com atribuição
|
||||
|
||||
> Não comunique compartilhando memória, compartilhe memória comunicando.<br>
|
||||
> — <cite>Rob Pike[^1]</cite>
|
||||
|
||||
## Tabelas
|
||||
|
||||
Tabelas não fazem parte do cerne da especificação do Markdown, mas o Hugo oferece suporte a elas.
|
||||
|
||||
| Nome | Idade |
|
||||
| ----- | ----- |
|
||||
| Bob | 27 |
|
||||
| Alice | 23 |
|
||||
|
||||
#### Tabelas com Markdown inline
|
||||
|
||||
| Italics | Bold | Code |
|
||||
| --------- | -------- | ------ |
|
||||
| _italics_ | **bold** | `code` |
|
||||
|
||||
## Blocos de código
|
||||
|
||||
#### Blocos de código com crase
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Exemplo de Documento HTML5</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Teste</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
#### Blocos de código com quatro espaços
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Exemplo de Documento HTML5</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Teste</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
#### Blocos de código com highlight shortcode interno do Hugo
|
||||
|
||||
{{< highlight html >}}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Exemplo de Documento HTML5</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Teste</p>
|
||||
</body>
|
||||
</html>
|
||||
{{< /highlight >}}
|
||||
|
||||
## Tipos de Listas
|
||||
|
||||
#### Listas Ordenada
|
||||
|
||||
1. Primeiro item
|
||||
2. Segundo item
|
||||
3. Terceiro item
|
||||
|
||||
#### Listas não Ordenada
|
||||
|
||||
- Um item
|
||||
- Outro item
|
||||
- Algum outro item
|
||||
|
||||
#### Listas aninhadas
|
||||
|
||||
- Frutas
|
||||
- Maçã
|
||||
- Laranja
|
||||
- Banana
|
||||
- Laticínios
|
||||
- Leite
|
||||
- Queijo
|
||||
|
||||
#### Notas de Rodapé
|
||||
|
||||
Verifique[^2] no final[^3] desse texto[^4].
|
||||
|
||||
## Outros Elementos — abbr, sub, sup, kbd, mark
|
||||
|
||||
<abbr title="Graphics Interchange Format">GIF</abbr> é um formato de imagem bitmap.
|
||||
|
||||
H<sub>2</sub>O
|
||||
|
||||
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
|
||||
Aperte <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> para fechar.
|
||||
|
||||
A maioria das <mark>salamandras</mark> são noturnas e caçam insetos, vermes, e outras criaturas pequenas.
|
||||
|
||||
[^1]: A citação acima foi extraída da [apresentação](https://www.youtube.com/watch?v=PAAkCSZUG1c) do Rob Pike durante a Gopherfest, de 18 de Novembro de 2015.
|
||||
[^2]: Uma nota de rodapé.
|
||||
[^3]: Outra aqui.
|
||||
[^4]: Legal, né?
|
|
@ -0,0 +1,64 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Configuração de Equações Matemáticas"
|
||||
date = "2023-07-10"
|
||||
description = "Um guia rápido sobre utilizar KaTeX"
|
||||
math ="true"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
Em um projeto Hugo as Notações Matemáticas podem ser usadas com a ajuda de bibliotecas JavaScript de terceiros.
|
||||
|
||||
<!--more-->
|
||||
|
||||
Nesse exemplo usaremos o [KaTeX](https://katex.org/).
|
||||
|
||||
- Crie um partial template em `/layouts/partials/math.html`
|
||||
- Dentro, utilize o [Auto-render Extension](https://katex.org/docs/autorender.html) ou sirva os scripts localmente.
|
||||
- Inclua o partial nos seus templates da seguinte forma:
|
||||
|
||||
```bash
|
||||
{{ if or .Params.math .Site.Params.math }}
|
||||
{{ partial "math.html" . }}
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
- Para ativar o KaTex globalmente defina o parâmetro `math` como `true` na confgiuração do projeto
|
||||
- Para ativar o KaTex em páginas específicas inclua o parâmetro `math: true` nos arquivos de conteúdo
|
||||
|
||||
**Nota:** Use a referência online [Supported TeX Functions](https://katex.org/docs/supported.html) como base para criar notações matemáticas.
|
||||
|
||||
{{< math.inline >}}
|
||||
{{ if or .Page.Params.math .Site.Params.math }}
|
||||
|
||||
<!-- KaTeX -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
|
||||
{{ end }}
|
||||
{{</ math.inline >}}
|
||||
|
||||
### Examples
|
||||
|
||||
{{< math.inline >}}
|
||||
|
||||
<p>
|
||||
Notação inline: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
|
||||
</p>
|
||||
{{</ math.inline >}}
|
||||
|
||||
Notação em bloco:
|
||||
|
||||
$$
|
||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||
$$
|
|
@ -0,0 +1,43 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
date = "2023-07-08"
|
||||
title = "Mermaid JS support"
|
||||
description = "The post demonstrates Mermaid JS support"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
Se quiser usar o [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) em sua página.
|
||||
Use o [shortcode](https://gohugo.io/content-management/shortcodes/#readout) `mermaid` em seus conteúdos Markdown.
|
||||
|
||||
{{<mermaid>}}
|
||||
flowchart LR
|
||||
|
||||
A --> B
|
||||
|
||||
B --> C
|
||||
|
||||
C --> D
|
||||
|
||||
D --> B
|
||||
|
||||
{{</mermaid>}}
|
||||
|
||||
{{<mermaid>}}
|
||||
sequenceDiagram
|
||||
participant Alice
|
||||
participant Bob
|
||||
Alice->>Bob: Hi Bob
|
||||
Bob->>Alice: Hi Alice
|
||||
{{</mermaid>}}
|
||||
|
||||
Entro mais exemplos na página do [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/).
|
|
@ -0,0 +1,52 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Mais Conteúdo Rico"
|
||||
date = "2023-07-11"
|
||||
description = "Uma breve descrição sobre Shortcodes customizados do Hugo Coder"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
O Hugo Coder proporciona alguns Shortcodes Customizados.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## Shortcodes Avisos
|
||||
|
||||
{{< notice note >}}
|
||||
Uma nota aqui.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice tip >}}
|
||||
Estou lhe dando uma dica.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice example >}}
|
||||
Isso é um exemplo.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice question >}}
|
||||
Isso é um pergunta?
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice info >}}
|
||||
Note que essa caixa contém informações.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice warning >}}
|
||||
Este é o último aviso!
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice error >}}
|
||||
Há um erro no seu código.
|
||||
{{< /notice >}}
|
|
@ -0,0 +1,47 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Texto de Exemplo"
|
||||
date = "2023-07-05"
|
||||
description = "Lorem Ipsum Dolor Si Amet"
|
||||
tags = [
|
||||
"markdown",
|
||||
"text",
|
||||
]
|
||||
+++
|
||||
|
||||
Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
|
||||
|
||||
1. Exierant elisi ambit vivere dedere
|
||||
2. Duce pollice
|
||||
3. Eris modo
|
||||
4. Spargitque ferrea quos palude
|
||||
|
||||
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
|
||||
|
||||
1. Comas hunc haec pietate fetum procerum dixit
|
||||
2. Post torum vates letum Tiresia
|
||||
3. Flumen querellas
|
||||
4. Arcanaque montibus omnes
|
||||
5. Quidem et
|
||||
|
||||
# Vagus elidunt
|
||||
|
||||
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
||||
|
||||
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
||||
|
||||
## Mane refeci capiebant unda mulcebat
|
||||
|
||||
Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
|
||||
|
||||
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
|
||||
|
||||
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
|
||||
|
||||
{{< css.inline >}}
|
||||
|
||||
<style>
|
||||
.canon { background: white; width: 100%; height: auto; }
|
||||
</style>
|
||||
|
||||
{{< /css.inline >}}
|
|
@ -0,0 +1,42 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Conteúdo Rico"
|
||||
date = "2023-07-12"
|
||||
description = "Uma breve descrição sobre Shortcodes do Hugo"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
O Hugo vem com vários [Shortcodes Internos](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) para conteúdo rico, assim como uma [Configuração de Privacidade](https://gohugo.io/about/hugo-and-gdpr/) e uma gama de Shortcodes simples que permitem embutir versões estáticas e sem JS de várias de redes sociais.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## Shortcode do YouTube com privacidade melhorada
|
||||
|
||||
{{< youtube ZJthWmvUzzc >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Shortcode do Twitter
|
||||
|
||||
{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Shortcode simples do Vimeo
|
||||
|
||||
{{< vimeo_simple 48912912 >}}
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "Projetos"
|
||||
slug = "projects"
|
||||
+++
|
||||
|
||||
Nada para ver aqui.. Circulando!
|
|
@ -0,0 +1,25 @@
|
|||
+++
|
||||
title = "Abouts"
|
||||
description = "Hugo, the world's fastest framework for building websites"
|
||||
date = "2019-02-28"
|
||||
aliases = ["about-us", "about-hugo", "contact"]
|
||||
author = "Hugo Authors"
|
||||
+++
|
||||
|
||||
Escrito em Go, Hugo é um gerador de sites estáticos de código aberto disponível sobre a licença [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) O Hugo suporta TOML, YAML e JSON como arquivos de dados, Markdown e HTML como arquivos de conteúdo, e usa shortcodes para adicionar conteúdos ricos. Outras funcionalidades notaveis são taxonomias, modo multilingual, processamento de imagens, formatos de saída customizaveis, minificação de HTML/CSS/JS e suporte a fluxos SASS/SCSS.
|
||||
|
||||
O Hugo faz o uso de vários projetos de código aberto incluíndo:
|
||||
|
||||
* https://github.com/yuin/goldmark
|
||||
* https://github.com/alecthomas/chroma
|
||||
* https://github.com/muesli/smartcrop
|
||||
* https://github.com/spf13/cobra
|
||||
* https://github.com/spf13/viper
|
||||
|
||||
O Hugo é ideal para blogs, sites corporativos, protfólio criativos, revistas online, aplicações de página única ou até sites com milhares de páginas.
|
||||
|
||||
O Hugo é para pessoas que querem cuidar do seu próprio site sem se preocupar com a configuração ambientes complicados, dependências e bancos de dados.
|
||||
|
||||
Sites contru;idos com Hugo são extremamente rápidos, seguros e podem ser implantados em qualquer lugar, incluíndo AWS, GitHub Pages, Heroku, Netlify e outros provedores de hospedagem.
|
||||
|
||||
Saiba mais e contribua em [GitHub](https://github.com/gohugoio).
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "ep"
|
||||
slug = "ss"
|
||||
+++
|
||||
|
||||
Me siga em @joaoninguem.
|
|
@ -0,0 +1,57 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Suporte a Emojis"
|
||||
date = "2023-07-07"
|
||||
description = "Um guia de utilização de emojis com Hugo"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"emoji",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
Emojis podem ser ativados em um projeto Hugo de diversar formas.
|
||||
|
||||
<!--more-->
|
||||
|
||||
A função [`emojify`](https://gohugo.io/functions/emojify/) pode ser chamada diretamente nos templates ou com [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
|
||||
|
||||
Para ativar os emojis globalmente, aplique `enableEmoji` com o valor `true` na [configuração](https://gohugo.io/getting-started/configuration/) do seu site e então você poderá adicionar códigos de emoji diretamente nos arquivos de conteúdo. Por exemplo:
|
||||
|
||||
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p>
|
||||
<br>
|
||||
|
||||
O [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) é uma referência útil para identificar códigos de emojis.
|
||||
|
||||
---
|
||||
|
||||
**Nota:** Os passos anteriores ativam os caractéres e sequências de emoji do Padrão Unicode no Hugo, porém a renderização desses glifos depende do navegador e plataforma utilizada. Para escolher o estilo dos emojis você pode tanto usar um font de emoji de terceiros ou uma lista de fontes. Por exemplo:
|
||||
|
||||
{{< highlight html >}}
|
||||
.emoji {
|
||||
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
}
|
||||
{{< /highlight >}}
|
||||
|
||||
{{< css.inline >}}
|
||||
|
||||
<style>
|
||||
.emojify {
|
||||
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
font-size: 2rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
@media screen and (max-width:650px) {
|
||||
.nowrap {
|
||||
display: block;
|
||||
margin: 25px 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
{{< /css.inline >}}
|
|
@ -0,0 +1,10 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
date = "2023-07-06"
|
||||
title = "Página Externa: Wiki Hugo Coder"
|
||||
slug = "hugo-coder-wiki"
|
||||
tags = [
|
||||
"hugo"
|
||||
]
|
||||
externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
|
||||
+++
|
|
@ -0,0 +1,133 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "HTML and CSS only tabs"
|
||||
date = "2023-07-09"
|
||||
description = "Sample article showcasing shortcodes for HTML/CSS only tabs"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
aliases = ["migrate-from-jekyl"]
|
||||
+++
|
||||
|
||||
## Shortcodes
|
||||
|
||||
O seguinte conteúdo:
|
||||
|
||||
```markdown
|
||||
{{</* tabgroup */>}}
|
||||
{{</* tab name="Hello" */>}}
|
||||
Hello World!
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab name="Goodbye" */>}}
|
||||
Goodbye Everybody!
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
```
|
||||
|
||||
Irá gerar:
|
||||
|
||||
{{< tabgroup >}}
|
||||
{{< tab name="Hello" >}}
|
||||
Hello World!
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab name="Goodbye" >}}
|
||||
Goodbye Everybody!
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
## Alinhamento à direita
|
||||
|
||||
Você também pode alinhas as tabs à direita:
|
||||
|
||||
```markdown
|
||||
{{</* tabgroup align="right" */>}}
|
||||
{{</* tab name="Hello" */>}}
|
||||
Hello World!
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab name="Goodbye" */>}}
|
||||
Goodbye Everybody!
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
```
|
||||
|
||||
Obtendo o seguinte resultado:
|
||||
|
||||
{{< tabgroup align="right" >}}
|
||||
{{< tab name="Hello" >}}
|
||||
Hello World!
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab name="Goodbye" >}}
|
||||
Goodbye Everybody!
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
## Conteúdo Markdown
|
||||
|
||||
Qualquer conteúdo Markdown válido pode ser usado dentro das tabs:
|
||||
|
||||
````markdown
|
||||
{{</* tabgroup align="right" style="code" */>}}
|
||||
{{</* tab name="Ruby" */>}}
|
||||
|
||||
```ruby
|
||||
puts 'Hello'
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* tab name="Python" */>}}
|
||||
|
||||
```python
|
||||
print('Hello')
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* tab name="JavaScript" */>}}
|
||||
|
||||
```js
|
||||
console.log("Hello");
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
{{</* /tabgroup */>}}
|
||||
````
|
||||
|
||||
Assim você obterá o seguinte resultado:
|
||||
|
||||
{{< tabgroup align="right" style="code" >}}
|
||||
{{< tab name="Ruby" >}}
|
||||
|
||||
```ruby
|
||||
puts 'Hello'
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< tab name="Python" >}}
|
||||
|
||||
```python
|
||||
print('Hello')
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< tab name="JavaScript" >}}
|
||||
|
||||
```js
|
||||
console.log("Hello");
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
{{< /tabgroup >}}
|
||||
|
||||
Nesse exemplo, `style="code"` faz com que o resultado seja mais agradável quando conteúdo é puramente blocos de código.
|
|
@ -0,0 +1,164 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Guia de Sintaxe Markdown"
|
||||
date = "2023-07-13"
|
||||
description = "Artigo de exemplo mostrando a sintaxe básica Markdown e a formatação de elementos HTML."
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
aliases = ["migrate-from-jekyl"]
|
||||
+++
|
||||
|
||||
Esse artigo é um exemplo básico para mostrar a sintaxe Markdown que é usada nos arquivos de conteúdo do Hugo. Ele também mostrar como cada elemento básico HTML é estilizado com CSS com os temas do Hugo.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Cabeçalhos
|
||||
|
||||
Os seguintes elementos HTML `<h1>`—`<h6>` representam 6 níveis de cabeçalhos de seção. `<h1>` é para seções de nível mais alto enquanto `<h6>` é para o nível mais baixo.
|
||||
|
||||
# H1
|
||||
|
||||
## H2
|
||||
|
||||
### H3
|
||||
|
||||
#### H4
|
||||
|
||||
##### H5
|
||||
|
||||
###### H6
|
||||
|
||||
## Parágrafo
|
||||
|
||||
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.
|
||||
|
||||
## Citações
|
||||
|
||||
O elemento de citações representa um conteúdo citado de outra origem, opcionalmente com atribuição que deve estar contida em um elemento `footer` ou `cite`, e também opcionalmente com informações in-line como anotações e abreviações.
|
||||
|
||||
#### Citações sem atribuição
|
||||
|
||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
> **Note** that you can use _Markdown syntax_ within a blockquote.
|
||||
|
||||
#### Citações com atribuição
|
||||
|
||||
> Não comunique compartilhando memória, compartilhe memória comunicando.<br>
|
||||
> — <cite>Rob Pike[^1]</cite>
|
||||
|
||||
## Tabelas
|
||||
|
||||
Tabelas não fazem parte do cerne da especificação do Markdown, mas o Hugo oferece suporte a elas.
|
||||
|
||||
| Nome | Idade |
|
||||
| ----- | ----- |
|
||||
| Bob | 27 |
|
||||
| Alice | 23 |
|
||||
|
||||
#### Tabelas com Markdown inline
|
||||
|
||||
| Italics | Bold | Code |
|
||||
| --------- | -------- | ------ |
|
||||
| _italics_ | **bold** | `code` |
|
||||
|
||||
## Blocos de código
|
||||
|
||||
#### Blocos de código com crase
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Exemplo de Documento HTML5</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Teste</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
#### Blocos de código com quatro espaços
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Exemplo de Documento HTML5</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Teste</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
#### Blocos de código com highlight shortcode interno do Hugo
|
||||
|
||||
{{< highlight html >}}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Exemplo de Documento HTML5</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Teste</p>
|
||||
</body>
|
||||
</html>
|
||||
{{< /highlight >}}
|
||||
|
||||
## Tipos de Listas
|
||||
|
||||
#### Listas Ordenada
|
||||
|
||||
1. Primeiro item
|
||||
2. Segundo item
|
||||
3. Terceiro item
|
||||
|
||||
#### Listas não Ordenada
|
||||
|
||||
- Um item
|
||||
- Outro item
|
||||
- Algum outro item
|
||||
|
||||
#### Listas aninhadas
|
||||
|
||||
- Frutas
|
||||
- Maçã
|
||||
- Laranja
|
||||
- Banana
|
||||
- Laticínios
|
||||
- Leite
|
||||
- Queijo
|
||||
|
||||
#### Notas de Rodapé
|
||||
|
||||
Verifique[^2] no final[^3] desse texto[^4].
|
||||
|
||||
## Outros Elementos — abbr, sub, sup, kbd, mark
|
||||
|
||||
<abbr title="Graphics Interchange Format">GIF</abbr> é um formato de imagem bitmap.
|
||||
|
||||
H<sub>2</sub>O
|
||||
|
||||
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
|
||||
Aperte <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> para fechar.
|
||||
|
||||
A maioria das <mark>salamandras</mark> são noturnas e caçam insetos, vermes, e outras criaturas pequenas.
|
||||
|
||||
[^1]: A citação acima foi extraída da [apresentação](https://www.youtube.com/watch?v=PAAkCSZUG1c) do Rob Pike durante a Gopherfest, de 18 de Novembro de 2015.
|
||||
[^2]: Uma nota de rodapé.
|
||||
[^3]: Outra aqui.
|
||||
[^4]: Legal, né?
|
|
@ -0,0 +1,64 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Configuração de Equações Matemáticas"
|
||||
date = "2023-07-10"
|
||||
description = "Um guia rápido sobre utilizar KaTeX"
|
||||
math ="true"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
Em um projeto Hugo as Notações Matemáticas podem ser usadas com a ajuda de bibliotecas JavaScript de terceiros.
|
||||
|
||||
<!--more-->
|
||||
|
||||
Nesse exemplo usaremos o [KaTeX](https://katex.org/).
|
||||
|
||||
- Crie um partial template em `/layouts/partials/math.html`
|
||||
- Dentro, utilize o [Auto-render Extension](https://katex.org/docs/autorender.html) ou sirva os scripts localmente.
|
||||
- Inclua o partial nos seus templates da seguinte forma:
|
||||
|
||||
```bash
|
||||
{{ if or .Params.math .Site.Params.math }}
|
||||
{{ partial "math.html" . }}
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
- Para ativar o KaTex globalmente defina o parâmetro `math` como `true` na confgiuração do projeto
|
||||
- Para ativar o KaTex em páginas específicas inclua o parâmetro `math: true` nos arquivos de conteúdo
|
||||
|
||||
**Nota:** Use a referência online [Supported TeX Functions](https://katex.org/docs/supported.html) como base para criar notações matemáticas.
|
||||
|
||||
{{< math.inline >}}
|
||||
{{ if or .Page.Params.math .Site.Params.math }}
|
||||
|
||||
<!-- KaTeX -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
|
||||
{{ end }}
|
||||
{{</ math.inline >}}
|
||||
|
||||
### Examples
|
||||
|
||||
{{< math.inline >}}
|
||||
|
||||
<p>
|
||||
Notação inline: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
|
||||
</p>
|
||||
{{</ math.inline >}}
|
||||
|
||||
Notação em bloco:
|
||||
|
||||
$$
|
||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||
$$
|
|
@ -0,0 +1,43 @@
|
|||
+++
|
||||
authors = ["Lone Coder"]
|
||||
date = "2023-07-08"
|
||||
title = "Mermaid JS support"
|
||||
description = "The post demonstrates Mermaid JS support"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
Se quiser usar o [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) em sua página.
|
||||
Use o [shortcode](https://gohugo.io/content-management/shortcodes/#readout) `mermaid` em seus conteúdos Markdown.
|
||||
|
||||
{{<mermaid>}}
|
||||
flowchart LR
|
||||
|
||||
A --> B
|
||||
|
||||
B --> C
|
||||
|
||||
C --> D
|
||||
|
||||
D --> B
|
||||
|
||||
{{</mermaid>}}
|
||||
|
||||
{{<mermaid>}}
|
||||
sequenceDiagram
|
||||
participant Alice
|
||||
participant Bob
|
||||
Alice->>Bob: Hi Bob
|
||||
Bob->>Alice: Hi Alice
|
||||
{{</mermaid>}}
|
||||
|
||||
Entro mais exemplos na página do [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/).
|
|
@ -0,0 +1,52 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Mais Conteúdo Rico"
|
||||
date = "2023-07-11"
|
||||
description = "Uma breve descrição sobre Shortcodes customizados do Hugo Coder"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
O Hugo Coder proporciona alguns Shortcodes Customizados.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## Shortcodes Avisos
|
||||
|
||||
{{< notice note >}}
|
||||
Uma nota aqui.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice tip >}}
|
||||
Estou lhe dando uma dica.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice example >}}
|
||||
Isso é um exemplo.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice question >}}
|
||||
Isso é um pergunta?
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice info >}}
|
||||
Note que essa caixa contém informações.
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice warning >}}
|
||||
Este é o último aviso!
|
||||
{{< /notice >}}
|
||||
|
||||
{{< notice error >}}
|
||||
Há um erro no seu código.
|
||||
{{< /notice >}}
|
|
@ -0,0 +1,47 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Texto de Exemplo"
|
||||
date = "2023-07-05"
|
||||
description = "Lorem Ipsum Dolor Si Amet"
|
||||
tags = [
|
||||
"markdown",
|
||||
"text",
|
||||
]
|
||||
+++
|
||||
|
||||
Lorem est tota propiore conpellat pectoribus de pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
|
||||
|
||||
1. Exierant elisi ambit vivere dedere
|
||||
2. Duce pollice
|
||||
3. Eris modo
|
||||
4. Spargitque ferrea quos palude
|
||||
|
||||
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
|
||||
|
||||
1. Comas hunc haec pietate fetum procerum dixit
|
||||
2. Post torum vates letum Tiresia
|
||||
3. Flumen querellas
|
||||
4. Arcanaque montibus omnes
|
||||
5. Quidem et
|
||||
|
||||
# Vagus elidunt
|
||||
|
||||
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
||||
|
||||
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
||||
|
||||
## Mane refeci capiebant unda mulcebat
|
||||
|
||||
Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
|
||||
|
||||
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
|
||||
|
||||
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
|
||||
|
||||
{{< css.inline >}}
|
||||
|
||||
<style>
|
||||
.canon { background: white; width: 100%; height: auto; }
|
||||
</style>
|
||||
|
||||
{{< /css.inline >}}
|
|
@ -0,0 +1,42 @@
|
|||
+++
|
||||
authors = ["Programador Solitário"]
|
||||
title = "Conteúdo Rico"
|
||||
date = "2023-07-12"
|
||||
description = "Uma breve descrição sobre Shortcodes do Hugo"
|
||||
tags = [
|
||||
"hugo",
|
||||
"markdown",
|
||||
"css",
|
||||
"html",
|
||||
"shortcodes",
|
||||
]
|
||||
categories = [
|
||||
"sintaxe",
|
||||
"demonstração do tema",
|
||||
]
|
||||
series = ["Demonstração do Tema"]
|
||||
+++
|
||||
|
||||
O Hugo vem com vários [Shortcodes Internos](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) para conteúdo rico, assim como uma [Configuração de Privacidade](https://gohugo.io/about/hugo-and-gdpr/) e uma gama de Shortcodes simples que permitem embutir versões estáticas e sem JS de várias de redes sociais.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## Shortcode do YouTube com privacidade melhorada
|
||||
|
||||
{{< youtube ZJthWmvUzzc >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Shortcode do Twitter
|
||||
|
||||
{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Shortcode simples do Vimeo
|
||||
|
||||
{{< vimeo_simple 48912912 >}}
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "Projetos"
|
||||
slug = "projects"
|
||||
+++
|
||||
|
||||
Nada para ver aqui.. Circulando!
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "Códigos curtos"
|
||||
date: 2023-01-04T11:51:36+01:00
|
||||
draft: false
|
||||
---
|
|
@ -0,0 +1,281 @@
|
|||
body.colorscheme-dark {
|
||||
color: #dadada;
|
||||
background-color: #212121; }
|
||||
body.colorscheme-dark a {
|
||||
color: #42a5f5; }
|
||||
body.colorscheme-dark h1,
|
||||
body.colorscheme-dark h2,
|
||||
body.colorscheme-dark h3,
|
||||
body.colorscheme-dark h4,
|
||||
body.colorscheme-dark h5,
|
||||
body.colorscheme-dark h6 {
|
||||
color: #dadada; }
|
||||
body.colorscheme-dark h1:hover .heading-link,
|
||||
body.colorscheme-dark h2:hover .heading-link,
|
||||
body.colorscheme-dark h3:hover .heading-link,
|
||||
body.colorscheme-dark h4:hover .heading-link,
|
||||
body.colorscheme-dark h5:hover .heading-link,
|
||||
body.colorscheme-dark h6:hover .heading-link {
|
||||
visibility: visible; }
|
||||
body.colorscheme-dark h1 .heading-link,
|
||||
body.colorscheme-dark h2 .heading-link,
|
||||
body.colorscheme-dark h3 .heading-link,
|
||||
body.colorscheme-dark h4 .heading-link,
|
||||
body.colorscheme-dark h5 .heading-link,
|
||||
body.colorscheme-dark h6 .heading-link {
|
||||
color: #42a5f5;
|
||||
font-weight: inherit;
|
||||
text-decoration: none;
|
||||
font-size: 80%;
|
||||
visibility: hidden; }
|
||||
body.colorscheme-dark h1 .title-link,
|
||||
body.colorscheme-dark h2 .title-link,
|
||||
body.colorscheme-dark h3 .title-link,
|
||||
body.colorscheme-dark h4 .title-link,
|
||||
body.colorscheme-dark h5 .title-link,
|
||||
body.colorscheme-dark h6 .title-link {
|
||||
color: inherit;
|
||||
font-weight: inherit;
|
||||
text-decoration: none; }
|
||||
body.colorscheme-dark blockquote {
|
||||
border-left: 2px solid #424242; }
|
||||
body.colorscheme-dark th,
|
||||
body.colorscheme-dark td {
|
||||
padding: 1.6rem; }
|
||||
body.colorscheme-dark table {
|
||||
border-collapse: collapse; }
|
||||
body.colorscheme-dark table td,
|
||||
body.colorscheme-dark table th {
|
||||
border: 2px solid #dadada; }
|
||||
body.colorscheme-dark table tr:first-child th {
|
||||
border-top: 0; }
|
||||
body.colorscheme-dark table tr:last-child td {
|
||||
border-bottom: 0; }
|
||||
body.colorscheme-dark table tr td:first-child,
|
||||
body.colorscheme-dark table tr th:first-child {
|
||||
border-left: 0; }
|
||||
body.colorscheme-dark table tr td:last-child,
|
||||
body.colorscheme-dark table tr th:last-child {
|
||||
border-right: 0; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto {
|
||||
color: #dadada;
|
||||
background-color: #212121; }
|
||||
body.colorscheme-auto a {
|
||||
color: #42a5f5; }
|
||||
body.colorscheme-auto h1,
|
||||
body.colorscheme-auto h2,
|
||||
body.colorscheme-auto h3,
|
||||
body.colorscheme-auto h4,
|
||||
body.colorscheme-auto h5,
|
||||
body.colorscheme-auto h6 {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto h1:hover .heading-link,
|
||||
body.colorscheme-auto h2:hover .heading-link,
|
||||
body.colorscheme-auto h3:hover .heading-link,
|
||||
body.colorscheme-auto h4:hover .heading-link,
|
||||
body.colorscheme-auto h5:hover .heading-link,
|
||||
body.colorscheme-auto h6:hover .heading-link {
|
||||
visibility: visible; }
|
||||
body.colorscheme-auto h1 .heading-link,
|
||||
body.colorscheme-auto h2 .heading-link,
|
||||
body.colorscheme-auto h3 .heading-link,
|
||||
body.colorscheme-auto h4 .heading-link,
|
||||
body.colorscheme-auto h5 .heading-link,
|
||||
body.colorscheme-auto h6 .heading-link {
|
||||
color: #42a5f5;
|
||||
font-weight: inherit;
|
||||
text-decoration: none;
|
||||
font-size: 80%;
|
||||
visibility: hidden; }
|
||||
body.colorscheme-auto h1 .title-link,
|
||||
body.colorscheme-auto h2 .title-link,
|
||||
body.colorscheme-auto h3 .title-link,
|
||||
body.colorscheme-auto h4 .title-link,
|
||||
body.colorscheme-auto h5 .title-link,
|
||||
body.colorscheme-auto h6 .title-link {
|
||||
color: inherit;
|
||||
font-weight: inherit;
|
||||
text-decoration: none; }
|
||||
body.colorscheme-auto blockquote {
|
||||
border-left: 2px solid #424242; }
|
||||
body.colorscheme-auto th,
|
||||
body.colorscheme-auto td {
|
||||
padding: 1.6rem; }
|
||||
body.colorscheme-auto table {
|
||||
border-collapse: collapse; }
|
||||
body.colorscheme-auto table td,
|
||||
body.colorscheme-auto table th {
|
||||
border: 2px solid #dadada; }
|
||||
body.colorscheme-auto table tr:first-child th {
|
||||
border-top: 0; }
|
||||
body.colorscheme-auto table tr:last-child td {
|
||||
border-bottom: 0; }
|
||||
body.colorscheme-auto table tr td:first-child,
|
||||
body.colorscheme-auto table tr th:first-child {
|
||||
border-left: 0; }
|
||||
body.colorscheme-auto table tr td:last-child,
|
||||
body.colorscheme-auto table tr th:last-child {
|
||||
border-right: 0; } }
|
||||
|
||||
body.colorscheme-dark .content .post .tags .tag {
|
||||
background-color: #424242; }
|
||||
body.colorscheme-dark .content .post .tags .tag a {
|
||||
color: #dadada; }
|
||||
body.colorscheme-dark .content .post .tags .tag a:active {
|
||||
color: #dadada; }
|
||||
|
||||
body.colorscheme-dark .content .list ul li .title {
|
||||
color: #dadada; }
|
||||
body.colorscheme-dark .content .list ul li .title:hover, body.colorscheme-dark .content .list ul li .title:focus {
|
||||
color: #42a5f5; }
|
||||
|
||||
body.colorscheme-dark .content .centered .about ul li a {
|
||||
color: #dadada; }
|
||||
body.colorscheme-dark .content .centered .about ul li a:hover, body.colorscheme-dark .content .centered .about ul li a:focus {
|
||||
color: #42a5f5; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .content .post .tags .tag {
|
||||
background-color: #424242; }
|
||||
body.colorscheme-auto .content .post .tags .tag a {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto .content .post .tags .tag a:active {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto .content .list ul li .title {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto .content .list ul li .title:hover, body.colorscheme-auto .content .list ul li .title:focus {
|
||||
color: #42a5f5; }
|
||||
body.colorscheme-auto .content .centered .about ul li a {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto .content .centered .about ul li a:hover, body.colorscheme-auto .content .centered .about ul li a:focus {
|
||||
color: #42a5f5; } }
|
||||
|
||||
body.colorscheme-dark .notice .notice-title {
|
||||
border-bottom: 1px solid #212121; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .notice .notice-title {
|
||||
border-bottom: 1px solid #212121; } }
|
||||
|
||||
body.colorscheme-dark .navigation a,
|
||||
body.colorscheme-dark .navigation span {
|
||||
color: #dadada; }
|
||||
|
||||
body.colorscheme-dark .navigation a:hover, body.colorscheme-dark .navigation a:focus {
|
||||
color: #42a5f5; }
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
body.colorscheme-dark .navigation .navigation-list {
|
||||
background-color: #212121;
|
||||
border-top: solid 2px #424242;
|
||||
border-bottom: solid 2px #424242; } }
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
body.colorscheme-dark .navigation .navigation-list .menu-separator {
|
||||
border-top: 2px solid #dadada; } }
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
body.colorscheme-dark .navigation #menu-toggle:checked + label > i {
|
||||
color: #424242; } }
|
||||
|
||||
body.colorscheme-dark .navigation i {
|
||||
color: #dadada; }
|
||||
body.colorscheme-dark .navigation i:hover, body.colorscheme-dark .navigation i:focus {
|
||||
color: #42a5f5; }
|
||||
|
||||
body.colorscheme-dark .navigation .menu-button i:hover, body.colorscheme-dark .navigation .menu-button i:focus {
|
||||
color: #dadada; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .navigation a,
|
||||
body.colorscheme-auto .navigation span {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto .navigation a:hover, body.colorscheme-auto .navigation a:focus {
|
||||
color: #42a5f5; } }
|
||||
|
||||
@media only screen and (prefers-color-scheme: dark) and (max-width: 768px) {
|
||||
body.colorscheme-auto .navigation .navigation-list {
|
||||
background-color: #212121;
|
||||
border-top: solid 2px #424242;
|
||||
border-bottom: solid 2px #424242; } }
|
||||
|
||||
@media only screen and (prefers-color-scheme: dark) and (max-width: 768px) {
|
||||
body.colorscheme-auto .navigation .navigation-list .menu-separator {
|
||||
border-top: 2px solid #dadada; } }
|
||||
|
||||
@media only screen and (prefers-color-scheme: dark) and (max-width: 768px) {
|
||||
body.colorscheme-auto .navigation #menu-toggle:checked + label > i {
|
||||
color: #424242; } }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .navigation i {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto .navigation i:hover, body.colorscheme-auto .navigation i:focus {
|
||||
color: #42a5f5; }
|
||||
body.colorscheme-auto .navigation .menu-button i:hover, body.colorscheme-auto .navigation .menu-button i:focus {
|
||||
color: #dadada; } }
|
||||
|
||||
body.colorscheme-dark .tabs label.tab-label {
|
||||
background-color: #424242;
|
||||
border-color: #4f4f4f; }
|
||||
|
||||
body.colorscheme-dark .tabs input.tab-input:checked + label.tab-label {
|
||||
background-color: #212121; }
|
||||
|
||||
body.colorscheme-dark .tabs .tab-content {
|
||||
background-color: #212121;
|
||||
border-color: #4f4f4f; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .tabs label.tab-label {
|
||||
background-color: #424242;
|
||||
border-color: #4f4f4f; }
|
||||
body.colorscheme-auto .tabs input.tab-input:checked + label.tab-label {
|
||||
background-color: #212121; }
|
||||
body.colorscheme-auto .tabs .tab-content {
|
||||
background-color: #212121;
|
||||
border-color: #4f4f4f; } }
|
||||
|
||||
body.colorscheme-dark .taxonomy-element {
|
||||
background-color: #424242; }
|
||||
body.colorscheme-dark .taxonomy-element a {
|
||||
color: #dadada; }
|
||||
body.colorscheme-dark .taxonomy-element a:active {
|
||||
color: #dadada; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .taxonomy-element {
|
||||
background-color: #424242; }
|
||||
body.colorscheme-auto .taxonomy-element a {
|
||||
color: #dadada; }
|
||||
body.colorscheme-auto .taxonomy-element a:active {
|
||||
color: #dadada; } }
|
||||
|
||||
body.colorscheme-dark .footer a {
|
||||
color: #42a5f5; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .footer a {
|
||||
color: #42a5f5; } }
|
||||
|
||||
body.colorscheme-dark .float-container a {
|
||||
color: #dadada;
|
||||
background-color: #424242; }
|
||||
body.colorscheme-dark .float-container a:hover, body.colorscheme-dark .float-container a:focus {
|
||||
color: #42a5f5; }
|
||||
@media only screen and (max-width: 768px) {
|
||||
body.colorscheme-dark .float-container a:hover, body.colorscheme-dark .float-container a:focus {
|
||||
color: #dadada; } }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body.colorscheme-auto .float-container a {
|
||||
color: #dadada;
|
||||
background-color: #424242; }
|
||||
body.colorscheme-auto .float-container a:hover, body.colorscheme-auto .float-container a:focus {
|
||||
color: #42a5f5; } }
|
||||
@media only screen and (prefers-color-scheme: dark) and (max-width: 768px) {
|
||||
body.colorscheme-auto .float-container a:hover, body.colorscheme-auto .float-container a:focus {
|
||||
color: #dadada; } }
|
||||
|
||||
/*# sourceMappingURL=coder-dark.css.map */
|
|
@ -0,0 +1 @@
|
|||
{"Target":"css/coder-dark.css","MediaType":"text/css","Data":{}}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
{"Target":"css/coder.css","MediaType":"text/css","Data":{}}
|
|
@ -0,0 +1,23 @@
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
Contact: https://ezdubz.org/contact
|
||||
Expires: 2025-07-01T00:00:00.000Z
|
||||
Encryption: https://keys.openpgp.org/search?q=FA2DA6EAA6CC7AF61677C3358EFCECC37D158890
|
||||
Acknowledgments: https://https://ezdubz.org/coming-soon
|
||||
Canonical: https://ezdubz.org/.well-known/security.txt
|
||||
Policy: https://ezdubz.org/security-policy-coming-soon
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQGzBAEBCAAdFiEE+i2m6qbMevYWd8M1jvzsw30ViJAFAmS9QtQACgkQjvzsw30V
|
||||
iJBoXQv+OKMoK2EV1dt77jqx15GLhHo//1NscmAU09rvyqXSjxzYSrimwxUo5KN/
|
||||
XQ4WzIIryMoI4RmH/fcaCgZEGoIzLehREVzM0T63sg12wwNtcm5O5rLVqhI59BBp
|
||||
PwFY8skuVilIJj+VQzk1TILjMeB5icxA/KF7JFtuZrFWwe2d8AgZ5KCfPSNcQH8t
|
||||
Dkcqt085Zp8P0IA/yG5Yi5oxg8Ej3IFwm0/61R7G48qgzwzf/JNii5NrmGgsOE6I
|
||||
TOUhd1X2eHLLwKjorrygEqHzFdC+93Hve4l4ghp8s/2UVNAbRYhcxKvidaW+7ByH
|
||||
GnxCNfm+dcBPOMub/1dsLXdjJzxSm4RVF64//CcR0NdiAza8UTKiN1ahskulHu9a
|
||||
PsnlgNniB8Zh4uvL7y/87wsuMYkGTZocxyeuSOlYcik+Aq+q5AUUuhHZSCVrHf+6
|
||||
YvBNM3x0lvRoXhF9zrGp94kuuEubp4920vWxfWYtxTLLvnaRdCNpppV53MemTTUe
|
||||
OXm/pQr+
|
||||
=3CD/
|
||||
-----END PGP SIGNATURE-----
|
Binary file not shown.
After Width: | Height: | Size: 406 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 398 B |
Binary file not shown.
After Width: | Height: | Size: 559 B |
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="32px" height="32px" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve">
|
||||
<g>
|
||||
<rect x="4.686" y="4.686" transform="matrix(0.7071 0.7071 -0.7071 0.7071 16 -6.6274)" fill="#000000" width="22.627" height="22.627"/>
|
||||
<polygon fill="#FFFFFF" points="29.403,16 21.874,23.529 21.874,20.472 26.346,16 21.874,11.528 21.874,8.471 "/>
|
||||
<polygon fill="#FFFFFF" points="19.811,9.464 19.811,14.71 12.166,14.71 12.166,9.488 16,5.654 "/>
|
||||
<polygon fill="#FFFFFF" points="19.811,16.492 19.811,22.535 16,26.346 12.166,22.512 12.166,16.492 "/>
|
||||
<polygon fill="#FFFFFF" points="10.126,11.528 5.654,16 10.126,20.472 10.126,23.529 2.597,16 10.126,8.471 "/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,23 @@
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
Contact: https://ezdubz.org/contact
|
||||
Expires: 2025-07-01T00:00:00.000Z
|
||||
Encryption: https://keys.openpgp.org/search?q=FA2DA6EAA6CC7AF61677C3358EFCECC37D158890
|
||||
Acknowledgments: https://https://ezdubz.org/coming-soon
|
||||
Canonical: https://ezdubz.org/.well-known/security.txt
|
||||
Policy: https://ezdubz.org/security-policy-coming-soon
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQGzBAEBCAAdFiEE+i2m6qbMevYWd8M1jvzsw30ViJAFAmS9QtQACgkQjvzsw30V
|
||||
iJBoXQv+OKMoK2EV1dt77jqx15GLhHo//1NscmAU09rvyqXSjxzYSrimwxUo5KN/
|
||||
XQ4WzIIryMoI4RmH/fcaCgZEGoIzLehREVzM0T63sg12wwNtcm5O5rLVqhI59BBp
|
||||
PwFY8skuVilIJj+VQzk1TILjMeB5icxA/KF7JFtuZrFWwe2d8AgZ5KCfPSNcQH8t
|
||||
Dkcqt085Zp8P0IA/yG5Yi5oxg8Ej3IFwm0/61R7G48qgzwzf/JNii5NrmGgsOE6I
|
||||
TOUhd1X2eHLLwKjorrygEqHzFdC+93Hve4l4ghp8s/2UVNAbRYhcxKvidaW+7ByH
|
||||
GnxCNfm+dcBPOMub/1dsLXdjJzxSm4RVF64//CcR0NdiAza8UTKiN1ahskulHu9a
|
||||
PsnlgNniB8Zh4uvL7y/87wsuMYkGTZocxyeuSOlYcik+Aq+q5AUUuhHZSCVrHf+6
|
||||
YvBNM3x0lvRoXhF9zrGp94kuuEubp4920vWxfWYtxTLLvnaRdCNpppV53MemTTUe
|
||||
OXm/pQr+
|
||||
=3CD/
|
||||
-----END PGP SIGNATURE-----
|
|
@ -0,0 +1 @@
|
|||
Subproject commit c3df12d0bbc2dda164df904f6a487580a82da746
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
SITE_HOSTNAME_LOC="HS-VPS-01"
|
||||
SITE_FOLDER_LOC="docker/*"
|
||||
SAVE_PATH="."
|
||||
|
||||
find . -type f -not -path "*.git*" -not -path "*update_site.sh*" -exec rm '{}' \;
|
||||
|
||||
scp -r -O "$SITE_HOSTNAME_LOC":"$SITE_FOLDER_LOC" "$SAVE_PATH"
|
||||
|
||||
read -p ": " AA
|
||||
git add . && if [[ "$AA" == "" ]]; then git commit -m "$(date +%Y_%m_%d_%s)"; else git commit -m "$AA"; fi && git push -u origin master
|
Loading…
Reference in New Issue