Chore: initial commit
This commit is contained in:
parent
f9d3db612c
commit
8573179684
106 changed files with 8597 additions and 3 deletions
21
.drone.yml
Normal file
21
.drone.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: production
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: klakegg/hugo:ext-alpine-ci
|
||||
commands:
|
||||
- npm i
|
||||
- hugo --minify
|
||||
|
||||
- name: publish
|
||||
image: itsblue.dev/plugins/codeberg-pages-deploy
|
||||
settings:
|
||||
folder: public
|
||||
ssh_key:
|
||||
from_secret: gitea-ssh-key
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
resources/
|
||||
node_modules
|
||||
public
|
||||
.hugo_build.lock
|
||||
hugo_stats.json
|
|
@ -1,3 +0,0 @@
|
|||
# elli-website
|
||||
|
||||
All about Elli
|
242
config.toml
Normal file
242
config.toml
Normal file
|
@ -0,0 +1,242 @@
|
|||
baseurl = "https://blist.vercel.app"
|
||||
metaDataFormat = "yaml"
|
||||
title = "Blist Multilingual Theme"
|
||||
theme = "elli"
|
||||
|
||||
DefaultContentLanguage = "en"
|
||||
DefaultContentLanguageInSubdir = true
|
||||
[languages]
|
||||
[languages.en]
|
||||
contentDir = "content/en" #English
|
||||
weight = 1
|
||||
languageName = "English"
|
||||
[languages.en.params]
|
||||
introTitle = "Hey! I'm Katheryn Fox"
|
||||
introSubtitle = "26 y/o junior developer who enjoys social card games, blogging and painting"
|
||||
introPhoto = "/picture.jpg"
|
||||
logo = "/blist-logo.png"
|
||||
[[languages.en.menu.main]]
|
||||
name = "Blog"
|
||||
url = "blog"
|
||||
weight = 1
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "About"
|
||||
url = "page/about/"
|
||||
weight = 2
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Tags"
|
||||
url = "tags"
|
||||
weight = 3
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Top Post"
|
||||
url = "/en/blog/emoji-support/"
|
||||
weight = 4
|
||||
|
||||
[languages.de]
|
||||
contentDir = "content/de" # Deutsch
|
||||
weight = 2
|
||||
languageName = "Deutsch"
|
||||
title = "Blist (mehrsprachig)"
|
||||
description = "Modernes Blog-Theme für Ihre Hugo-Site."
|
||||
[languages.de.params]
|
||||
introTitle = "Hallo, ich bin Katheryn Fox"
|
||||
introSubtitle = "26-jährige Junior-Entwicklerin, die Spaß an sozialen Kartenspielen, Bloggen und Malen hat"
|
||||
introPhoto = "/picture.jpg"
|
||||
logo = "/blist-logo-de.png"
|
||||
[[languages.de.menu.main]]
|
||||
name = "Blog"
|
||||
url = "blog"
|
||||
weight = 1
|
||||
|
||||
[[languages.de.menu.main]]
|
||||
name = "Über mich"
|
||||
url = "page/about/"
|
||||
weight = 2
|
||||
|
||||
[[languages.de.menu.main]]
|
||||
name = "Tags"
|
||||
url = "tags"
|
||||
weight = 3
|
||||
|
||||
[languages.fr]
|
||||
contentDir = "content/fr" #French
|
||||
weight = 1
|
||||
languageName = "Français"
|
||||
[languages.fr.params]
|
||||
introTitle = "Salut! Je suis Katheryn Fox"
|
||||
introSubtitle = "Développeuse junior de 26 ans qui adore les jeux de société, le blogging et la peinture"
|
||||
introPhoto = "/picture.jpg"
|
||||
logo = "/blist-logo.png"
|
||||
[[languages.fr.menu.main]]
|
||||
name = "Blog"
|
||||
url = "blog"
|
||||
weight = 1
|
||||
|
||||
[[languages.fr.menu.main]]
|
||||
name = "À propos"
|
||||
url = "page/about/"
|
||||
weight = 2
|
||||
|
||||
[[languages.fr.menu.main]]
|
||||
name = "Tags"
|
||||
url = "tags"
|
||||
weight = 3
|
||||
|
||||
[languages.dy]
|
||||
contentDir = "content/dy" #Example language
|
||||
weight = 3
|
||||
languageName = "Test Language"
|
||||
|
||||
[params]
|
||||
# Enable the darkmode toggle in header
|
||||
darkModeToggle = true
|
||||
|
||||
# Enable search in header
|
||||
enableSearch = true
|
||||
|
||||
# Option to customize the search parameters of a page
|
||||
# Below are the supported options; Note that including entire content
|
||||
# may slowdown the loading of search results
|
||||
# Title of page is included by default
|
||||
searchKeys = [
|
||||
"tags",
|
||||
"date",
|
||||
"categories",
|
||||
"summary",
|
||||
"content",
|
||||
"link",
|
||||
"author"
|
||||
]
|
||||
|
||||
# Custom copyright - optional
|
||||
copyright = "Copyright © 2021 - Katheryn Fox · All rights reserved"
|
||||
favicon = "/favicon.svg"
|
||||
|
||||
# Color for the intro details and social links block, not applicable for dark mode
|
||||
# Supported values: Any color from TailwindCSS default colors
|
||||
# Reference: https://tailwindcss.com/docs/customizing-colors
|
||||
ascentColor = "bg-blue-100"
|
||||
|
||||
# The page bundle that is shown on the front page
|
||||
frontBundle = "blog"
|
||||
|
||||
# Used to hide the post metadata such as posted date, reading time and word count
|
||||
# Can be used at site level or page level
|
||||
hideMeta = false
|
||||
|
||||
# To hide "Other languages" option if the post is available in multiple languages
|
||||
# Can be used at site level or page level
|
||||
hideOtherLanguages = false
|
||||
|
||||
# Add support for Table of contents
|
||||
# Can be added to a page level also in markdown frontmatter
|
||||
toc = true
|
||||
|
||||
# Hides the thumbnail in post view
|
||||
# Thumbnails in home and blog pages will still be shown
|
||||
# This setting can also be in page's markdown file
|
||||
hidePageThumbnail = false
|
||||
|
||||
# Comments system
|
||||
[params.comments]
|
||||
# Supports disqus, giscus and utterances
|
||||
# Check hugo docs for setting up disqus
|
||||
system = "giscus"
|
||||
|
||||
# Options for giscus, exclude hyphens
|
||||
repo = ""
|
||||
repoid = ""
|
||||
category = ""
|
||||
categoryid = ""
|
||||
mapping = ""
|
||||
strict = ""
|
||||
reactionsenabled = ""
|
||||
emitmetadata = ""
|
||||
inputposition = ""
|
||||
theme = ""
|
||||
|
||||
# Options for utterances, exclude hyphens
|
||||
# repo = ""
|
||||
# issueterm = ""
|
||||
# theme = ""
|
||||
|
||||
[params.homepage.social]
|
||||
# Global params common for both languages
|
||||
title = "Follow me"
|
||||
description = "I work on everything coding and tweet developer memes"
|
||||
|
||||
[[params.homepage.social.icons]]
|
||||
website = "twitter"
|
||||
url = "https://twitter.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "linkedin"
|
||||
url = "https://linkedin.com/in/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "xing"
|
||||
url = "https://www.xing.com/profile/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "telegram"
|
||||
url = "https://t.me/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "github"
|
||||
url = "https://github.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "buymeacoffee"
|
||||
url = "https://www.buymeacoffee.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "medium"
|
||||
url = "https://medium.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "reddit"
|
||||
url = "https://reddit.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "dribbble"
|
||||
url = "https://dribbble.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "stackoverflow"
|
||||
url = "https://stackoverflow.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "xda"
|
||||
url = "https://forum.xda-developers.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "tiktok"
|
||||
url = "https://tiktok.com"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "googlescholar"
|
||||
url = "https://scholar.google.com/"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "mastodon"
|
||||
url = "https://joinmastodon.org"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "youtube"
|
||||
url = "https://youtube.com"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "instagram"
|
||||
url = "https://instagram.com"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "facebook"
|
||||
url = "https://facebook.com"
|
||||
[[params.homepage.social.icons]]
|
||||
website = "behance"
|
||||
url = "https://behance.net"
|
||||
|
||||
[[menu.main]]
|
||||
name = "About"
|
||||
url = "/about"
|
||||
|
||||
[build]
|
||||
writeStats = true
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
# syntax highlight settings
|
||||
[markup]
|
||||
[markup.highlight]
|
||||
style = "dracula"
|
||||
[markup.goldmark.renderer]
|
||||
# Enable to include inline HTML
|
||||
unsafe = true
|
6
content/_index.md
Normal file
6
content/_index.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
author: Katheryn Fox
|
||||
title: Home of Katheryn Fox
|
||||
date: 2021-07-15
|
||||
---
|
||||
|
26
content/about.md
Normal file
26
content/about.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
author: Katheryn Fox
|
||||
title: About Me
|
||||
date: 2021-07-15
|
||||
description:
|
||||
keywords: ["about-us", "about-hugo", "contact"]
|
||||
type: about
|
||||
---
|
||||
|
||||
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
|
||||
|
||||
Hugo makes use of a variety of open source projects including:
|
||||
|
||||
- https://github.com/yuin/goldmark
|
||||
- https://github.com/alecthomas/chroma
|
||||
- https://github.com/muesli/smartcrop
|
||||
- https://github.com/spf13/cobra
|
||||
- https://github.com/spf13/viper
|
||||
|
||||
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
|
||||
|
||||
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
|
||||
|
||||
Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
|
||||
|
||||
Learn more and contribute on [GitHub](https://github.com/gohugoio).
|
4
content/de/blog/_index.md
Normal file
4
content/de/blog/_index.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
author: Katheryn Fox
|
||||
title: Blog
|
||||
---
|
50
content/de/blog/emoji-support.md
Normal file
50
content/de/blog/emoji-support.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Emoji-Unterstützung"
|
||||
date: 2021-07-15
|
||||
lastmod: 2021-10-14
|
||||
description: "Anleitung zur Verwendung von Emojis in Hugo"
|
||||
tags: ["emoji"]
|
||||
thumbnail: https://picsum.photos/id/1050/400/250
|
||||
---
|
||||
|
||||
Emojis können in einem Hugo-Projekt auf verschiedene Weise aktiviert werden.
|
||||
|
||||
<!--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 >}}
|
147
content/de/blog/markdown-syntax.md
Normal file
147
content/de/blog/markdown-syntax.md
Normal file
|
@ -0,0 +1,147 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Markdown Syntax Guide"
|
||||
description: "Beispielartikel, der die grundlegende Markdown-Syntax und Formatierung für HTML-Elemente zeigt."
|
||||
tags: ["markdown", "css", "html"]
|
||||
date: 2021-07-14
|
||||
thumbnail: https://picsum.photos/id/1019/500/200
|
||||
---
|
||||
|
||||
Dieser Artikel bietet ein Beispiel für die grundlegende Markdown-Syntax, die in Hugo-Inhaltsdateien verwendet werden kann, und zeigt auch, ob grundlegende HTML-Elemente mit CSS in einem Hugo-Theme dekoriert sind.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Headings
|
||||
|
||||
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
||||
|
||||
# H1
|
||||
|
||||
## H2
|
||||
|
||||
### H3
|
||||
|
||||
#### H4
|
||||
|
||||
##### H5
|
||||
|
||||
###### H6
|
||||
|
||||
## Paragraph
|
||||
|
||||
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
||||
|
||||
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
||||
|
||||
## Blockquotes
|
||||
|
||||
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||
|
||||
#### Blockquote without attribution
|
||||
|
||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
> **Note** that you can use _Markdown syntax_ within a blockquote.
|
||||
|
||||
#### Blockquote with attribution
|
||||
|
||||
> Don't communicate by sharing memory, share memory by communicating.<br>
|
||||
> — <cite>Rob Pike[^1]</cite>
|
||||
|
||||
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||
|
||||
## Tables
|
||||
|
||||
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||
|
||||
| Name | Age |
|
||||
| ----- | --- |
|
||||
| Bob | 27 |
|
||||
| Alice | 23 |
|
||||
|
||||
#### Inline Markdown within tables
|
||||
|
||||
| Italics | Bold | Code |
|
||||
| --------- | -------- | ------ |
|
||||
| _italics_ | **bold** | `code` |
|
||||
|
||||
## Code Blocks
|
||||
|
||||
#### Code block with backticks
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
#### Code block indented with four spaces
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
#### Code block with Hugo's internal highlight shortcode
|
||||
|
||||
{{< highlight html >}}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
{{< /highlight >}}
|
||||
|
||||
## List Types
|
||||
|
||||
#### Ordered List
|
||||
|
||||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
|
||||
#### Unordered List
|
||||
|
||||
- List item
|
||||
- Another item
|
||||
- And another item
|
||||
|
||||
#### Nested list
|
||||
|
||||
- Fruit
|
||||
- Apple
|
||||
- Orange
|
||||
- Banana
|
||||
- Dairy
|
||||
- Milk
|
||||
- Cheese
|
||||
|
||||
## Other Elements — abbr, sub, sup, kbd, mark
|
||||
|
||||
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
|
||||
|
||||
H<sub>2</sub>O
|
||||
|
||||
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
|
||||
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
||||
|
||||
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
47
content/de/blog/placeholder-text.md
Normal file
47
content/de/blog/placeholder-text.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Platzhaltertext"
|
||||
date: 2021-07-13
|
||||
description: "Lorem Ipsum Dolor Si Amet DE"
|
||||
tags: ["markdown", "text"]
|
||||
thumbnail: /blog-post.jpg
|
||||
---
|
||||
|
||||
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.
|
||||
|
||||
![Placeholder](/featured-placeholder.jpg)
|
||||
|
||||
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 >}}
|
32
content/de/blog/rich-content.md
Normal file
32
content/de/blog/rich-content.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Reichhaltiger Inhalt"
|
||||
date: 2021-07-13
|
||||
description: "Eine kurze Beschreibung von Hugo Shortcodes"
|
||||
tags: ["shortcodes", "privacy"]
|
||||
thumbnail: https://picsum.photos/id/1002/400/250
|
||||
---
|
||||
|
||||
Hugo wird mit mehreren [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) für reichhaltige Inhalte geliefert, zusammen mit einer [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) und einer Reihe einfacher Shortcodes, die statische und keine JS-Versionen verschiedener Social-Media-Einbettungen ermöglichen.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## YouTube Privacy Enhanced Shortcode
|
||||
|
||||
{{< youtube ZJthWmvUzzc >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Twitter Simple Shortcode
|
||||
|
||||
{{< twitter_simple 1085870671291310081 >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Vimeo Simple Shortcode
|
||||
|
||||
{{< vimeo_simple 48912912 >}}
|
26
content/de/page/about.md
Normal file
26
content/de/page/about.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
author: Katheryn Fox
|
||||
title: Über mich
|
||||
date: 2021-07-15
|
||||
description:
|
||||
keywords: ["about-us", "about-hugo", "contact"]
|
||||
type: about
|
||||
---
|
||||
|
||||
Hugo wurde in Go geschrieben und ist ein Open-Source-Generator für statische Sites, der unter der [Apache License 2.0.] (https://github.com/gohugoio/hugo/blob/master/LICENSE) verfügbar ist. Hugo unterstützt TOML-, YAML- und JSON-Datendateitypen , Markdown- und HTML-Inhaltsdateien und verwendet Shortcodes, um Rich Content hinzuzufügen. Andere bemerkenswerte Funktionen sind Taxonomien, mehrsprachiger Modus, Bildverarbeitung, benutzerdefinierte Ausgabeformate, HTML/CSS/JS-Minifizierung und Unterstützung für Sass SCSS-Workflows.
|
||||
|
||||
Hugo nutzt eine Vielzahl von Open-Source-Projekten, darunter:
|
||||
|
||||
- https://github.com/yuin/goldmark
|
||||
- https://github.com/alecthomas/chroma
|
||||
- https://github.com/muesli/smartcrop
|
||||
- https://github.com/spf13/cobra
|
||||
- https://github.com/spf13/viper
|
||||
|
||||
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
|
||||
|
||||
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
|
||||
|
||||
Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
|
||||
|
||||
Learn more and contribute on [GitHub](https://github.com/gohugoio).
|
4
content/en/blog/_index.md
Normal file
4
content/en/blog/_index.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
author: Katheryn Fox
|
||||
title: Blog
|
||||
---
|
49
content/en/blog/emoji-support.md
Normal file
49
content/en/blog/emoji-support.md
Normal file
|
@ -0,0 +1,49 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Emoji Support"
|
||||
date: 2021-07-15
|
||||
description: "Guide to emoji usage in Hugo"
|
||||
tags: ["emoji"]
|
||||
thumbnail: https://picsum.photos/id/1050/400/250
|
||||
---
|
||||
|
||||
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 >}}
|
147
content/en/blog/markdown-syntax.md
Normal file
147
content/en/blog/markdown-syntax.md
Normal file
|
@ -0,0 +1,147 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Markdown Syntax Guide"
|
||||
description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
||||
tags: ["markdown", "css", "html"]
|
||||
date: 2021-07-14
|
||||
thumbnail: https://picsum.photos/id/1019/500/200
|
||||
---
|
||||
|
||||
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Headings
|
||||
|
||||
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
||||
|
||||
# H1
|
||||
|
||||
## H2
|
||||
|
||||
### H3
|
||||
|
||||
#### H4
|
||||
|
||||
##### H5
|
||||
|
||||
###### H6
|
||||
|
||||
## Paragraph
|
||||
|
||||
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
||||
|
||||
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
||||
|
||||
## Blockquotes
|
||||
|
||||
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||
|
||||
#### Blockquote without attribution
|
||||
|
||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
> **Note** that you can use _Markdown syntax_ within a blockquote.
|
||||
|
||||
#### Blockquote with attribution
|
||||
|
||||
> Don't communicate by sharing memory, share memory by communicating.<br>
|
||||
> — <cite>Rob Pike[^1]</cite>
|
||||
|
||||
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||
|
||||
## Tables
|
||||
|
||||
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||
|
||||
| Name | Age |
|
||||
| ----- | --- |
|
||||
| Bob | 27 |
|
||||
| Alice | 23 |
|
||||
|
||||
#### Inline Markdown within tables
|
||||
|
||||
| Italics | Bold | Code |
|
||||
| --------- | -------- | ------ |
|
||||
| _italics_ | **bold** | `code` |
|
||||
|
||||
## Code Blocks
|
||||
|
||||
#### Code block with backticks
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
#### Code block indented with four spaces
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
#### Code block with Hugo's internal highlight shortcode
|
||||
|
||||
{{< highlight html >}}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
{{< /highlight >}}
|
||||
|
||||
## List Types
|
||||
|
||||
#### Ordered List
|
||||
|
||||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
|
||||
#### Unordered List
|
||||
|
||||
- List item
|
||||
- Another item
|
||||
- And another item
|
||||
|
||||
#### Nested list
|
||||
|
||||
- Fruit
|
||||
- Apple
|
||||
- Orange
|
||||
- Banana
|
||||
- Dairy
|
||||
- Milk
|
||||
- Cheese
|
||||
|
||||
## Other Elements — abbr, sub, sup, kbd, mark
|
||||
|
||||
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
|
||||
|
||||
H<sub>2</sub>O
|
||||
|
||||
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
|
||||
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
||||
|
||||
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
54
content/en/blog/math-typesetting.md
Normal file
54
content/en/blog/math-typesetting.md
Normal file
|
@ -0,0 +1,54 @@
|
|||
---
|
||||
author: Hugo Authors
|
||||
title: Math Typesetting
|
||||
date: 2021-07-14
|
||||
description: A brief guide to setup KaTeX
|
||||
math: true
|
||||
thumbnail: https://picsum.photos/id/1015/400/250
|
||||
---
|
||||
|
||||
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} } }
|
||||
$$
|
47
content/en/blog/placeholder-text.md
Normal file
47
content/en/blog/placeholder-text.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Placeholder Text"
|
||||
date: 2021-07-13
|
||||
description: "Lorem Ipsum Dolor Si Amet"
|
||||
tags: ["markdown", "text"]
|
||||
thumbnail: /blog-post.jpg
|
||||
---
|
||||
|
||||
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.
|
||||
|
||||
![Placeholder](/featured-placeholder.jpg)
|
||||
|
||||
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 >}}
|
32
content/en/blog/rich-content.md
Normal file
32
content/en/blog/rich-content.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "Rich Content"
|
||||
date: 2021-07-13
|
||||
description: "A brief description of Hugo Shortcodes"
|
||||
tags: ["shortcodes", "privacy"]
|
||||
thumbnail: https://picsum.photos/id/1002/400/250
|
||||
---
|
||||
|
||||
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## YouTube Privacy Enhanced Shortcode
|
||||
|
||||
{{< youtube ZJthWmvUzzc >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Twitter Simple Shortcode
|
||||
|
||||
{{< twitter_simple 1085870671291310081 >}}
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
||||
## Vimeo Simple Shortcode
|
||||
|
||||
{{< vimeo_simple 48912912 >}}
|
26
content/en/page/about.md
Normal file
26
content/en/page/about.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
author: Katheryn Fox
|
||||
title: About Me
|
||||
date: 2021-07-15
|
||||
description:
|
||||
keywords: ["about-us", "about-hugo", "contact"]
|
||||
type: about
|
||||
---
|
||||
|
||||
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
|
||||
|
||||
Hugo makes use of a variety of open source projects including:
|
||||
|
||||
- https://github.com/yuin/goldmark
|
||||
- https://github.com/alecthomas/chroma
|
||||
- https://github.com/muesli/smartcrop
|
||||
- https://github.com/spf13/cobra
|
||||
- https://github.com/spf13/viper
|
||||
|
||||
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
|
||||
|
||||
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
|
||||
|
||||
Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
|
||||
|
||||
Learn more and contribute on [GitHub](https://github.com/gohugoio).
|
0
layouts/.gitkeep
Normal file
0
layouts/.gitkeep
Normal file
3388
package-lock.json
generated
Normal file
3388
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
29
package.json
Normal file
29
package.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "blist",
|
||||
"version": "2.1.0",
|
||||
"description": "Blist is a clean and fast blog theme for your Hugo site.",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/apvarun/blist-hugo-theme",
|
||||
"author": "Varun A P",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "hugo server --disableFastRender",
|
||||
"start-examplesite": "hugo server -s exampleSite --themesDir=../.. --disableFastRender",
|
||||
"build-examplesite": "NODE_ENV=production hugo -s exampleSite --themesDir=../.. --gc",
|
||||
"build": "NODE_ENV=production hugo --gc"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.4.0",
|
||||
"autoprefixer": "^10.2.5",
|
||||
"postcss": "^8.2.10",
|
||||
"postcss-cli": "^8.3.1",
|
||||
"postcss-import": "^14.0.1",
|
||||
"tailwindcss": "^2.2.19"
|
||||
},
|
||||
"browserslist": [
|
||||
"last 1 version",
|
||||
"> 1%",
|
||||
"maintained node versions",
|
||||
"not dead"
|
||||
]
|
||||
}
|
BIN
static/blist-logo-de.png
Normal file
BIN
static/blist-logo-de.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
BIN
static/blist-logo.png
Normal file
BIN
static/blist-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
static/blog-post.jpg
Normal file
BIN
static/blog-post.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
20
static/favicon.svg
Normal file
20
static/favicon.svg
Normal file
|
@ -0,0 +1,20 @@
|
|||
<svg width="412" height="412" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<style>
|
||||
rect {
|
||||
fill: white;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
rect {
|
||||
fill: black;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<rect width="412" height="412" rx="50"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M54.661 338.686c-4.881 4.881-4.881 12.796 0 17.677 4.882 4.882 12.796 4.882 17.678 0l124.258-124.258c4.881-4.881 4.881-12.796 0-17.677-4.882-4.882-12.796-4.882-17.678 0L54.661 338.686zM182.173 132.2a12.502 12.502 0 000 22.361l47.56 23.78 7.83 46.975a12.498 12.498 0 0021.168 6.784l31.083-31.083 55.942 7.992a12.5 12.5 0 0012.948-17.965l-23.832-47.663 23.832-47.663a12.5 12.5 0 00-12.948-17.965l-55.942 7.992-31.083-31.083a12.5 12.5 0 00-21.168 6.784l-7.83 46.974-47.56 23.78zm64.434 26.627l-30.893-15.446 30.893-15.447a12.5 12.5 0 006.74-9.125l4.882-29.294 18.327 18.327a12.499 12.499 0 0010.607 3.535l38.511-5.501-15.957 31.915a12.496 12.496 0 000 11.18l15.957 31.915-38.511-5.502a12.502 12.502 0 00-10.607 3.536l-18.327 18.327-4.882-29.295a12.503 12.503 0 00-6.74-9.125zM54.661 267.605c-4.881-4.882-4.881-12.796 0-17.678l62.129-62.129c4.882-4.881 12.796-4.881 17.678 0 4.881 4.882 4.881 12.796 0 17.678l-62.13 62.129c-4.88 4.881-12.795 4.881-17.677 0zm88.759 71.081c-4.882 4.881-4.882 12.796 0 17.677 4.881 4.882 12.796 4.882 17.677 0l62.129-62.129c4.882-4.881 4.882-12.796 0-17.677-4.881-4.882-12.796-4.882-17.677 0l-62.129 62.129z" fill="url(#paint0_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="51" y1="205.512" x2="360.024" y2="205.512" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#E535AB"/>
|
||||
<stop offset="1" stop-color="#FF5C5C"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
BIN
static/featured-placeholder.jpg
Normal file
BIN
static/featured-placeholder.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
BIN
static/picture.jpg
Normal file
BIN
static/picture.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
5
themes/elli/.gitignore
vendored
Normal file
5
themes/elli/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
/.idea
|
||||
/node_modules
|
||||
/exampleSite/public
|
||||
/exampleSite/hugo_stats.json
|
||||
.DS_Store
|
89
themes/elli/CHANGELOG.md
Normal file
89
themes/elli/CHANGELOG.md
Normal file
|
@ -0,0 +1,89 @@
|
|||
# Changelog
|
||||
|
||||
All the changes made to Blist theme for Hugo.
|
||||
|
||||
## v2.1.0 - 2023-01-09
|
||||
|
||||
### Added
|
||||
|
||||
- Support multiple comment systems #64
|
||||
|
||||
## v2.0.1 - 2022-12-27
|
||||
|
||||
### Fixed
|
||||
|
||||
- Page metadata layout in mobile #94
|
||||
|
||||
## v2.0.0 - 2022-12-25
|
||||
|
||||
### Added
|
||||
|
||||
- BREAKING: Ability to specify social icons order #91
|
||||
- Table of contents support #84
|
||||
- Search customization #79
|
||||
- Option to skip showing thumbnail in post page #93
|
||||
- Added more social icons
|
||||
- Mastodon #92
|
||||
- XDA #83
|
||||
- Telegram #83
|
||||
- Buy me a coffee #83
|
||||
- Google Scholar #85
|
||||
- Facebook #90
|
||||
- Behance #66
|
||||
- Tiktok #77
|
||||
- Stackoverflow #71
|
||||
|
||||
### Fixed
|
||||
|
||||
- Inline code block #78
|
||||
|
||||
## v1.5.0 - 2022-08-11
|
||||
|
||||
### Added
|
||||
|
||||
- Ability to hide metadata via param hideMeta #37
|
||||
- Hide other languages option via param hideOtherLanguages
|
||||
- Add French support #53 #54 #55
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix broken Multilingual search
|
||||
|
||||
## v1.4.0 - 2022-01-08
|
||||
|
||||
### Added
|
||||
|
||||
- Hamburger menu for mobile UI #23
|
||||
- Image logo support #24
|
||||
|
||||
## v1.3.1 - 2021-11-28
|
||||
|
||||
### Added
|
||||
|
||||
- Adding xing support to social icons - #15
|
||||
- Fix: Adding missing whitespace between label and language in single page - #16
|
||||
- Fix: Readable Lastmod - #17
|
||||
|
||||
## v1.3.0 - 2021-10-27
|
||||
|
||||
### Added
|
||||
|
||||
- Add YouTube & Instagram social icons - #9
|
||||
- Add i18n support - #11
|
||||
- Add 404 page - #13
|
||||
|
||||
## v1.2.0 - 2021-07-18
|
||||
|
||||
### Added
|
||||
|
||||
- Add color customization for Intro and Social links blocks
|
||||
|
||||
## v1.1.0 - 2021-07-17
|
||||
|
||||
### Added
|
||||
|
||||
- Add support for text search
|
||||
|
||||
## v1.0.0 - 2021-07-16
|
||||
|
||||
- Initial Release
|
20
themes/elli/LICENSE
Normal file
20
themes/elli/LICENSE
Normal file
|
@ -0,0 +1,20 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2021 Varun A P
|
||||
|
||||
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.
|
203
themes/elli/README.md
Normal file
203
themes/elli/README.md
Normal file
|
@ -0,0 +1,203 @@
|
|||
# Blist theme for Hugo
|
||||
|
||||
![Latest Release](https://img.shields.io/github/tag/apvarun/blist-hugo-theme.svg)
|
||||
![Blist hugo theme](https://img.shields.io/github/license/apvarun/blist-hugo-theme)
|
||||
![Hugo generator](https://img.shields.io/badge/generator-hugo-brightgreen)
|
||||
|
||||
Blist is a clean and fast blog theme for your Hugo site.
|
||||
|
||||
![Blist Icon](https://github.com/apvarun/blist-hugo-theme/raw/main/images/blist-logo.png)
|
||||
|
||||
**Features:**
|
||||
|
||||
- Responsive content / Mobile-optimized
|
||||
- Blog pagination
|
||||
- Customizable Text Search
|
||||
- Table of contents
|
||||
- Social links
|
||||
- Code highlighting
|
||||
- Color customization
|
||||
- Dark mode
|
||||
- Fast performance
|
||||
- SEO optimized
|
||||
- i18n support
|
||||
- Support comments systems
|
||||
- Disqus (hugo native)
|
||||
- giscus
|
||||
- utterances
|
||||
|
||||
## Preview
|
||||
|
||||
![Preview](https://github.com/apvarun/blist-hugo-theme/raw/main/images/screenshot.png)
|
||||
|
||||
➡️ [DEMO](https://blist.vercel.app/)
|
||||
|
||||
## Get the theme
|
||||
|
||||
Minimum Hugo Version: **0.82.1**
|
||||
|
||||
Run from the root of your Hugo site:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/apvarun/blist-hugo-theme.git themes/blist
|
||||
```
|
||||
|
||||
Alternatively, you can include this repository as a [git submodule](https://git-scm.com/docs/gitsubmodules). This makes it easier to update this theme if you have your Hugo site in git as well:
|
||||
|
||||
```sh
|
||||
git submodule add https://github.com/apvarun/blist-hugo-theme.git themes/blist
|
||||
```
|
||||
|
||||
## Preview the theme with example content
|
||||
|
||||
Blist theme ships with an fully configured example site. For a quick preview:
|
||||
|
||||
Copy the `package.json` file from `themes/blist` folder to your hugo website root folder, and run `npm install`.
|
||||
|
||||
```sh
|
||||
cd themes/blist/exampleSite/
|
||||
hugo serve --themesDir ../..
|
||||
```
|
||||
|
||||
Then visit `http://localhost:1313/` in your browser to view the example site.
|
||||
|
||||
## Configuring theme to a hugo website
|
||||
|
||||
1. Copy `package.json` and `package-lock.json` to the root folder of your the website
|
||||
2. Run `npm install` to install required packages for theme
|
||||
3. Run `npm i -g postcss-cli` to use PostCSS with Hugo build
|
||||
4. Set `theme = 'blist'` in config.toml
|
||||
5. Run `npm start` to start your local server
|
||||
|
||||
Make sure to commit the above changes to your repository.
|
||||
|
||||
## Publish your website
|
||||
|
||||
When deploying to services like Netlify or Vercel, use the following command for building your site:
|
||||
|
||||
```sh
|
||||
npm i && HUGO_ENVIRONMENT=production hugo --gc
|
||||
```
|
||||
The parameter `HUGO_ENVIRONMENT=production` enables the execution of css purging.
|
||||
|
||||
## Add content
|
||||
|
||||
The following explains how to add content to your Hugo site. You can find sample content in the `exampleSite/` folder.
|
||||
|
||||
### Structure:
|
||||
|
||||
.
|
||||
├── ...
|
||||
├── blog # Blog Section
|
||||
│ ├── post1 # Post 1
|
||||
│ ├── post2 # Post 2
|
||||
│ └── _index
|
||||
└── ...
|
||||
|
||||
## Configure your site
|
||||
|
||||
From `exampleSite/`, copy `config.toml` to the root folder of your Hugo site and change the fields as you like. Helpful comments are provided.
|
||||
|
||||
### Menu
|
||||
|
||||
Menu in Blist theme is pre-set to have all section names. You can include custom links in header using the `menu.main` option config.toml.
|
||||
|
||||
### Logo
|
||||
|
||||
`logo` param in the site config will allow to use an image as the logo instead of the website name. It is localizable and so can have different logo for different languages
|
||||
|
||||
### Darkmode
|
||||
|
||||
`[params.darkModeToggle]` enables the dark mode toggle in header. The preference is then saved so that the mode is automatically chosen for return visits.
|
||||
|
||||
### Customize Ascent Color
|
||||
|
||||
Use `[params.ascentColor]` to change the default `pink` color to any supported color from the [list of default colors](https://tailwindcss.com/docs/customizing-colors) from Tailwind CSS.
|
||||
|
||||
Some example values: bg-blue-200, bg-yellow-300
|
||||
|
||||
### Search
|
||||
|
||||
`[params.enableSearch]` option is used to enable search option in the theme.
|
||||
|
||||
- Adds the search icon in header
|
||||
- Generates the search index
|
||||
- Uses fuse.js to enable searching through content
|
||||
|
||||
In order to search, you can either click on the search icon from header or press `Ctrl/Cmd + /` key combination.
|
||||
|
||||
**Note:**
|
||||
|
||||
Make sure to enable JSON in outputs array.
|
||||
|
||||
```
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
```
|
||||
|
||||
### Latex
|
||||
|
||||
Enable Mathematical options: set `math: true` in your markdown frontmatter
|
||||
|
||||
### Google Analytics
|
||||
|
||||
Set `googleAnalytics` in `config.toml` to activate Hugo's [internal Google Analytics template](https://gohugo.io/templates/internal/#google-analytics).
|
||||
|
||||
## Performance
|
||||
|
||||
[![Pagespeed Insights Performance](https://github.com/apvarun/blist-hugo-theme/raw/main/images/pagespeed-performance.png)](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fblist.vercel.app&tab=mobile)
|
||||
|
||||
## Issues
|
||||
|
||||
If you have a question, please [open an issue](https://github.com/apvarun/blist-hugo-theme/issues) for help and to help those who come after you. The more information you can provide, the better!
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions, issues, and feature requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/apvarun"><img alt="apvarun"
|
||||
src="https://avatars.githubusercontent.com/u/8411309?v=4" width="117" /><br />apvarun</a></td>
|
||||
<td align="center"><a href="https://github.com/Ravinou"><img alt="Ravinou"
|
||||
src="https://avatars.githubusercontent.com/u/39600829?v=4" width="117" /><br />Ravinou</a></td>
|
||||
<td align="center"><a href="https://github.com/engel-b"><img alt="engel-b"
|
||||
src="https://avatars.githubusercontent.com/u/5812810?v=4" width="117" /><br />engel-b</a></td>
|
||||
<td align="center"><a href="https://github.com/chris-gillatt"><img alt="chris-gillatt"
|
||||
src="https://avatars.githubusercontent.com/u/9963006?v=4" width="117" /><br />chris-gillatt</a></td>
|
||||
<td align="center"><a href="https://github.com/apps/dependabot"><img alt="dependabot[bot]"
|
||||
src="https://avatars.githubusercontent.com/in/29110?v=4" width="117" /><br />dependabot[bot]</a></td>
|
||||
<td align="center"><a href="https://github.com/xLexip"><img alt="xLexip"
|
||||
src="https://avatars.githubusercontent.com/u/46321162?v=4" width="117" /><br />xLexip</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/AntoineSoetewey"><img alt="AntoineSoetewey"
|
||||
src="https://avatars.githubusercontent.com/u/17910063?v=4" width="117" /><br />AntoineSoetewey</a></td>
|
||||
<td align="center"><a href="https://github.com/chiragksharma"><img alt="chiragksharma"
|
||||
src="https://avatars.githubusercontent.com/u/74889769?v=4" width="117" /><br />chiragksharma</a></td>
|
||||
<td align="center"><a href="https://github.com/dlecan"><img alt="dlecan"
|
||||
src="https://avatars.githubusercontent.com/u/586631?v=4" width="117" /><br />dlecan</a></td>
|
||||
<td align="center"><a href="https://github.com/jpiaskowski"><img alt="jpiaskowski"
|
||||
src="https://avatars.githubusercontent.com/u/8420943?v=4" width="117" /><br />jpiaskowski</a></td>
|
||||
<td align="center"><a href="https://github.com/lucab85"><img alt="lucab85"
|
||||
src="https://avatars.githubusercontent.com/u/24267107?v=4" width="117" /><br />lucab85</a></td>
|
||||
<td align="center"><a href="https://github.com/Marty"><img alt="Marty"
|
||||
src="https://avatars.githubusercontent.com/u/100658?v=4" width="117" /><br />Marty</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/ernavdeepkr"><img alt="ernavdeepkr"
|
||||
src="https://avatars.githubusercontent.com/u/50796185?v=4" width="117" /><br />ernavdeepkr</a></td>
|
||||
<td align="center"><a href="https://github.com/roypeter"><img alt="roypeter"
|
||||
src="https://avatars.githubusercontent.com/u/16620459?v=4" width="117" /><br />roypeter</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## License
|
||||
|
||||
Licensed under [MIT](LICENSE)
|
||||
|
||||
## 🤝 Support
|
||||
|
||||
Give a ⭐️ if you like this project!
|
||||
|
||||
<a href="https://www.buymeacoffee.com/apvarun" target="_blank" rel="noopener"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="40" width="145" alt="Buy Me A Coffee"></a>
|
2
themes/elli/archetypes/default.md
Normal file
2
themes/elli/archetypes/default.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
+++
|
||||
+++
|
15
themes/elli/assets/css/paginator.css
Normal file
15
themes/elli/assets/css/paginator.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
.pagination {
|
||||
@apply inline-flex border rounded px-1 dark:border-gray-600;
|
||||
}
|
||||
.page-item {
|
||||
@apply mx-0.5 my-1 cursor-pointer rounded hover:bg-gray-800 hover:text-white dark:hover:bg-gray-500 dark:hover:text-white;
|
||||
}
|
||||
a.page-link {
|
||||
@apply px-3 py-1 block;
|
||||
}
|
||||
.page-item.active {
|
||||
@apply bg-gray-800 text-white dark:bg-gray-300 dark:text-gray-900;
|
||||
}
|
||||
.page-item.disabled {
|
||||
@apply text-gray-400 hover:bg-transparent hover:text-gray-400 cursor-not-allowed;
|
||||
}
|
13
themes/elli/assets/css/postcss.config.js
Normal file
13
themes/elli/assets/css/postcss.config.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
const themeDir = __dirname + "/../../";
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
require("postcss-import")({
|
||||
path: [themeDir],
|
||||
}),
|
||||
require("tailwindcss")(themeDir + "assets/css/tailwind.config.js"),
|
||||
require("autoprefixer")({
|
||||
path: [themeDir],
|
||||
}),
|
||||
],
|
||||
};
|
55
themes/elli/assets/css/site.css
Normal file
55
themes/elli/assets/css/site.css
Normal file
|
@ -0,0 +1,55 @@
|
|||
/* Custom Styles */
|
||||
body {
|
||||
font-family: "Inter", sans-serif;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
|
||||
/* inter-300 - latin */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url("/fonts/inter-v3-latin-300.eot"); /* IE9 Compat Modes */
|
||||
src: local(""),
|
||||
url("/fonts/inter-v3-latin-300.eot?#iefix") format("embedded-opentype"),
|
||||
/* IE6-IE8 */ url("/fonts/inter-v3-latin-300.woff2") format("woff2"),
|
||||
/* Super Modern Browsers */ url("/fonts/inter-v3-latin-300.woff")
|
||||
format("woff"),
|
||||
/* Modern Browsers */ url("/fonts/inter-v3-latin-300.ttf")
|
||||
format("truetype"),
|
||||
/* Safari, Android, iOS */ url("/fonts/inter-v3-latin-300.svg#Inter")
|
||||
format("svg"); /* Legacy iOS */
|
||||
}
|
||||
/* inter-500 - latin */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url("/fonts/inter-v3-latin-500.eot"); /* IE9 Compat Modes */
|
||||
src: local(""),
|
||||
url("/fonts/inter-v3-latin-500.eot?#iefix") format("embedded-opentype"),
|
||||
/* IE6-IE8 */ url("/fonts/inter-v3-latin-500.woff2") format("woff2"),
|
||||
/* Super Modern Browsers */ url("/fonts/inter-v3-latin-500.woff")
|
||||
format("woff"),
|
||||
/* Modern Browsers */ url("/fonts/inter-v3-latin-500.ttf")
|
||||
format("truetype"),
|
||||
/* Safari, Android, iOS */ url("/fonts/inter-v3-latin-500.svg#Inter")
|
||||
format("svg"); /* Legacy iOS */
|
||||
}
|
||||
/* inter-700 - latin */
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url("/fonts/inter-v3-latin-700.eot"); /* IE9 Compat Modes */
|
||||
src: local(""),
|
||||
url("/fonts/inter-v3-latin-700.eot?#iefix") format("embedded-opentype"),
|
||||
/* IE6-IE8 */ url("/fonts/inter-v3-latin-700.woff2") format("woff2"),
|
||||
/* Super Modern Browsers */ url("/fonts/inter-v3-latin-700.woff")
|
||||
format("woff"),
|
||||
/* Modern Browsers */ url("/fonts/inter-v3-latin-700.ttf")
|
||||
format("truetype"),
|
||||
/* Safari, Android, iOS */ url("/fonts/inter-v3-latin-700.svg#Inter")
|
||||
format("svg"); /* Legacy iOS */
|
||||
}
|