From d77a96e3bea298c6ef3b6c2decb178119d710367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?HUC=20St=C3=A9phane?= Date: Thu, 10 Dec 2020 15:23:05 +0100 Subject: [PATCH] first commit --- .gitignore | 1 + .gitmodules | 3 + archetypes/default.md | 6 + config.toml | 1348 +++++++++++ content/about.md | 65 + content/donate.md | 32 + content/liste.md | 34 + .../libressl-3.3.1-3.2.3-3.1.5-20201209.md | 24 + content/posts/openntpd-6.8p1-20201209.md | 44 + content/posts/syspatch-asn1-exit-20201208.md | 36 + data/Socials.toml | 48 + deploy.bash | 186 ++ i18n/fr.toml | 174 ++ public/404.html | 109 + public/Puffy.svg | 1975 +++++++++++++++++ public/about/index.html | 473 ++++ public/android-icon-144x144.png | Bin 0 -> 21128 bytes public/android-icon-192x192.png | Bin 0 -> 31516 bytes public/android-icon-36x36.png | Bin 0 -> 2716 bytes public/android-icon-48x48.png | Bin 0 -> 3969 bytes public/android-icon-72x72.png | Bin 0 -> 7237 bytes public/android-icon-96x96.png | Bin 0 -> 11471 bytes public/apple-icon-114x114.png | Bin 0 -> 14796 bytes public/apple-icon-120x120.png | Bin 0 -> 15955 bytes public/apple-icon-144x144.png | Bin 0 -> 21128 bytes public/apple-icon-152x152.png | Bin 0 -> 23056 bytes public/apple-icon-180x180.png | Bin 0 -> 30150 bytes public/apple-icon-57x57.png | Bin 0 -> 5087 bytes public/apple-icon-60x60.png | Bin 0 -> 5471 bytes public/apple-icon-72x72.png | Bin 0 -> 7237 bytes public/apple-icon-76x76.png | Bin 0 -> 7881 bytes public/apple-icon-precomposed.png | Bin 0 -> 32090 bytes public/apple-icon.png | Bin 0 -> 32090 bytes public/atom.xml | 263 +++ public/categories/index.html | 622 ++++++ public/categories/libressl/index.html | 345 +++ public/categories/openntpd/index.html | 345 +++ public/categories/syspatch/index.html | 345 +++ ...bf0a7be73c808104a321b47dba0045a25dc6a2.css | 10 + public/donate/index.html | 451 ++++ public/favicon-16x16.png | Bin 0 -> 1383 bytes public/favicon-200x200.png | Bin 0 -> 36938 bytes public/favicon-32x32.png | Bin 0 -> 2386 bytes public/favicon-96x96.png | Bin 0 -> 11471 bytes public/favicon.ico | Bin 0 -> 1150 bytes public/fonts/glyph-correction.eot | Bin 0 -> 2226 bytes public/fonts/glyph-correction.ttf | Bin 0 -> 1972 bytes public/fonts/glyph-correction.woff | Bin 0 -> 2048 bytes public/fonts/glyph-correction.woff2 | Bin 0 -> 788 bytes public/icons/Logo-128px.png | Bin 0 -> 39409 bytes public/icons/Logo-24px.png | Bin 0 -> 12861 bytes public/icons/Logo-32px.png | Bin 0 -> 9610 bytes public/icons/Logo-64px.png | Bin 0 -> 20462 bytes public/icons/android-chrome-512x512.png | Bin 0 -> 194922 bytes public/icons/apple-touch-icon.png | Bin 0 -> 223341 bytes public/icons/mstile-150x150.png | Bin 0 -> 45431 bytes public/icons/safari-pinned-tab.svg | 1975 +++++++++++++++++ public/index.html | 421 ++++ ...89188138284a676835279695151bc852c31aa4e.js | 42 + public/liste/index.html | 453 ++++ public/manifest.json | 16 + public/ms-icon-144x144.png | Bin 0 -> 21128 bytes public/ms-icon-150x150.png | Bin 0 -> 22670 bytes public/ms-icon-310x310.png | Bin 0 -> 71154 bytes public/ms-icon-70x70.png | Bin 0 -> 6963 bytes public/page/1/index.html | 1 + public/posts/index.html | 376 ++++ .../index.html | 511 +++++ .../posts/openntpd-6.8p1-20201209/index.html | 543 +++++ .../syspatch-asn1-exit-20201208/index.html | 536 +++++ public/robots.txt | 1 + public/rss.xml | 267 +++ public/search.json | 1 + public/sitemap.xml | 120 + public/tags/3.1/index.html | 345 +++ public/tags/3.2/index.html | 345 +++ public/tags/3.3/index.html | 345 +++ public/tags/6.7/index.html | 345 +++ public/tags/6.8/index.html | 350 +++ public/tags/asn.1/index.html | 345 +++ public/tags/exit/index.html | 345 +++ public/tags/index.html | 372 ++++ public/tags/libressl/index.html | 345 +++ public/tags/openntpd/index.html | 345 +++ public/tags/syspatch/index.html | 345 +++ ...s_418f1d9e3dec82e87de1b3d7bf63a745.content | 10 + ...scss_418f1d9e3dec82e87de1b3d7bf63a745.json | 1 + static/Puffy.svg | 1975 +++++++++++++++++ static/android-icon-144x144.png | Bin 0 -> 21128 bytes static/android-icon-192x192.png | Bin 0 -> 31516 bytes static/android-icon-36x36.png | Bin 0 -> 2716 bytes static/android-icon-48x48.png | Bin 0 -> 3969 bytes static/android-icon-72x72.png | Bin 0 -> 7237 bytes static/android-icon-96x96.png | Bin 0 -> 11471 bytes static/apple-icon-114x114.png | Bin 0 -> 14796 bytes static/apple-icon-120x120.png | Bin 0 -> 15955 bytes static/apple-icon-144x144.png | Bin 0 -> 21128 bytes static/apple-icon-152x152.png | Bin 0 -> 23056 bytes static/apple-icon-180x180.png | Bin 0 -> 30150 bytes static/apple-icon-57x57.png | Bin 0 -> 5087 bytes static/apple-icon-60x60.png | Bin 0 -> 5471 bytes static/apple-icon-72x72.png | Bin 0 -> 7237 bytes static/apple-icon-76x76.png | Bin 0 -> 7881 bytes static/apple-icon-precomposed.png | Bin 0 -> 32090 bytes static/apple-icon.png | Bin 0 -> 32090 bytes static/favicon-16x16.png | Bin 0 -> 1383 bytes static/favicon-200x200.png | Bin 0 -> 36938 bytes static/favicon-32x32.png | Bin 0 -> 2386 bytes static/favicon-96x96.png | Bin 0 -> 11471 bytes static/favicon.ico | Bin 0 -> 1150 bytes static/icons/Logo-128px.png | Bin 0 -> 39409 bytes static/icons/Logo-24px.png | Bin 0 -> 12861 bytes static/icons/Logo-32px.png | Bin 0 -> 9610 bytes static/icons/Logo-64px.png | Bin 0 -> 20462 bytes static/icons/android-chrome-512x512.png | Bin 0 -> 194922 bytes static/icons/apple-touch-icon.png | Bin 0 -> 223341 bytes static/icons/mstile-150x150.png | Bin 0 -> 45431 bytes static/icons/safari-pinned-tab.svg | 1975 +++++++++++++++++ static/ms-icon-144x144.png | Bin 0 -> 21128 bytes static/ms-icon-150x150.png | Bin 0 -> 22670 bytes static/ms-icon-310x310.png | Bin 0 -> 71154 bytes static/ms-icon-70x70.png | Bin 0 -> 6963 bytes themes/meme | 1 + 123 files changed, 19991 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/about.md create mode 100644 content/donate.md create mode 100644 content/liste.md create mode 100644 content/posts/libressl-3.3.1-3.2.3-3.1.5-20201209.md create mode 100644 content/posts/openntpd-6.8p1-20201209.md create mode 100644 content/posts/syspatch-asn1-exit-20201208.md create mode 100644 data/Socials.toml create mode 100755 deploy.bash create mode 100644 i18n/fr.toml create mode 100644 public/404.html create mode 100644 public/Puffy.svg create mode 100644 public/about/index.html create mode 100644 public/android-icon-144x144.png create mode 100644 public/android-icon-192x192.png create mode 100644 public/android-icon-36x36.png create mode 100644 public/android-icon-48x48.png create mode 100644 public/android-icon-72x72.png create mode 100644 public/android-icon-96x96.png create mode 100644 public/apple-icon-114x114.png create mode 100644 public/apple-icon-120x120.png create mode 100644 public/apple-icon-144x144.png create mode 100644 public/apple-icon-152x152.png create mode 100644 public/apple-icon-180x180.png create mode 100644 public/apple-icon-57x57.png create mode 100644 public/apple-icon-60x60.png create mode 100644 public/apple-icon-72x72.png create mode 100644 public/apple-icon-76x76.png create mode 100644 public/apple-icon-precomposed.png create mode 100644 public/apple-icon.png create mode 100644 public/atom.xml create mode 100644 public/categories/index.html create mode 100644 public/categories/libressl/index.html create mode 100644 public/categories/openntpd/index.html create mode 100644 public/categories/syspatch/index.html create mode 100644 public/css/meme.min.125c8bd0a5193a04c0d96304dfbf0a7be73c808104a321b47dba0045a25dc6a2.css create mode 100644 public/donate/index.html create mode 100644 public/favicon-16x16.png create mode 100644 public/favicon-200x200.png create mode 100644 public/favicon-32x32.png create mode 100644 public/favicon-96x96.png create mode 100644 public/favicon.ico create mode 100644 public/fonts/glyph-correction.eot create mode 100644 public/fonts/glyph-correction.ttf create mode 100644 public/fonts/glyph-correction.woff create mode 100644 public/fonts/glyph-correction.woff2 create mode 100644 public/icons/Logo-128px.png create mode 100644 public/icons/Logo-24px.png create mode 100644 public/icons/Logo-32px.png create mode 100644 public/icons/Logo-64px.png create mode 100644 public/icons/android-chrome-512x512.png create mode 100644 public/icons/apple-touch-icon.png create mode 100644 public/icons/mstile-150x150.png create mode 100644 public/icons/safari-pinned-tab.svg create mode 100644 public/index.html create mode 100644 public/js/meme.min.bcab05de98c183b56bfe9f39289188138284a676835279695151bc852c31aa4e.js create mode 100644 public/liste/index.html create mode 100644 public/manifest.json create mode 100644 public/ms-icon-144x144.png create mode 100644 public/ms-icon-150x150.png create mode 100644 public/ms-icon-310x310.png create mode 100644 public/ms-icon-70x70.png create mode 100644 public/page/1/index.html create mode 100644 public/posts/index.html create mode 100644 public/posts/libressl-3.3.1-3.2.3-3.1.5-20201209/index.html create mode 100644 public/posts/openntpd-6.8p1-20201209/index.html create mode 100644 public/posts/syspatch-asn1-exit-20201208/index.html create mode 100644 public/robots.txt create mode 100644 public/rss.xml create mode 100644 public/search.json create mode 100644 public/sitemap.xml create mode 100644 public/tags/3.1/index.html create mode 100644 public/tags/3.2/index.html create mode 100644 public/tags/3.3/index.html create mode 100644 public/tags/6.7/index.html create mode 100644 public/tags/6.8/index.html create mode 100644 public/tags/asn.1/index.html create mode 100644 public/tags/exit/index.html create mode 100644 public/tags/index.html create mode 100644 public/tags/libressl/index.html create mode 100644 public/tags/openntpd/index.html create mode 100644 public/tags/syspatch/index.html create mode 100644 resources/_gen/assets/scss/scss/main.scss_418f1d9e3dec82e87de1b3d7bf63a745.content create mode 100644 resources/_gen/assets/scss/scss/main.scss_418f1d9e3dec82e87de1b3d7bf63a745.json create mode 100644 static/Puffy.svg create mode 100644 static/android-icon-144x144.png create mode 100644 static/android-icon-192x192.png create mode 100644 static/android-icon-36x36.png create mode 100644 static/android-icon-48x48.png create mode 100644 static/android-icon-72x72.png create mode 100644 static/android-icon-96x96.png create mode 100644 static/apple-icon-114x114.png create mode 100644 static/apple-icon-120x120.png create mode 100644 static/apple-icon-144x144.png create mode 100644 static/apple-icon-152x152.png create mode 100644 static/apple-icon-180x180.png create mode 100644 static/apple-icon-57x57.png create mode 100644 static/apple-icon-60x60.png create mode 100644 static/apple-icon-72x72.png create mode 100644 static/apple-icon-76x76.png create mode 100644 static/apple-icon-precomposed.png create mode 100644 static/apple-icon.png create mode 100644 static/favicon-16x16.png create mode 100644 static/favicon-200x200.png create mode 100644 static/favicon-32x32.png create mode 100644 static/favicon-96x96.png create mode 100644 static/favicon.ico create mode 100644 static/icons/Logo-128px.png create mode 100644 static/icons/Logo-24px.png create mode 100644 static/icons/Logo-32px.png create mode 100644 static/icons/Logo-64px.png create mode 100644 static/icons/android-chrome-512x512.png create mode 100644 static/icons/apple-touch-icon.png create mode 100644 static/icons/mstile-150x150.png create mode 100644 static/icons/safari-pinned-tab.svg create mode 100644 static/ms-icon-144x144.png create mode 100644 static/ms-icon-150x150.png create mode 100644 static/ms-icon-310x310.png create mode 100644 static/ms-icon-70x70.png create mode 160000 themes/meme diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c75eecc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/public diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6fc0d79 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/meme"] + path = themes/meme + url = https://github.com/reuixiy/hugo-theme-meme.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..dab0e4a --- /dev/null +++ b/config.toml @@ -0,0 +1,1348 @@ +########################################## +# Site Settings + +baseURL = "https://openbsd.fr.eu.org/" +title = "OpenBSD Pour Tous 🐡" +languageCode = "fr" +hasCJKLanguage = false +# Copyright information (Markdown supported) +copyright = "[CC 0](https://creativecommons.org/publicdomain/zero/1.0/deed.fr)" + +# Name of theme +theme = "meme" + +# `hugo new` automatically opened text editor +newContentEditor = "geany" + +# i18n +defaultContentLanguage = "fr" +defaultContentLanguageInSubdir = false + +# Pluralize titles in lists? +pluralizeListTitles = false + +# The length of text in words to show in summary +summaryLength = 42 + +# Enable Emoji emoticons support? +enableEmoji = false + +# Text to display for footnote return links +footnoteReturnLinkContents = "↩" + +# Enable `.GitInfo` object for each page? +enableGitInfo = false + +# Enable generation of `robots.txt` file? +enableRobotsTXT = true + +# Number of items per page in paginated +# lists (valid for the `posts` homepage +# layout in MemE) +paginate = 7 + +# URL related +disablePathToLower = false +relativeURLs = false +uglyURLs = false + +# URL structure +[permalinks] + categories = "/categories/:slug/" + tags = "/tags/:slug/" + +# Taxonomies +[taxonomies] + category = "categories" + tag = "tags" + +# Modified date +[frontmatter] + lastmod = ["lastmod", ":git", ":fileModTime", ":default"] + +# Markdown renderer +[markup] + defaultMarkdownHandler = "goldmark" + [markup.goldmark] + [markup.goldmark.extensions] + definitionList = true + footnote = true + linkify = true + strikethrough = true + table = true + taskList = true + typographer = true + [markup.goldmark.parser] + attribute = true + autoHeadingID = true + autoHeadingIDType = "github" + [markup.goldmark.renderer] + hardWraps = false + unsafe = true + xHTML = false + [markup.highlight] + codeFences = true + guessSyntax = false + lineNos = true + lineNumbersInTable = true + noClasses = false + [markup.tableOfContents] + startLevel = 2 + endLevel = 6 + ordered = true + +# Author’s information +[author] + # Name + name = "OBSD4a" + # Email + email = "puffy@openbsd.fr.eu.org" + # Motto or introduction + motto = "OpenBSD Pour Tous" + # Avatar + avatar = "/Puffy.svg" + # Personal website, default: baseURL + website = "https://openbsd.fr.eu.org/" + # Twitter + #twitter = "reuixiy" + +# Related content +[related] + threshold = 80 + includeNewer = true + toLower = true + [[related.indices]] + name = "categories" + weight = 100 + [[related.indices]] + name = "tags" + weight = 95 + [[related.indices]] + name = "date" + weight = 10 + pattern = "2006" + +# MIME type of Atom +[mediaTypes."application/atom+xml"] + suffixes = ["xml"] + +# Custom Atom template of MemE +[outputFormats.SectionsAtom] + mediaType = "application/atom+xml" + baseName = "atom" + +# Custom RSS template of MemE +[outputFormats.SectionsRSS] + mediaType = "application/rss+xml" + baseName = "rss" + +# Search index for lunr.js +[outputFormats.SearchIndex] + mediaType = "application/json" + baseName = "search" + +# Hugo’s output control +[outputs] + page = ["HTML"] + home = ["HTML", "SectionsAtom", "SectionsRSS", "SearchIndex"] + section = ["HTML"] + taxonomy = ["HTML"] + term = ["HTML"] + +# Maximum number of items in the Atom & RSS feed +[services.rss] + limit = -1 + + + +########################################## +# Menu Settings + +# MemE supports the following four menus: +# 1. main Menu bar below the header +# (center layout) or inside +# the header (flex layout) +# 2. home Links at the bottom of the +# homepage (valid for the +# `poetry` and `footage` +# homepage layout) +# 3. socials Social bar (minimal footer +# in about page) +# 4. links Link bar (minimal footer +# in about page) + +# The configuration instructions in the +# menu are as follows: +# url URL +# name Text (won’t display if it +# is left empty("") or does +# not exist) +# weight Position +# pre Type of link (internal or +# external) +# post Icon (won’t display if it +# is left empty("") or does +# not exist) +# identifier Icon’s class name +# (there are three special +# values for header layout +# flex: `theme-switcher`, +# `lang-switcher`, `search`) + +[menu] + ## Menu bar + # [[menu.main]] + # url = "/" + # name = "Home" + # weight = 1 + # pre = "internal" + # post = "home" + [[menu.main]] + url = "/posts/" + name = "Posts" + weight = 2 + pre = "internal" + post = "archive" + [[menu.main]] + url = "/categories/" + name = "Categories" + weight = 3 + pre = "internal" + post = "th" + [[menu.main]] + url = "/tags/" + name = "Tags" + weight = 4 + pre = "internal" + post = "tags" + [[menu.main]] + url = "/about/" + name = "About" + weight = 5 + pre = "internal" + post = "user-circle" + [[menu.main]] + weight = 6 + identifier = "theme-switcher" + [[menu.main]] + weight = 7 + identifier = "lang-switcher" + [[menu.main]] + weight = 11 + identifier = "search" + post = "search" + [[menu.main]] + identifier = "forum" + name = "Forum" + url = "https://forum.openbsd.fr.eu.org" + weight = 9 + [[menu.main]] + identifier = "wiki" + name = "Wiki" + url = "https://wiki.openbsd.fr.eu.org" + weight = 10 + + +########################################## +# Theme Settings + +[params] + ###################################### + # Header + + enableHeader = true + + displayHeaderInHome = true + # Note: invalid for header layout flex + + headerBackground = "linear-gradient(90deg, #f795331a 0, #f370551a 15%, #ef4e7b1a 30%, #a166ab1a 44%, #5073b81a 58%, #1098ad1a 72%, #07b39b1a 86%, #6dba821a 100%)" + # Note: https://developer.mozilla.org/en-US/docs/Web/CSS/background + + headerLayout = "flex" + # Note: center or flex + + # Hide menu bar and display a toggle + # on narrow screen? + enableNavToggle = true + + navHeight = "10em" + # Note: menu bar height when it’s + # toggled + + + ###################################### + # Brand Bar (inside header) + + # Use SVG? + siteBrandSVG = false + # If true, put your SVG in the `SVG.toml` + # file and configure the following options. + # Unit: px + siteBrandSVGWidth = 250 + siteBrandSVGHeight = 100 + siteBrandSVGFill = "#fff" + # If false, your site title will be + # used as the default and displayed as + # text. The font size and font color + # can be configured below. The font + # family can be configured in typography + # section at the bottom of this file. + # Unit: em + siteBrandFontSize = 1 + siteBrandFontColor = "var(--color-contrast-high)" + + + ###################################### + # Menu Bar + + enableMenu = true + # Note: invalid for header layout flex + + displayMenuInHome = true + # Note: invalid for header layout flex + + # Highlight current menu item by section? + activeInSection = false + # Note: if true, the menu item in the + # post page will be highlighted + # also if that post’s section is + # the `url` of that menu item + + + ###################################### + # Homepage Layout + + # For homepage layout, MemE has the + # following four different types: + # 1. poetry A few lines of verse + # 2. footage With fullscreen background videos + # 3. posts List of post’s summary + # 4. page Normal page/post + + homeLayout = "posts" + + ## Poetry + # Verse (Markdown supported) + homePoetry = [] + # Padding of links at the bottom + # Unit: em + homeLinksPadding = 1 + + ## Footage + homePoster = "" + homeVideoWebm = "" + homeVideoMp4 = "" + homeLogo = "/Puffy.svg" + homeLogoLink = "openbsd.fr.eu.org" + homeTitle = "OpenBSD Pour Tous" + homeMotto = "OpenBSD Pour Tous" + homeDescription = "Site de la communautĂ© française autour d'OpenBSD" + homeKeywords = "OpenBSD,fr,France" + homeLinksDelimiter = "" + + + ###################################### + # Site Info + + siteLogo = "/Puffy.svg" + # Note: used for JSON-LD, Open Graph + + siteDescription = "OBSD4a : Site de la communautĂ© française autour d'OpenBSD." + # Note: used for HTML head meta, JSON-LD, + # Open Graph, Atom, RSS + + siteCreatedTime = "2016-09-01T01:01:01+00:00" + # ATTENTION: keep this format, change + # the number + + #siteTwitter = "reuixiy" + # Note: used for Twitter Cards + + + ###################################### + # Category By + + # MemE supports category by: + # 1. sections + # 2. categories + # The sections is based on the site’s + # `content` directory structure; the + # categories is based on the post’s + # Front Matter. First of all, category + # means tree structure (nested, with + # sub-category). To achieve it, Hexo + # uses the second method, while Hugo + # uses the first method. Due to the + # different design philosophy, the + # difference between Hexo and Hugo has + # been made. Therefore, this option + # was designed here to be user friendly + # to those who come from Hexo. But note + # that the second method cannot be + # implemented perfectly in Hugo. I + # recommended you adapt to Hugo’s design + # philosophy if you want to keep the + # tree organization structure of your + # posts. + + categoryBy = "categories" + # ATTENTION: If you set it to `sections`, + # be sure to delete `categories` + # in `taxonomies` at the top + # of this file. Otherwise, + # the categories page will + # be invalid. Also, you need + # to create a new + # `content/categories/_index.md` + # file by yourself. + + + ###################################### + # Categories Page + + # Enable tree structure layout? + enableTree = true + # ATTENTION: This option cannot be + # disabled if you set + # `categoryBy` to `sections` + + # Display title of posts? + displayPosts = true + + # Display count of posts under each + # category? + displayPostsCount = true + + # Set to a non-negative number to limit + # the number of posts displayed per + # category/section. + limitPostsLimit = -1 + + + ###################################### + # Tags Page + + enableTagCloud = true + + fontUnit = "em" + largestFontSize = 2.5 + smallestFontSize = 1 + + + ###################################### + # List Page + + listWidth = 36 + # Note: you can leave it empty("") to + # fallback to the default value: 42 + # Unit: em + + displayListTitle = true + + listDateFormat = "January 2" + # ATTENTION: be sure to follow the + # specified format + # https://gohugo.io/functions/format/ + + listDatePosition = "right" + # Note: left or right + + # Separate the list by month? + groupByMonth = true + + # Enable Chinese zodiac? + chineseZodiac = false + + # Translate the year? (valid for title) + i18nYear = true + # Translate the month? (valid for title) + i18nMonth = true + + + ###################################### + # Taxonomy List Page + + # Note: for categories page, you can + # set `enableTree` to false to + # get a normal taxonomy list + # page; for tags page, you can + # set `enableTagCloud` to false + # to get a normal taxonomy list + # page. + + # Display count of posts in each + # taxonomy term? + displayTaxonomyTermCount = true + + # Set to a non-negative number to limit + # the number of posts displayed per + # taxonomy term. + limitEntriesLimit = -1 + + + ###################################### + # Post Sections + + # Note: the name of the section is the + # name of the folder under the + # site’s `content` directory. + + # mainSections = ["posts"] + + + ###################################### + # Atom & RSS + + # Include full content? + includeContent = true + # Note: If false, only the summary of + # the post will be included. The + # summary, Hugo automatically + # takes the first 70 words (you + # can customize this via + # `summaryLength`) of your content + # as its summary by default. + # Alternatively, you may use the + # (with no whitespace) + # summary divider to split summary + # manually. Or use the `summary` + # variable in post’s Front + # Matter to assign it manually. + # The priority of them: assign + # manually > split manually > + # split automatically. Additionally, + # `description` in post’s Front + # Matter has a higher priority + # than assign manually in the + # custom Atom & RSS template of + # MemE. + + + ###################################### + # Dark Mode + + enableDarkMode = true + + defaultTheme = "dark" + # Note: light or dark + + hideThemeToggle = false + hideThemeToggleInHome = false + # Note: If dark mode is enabled and + # theme toggle is hidden, your + # readers may still read your + # blog in dark mode if the + # reader’s system is set to dark + # mode. Similarly, if dark mode + # is enabled and is set to the + # default theme, your readers + # may still read your blog in + # light mode, even if you have + # hidden the theme toggle. + # Unless you enable the following + # option. + + overrideSystemPreferences = false + + + ###################################### + # Web App + + # Note: go to https://realfavicongenerator.net/ + # to generate related icons and + # files, unzip after downloading, + # and keep only android-chrome-512x512.png, + # apple-touch-icon.png, mstile-150x150.png, + # safari-pinned-tab.svg, favicon.ico, + # site.webmanifest these files, + # delete the rest. Then move + # these files to the ~/blog/static/icons/ + # directory, move favicon.ico, + # site.webmanifest to the ~/blog/static/ + # directory, and finally rename + # site.webmanifest to manifest.json, + # and check and modify related + # content (the path of the icons). + + themeColor = "#fff" + themeColorDark = "#16171d" + safariMaskColor = "#2a6df4" + msApplicationTileColor = "#fff" + + + ###################################### + # HTML Head Meta, SEO & Social Discovery + + jsonLD = true + openGraph = true + twitterCards = true + # ATTENTION: If you set twitterCards + # to `true`, be sure to + # enable openGraph also. + # Otherwise, the Twitter + # Cards info will be + # incomplete. + + autoDetectImages = true + # Note: It is recommended to enable it. + # Otherwise, you must manually + # specify `images` in post’s + # Front Matter or links you + # shared on social networks or + # APPs will not be able to + # display a summary view with a + # large image. + + + ###################################### + # Service Worker + + # Note: render only in production + # environment + + enableServiceWorker = false + + + ###################################### + # KaTeX (chemical equation supported) + + enableKaTeX = false + # Note: *global settings* + # `katex` in post’s Front Matter + # has a higher priority than here + + + ###################################### + # MathJax (chemical equation supported) + + enableMathJax = false + # Note: *global settings* + # `mathjax` in post’s Front Matter + # has a higher priority than here + + disableMathJaxMenu = false + + + ###################################### + # Mermaid (https://github.com/mermaid-js/mermaid) + + enableMermaid = false + # Note: *global settings* + # `mermaid` in post’s Front Matter + # has a higher priority than here + + mermaidTheme = 'default' + mermaidThemeDark = 'dark' + + + ###################################### + # Comments + + # Note: render only in production + # environment + + enableComments = false + # Note: *global settings* + # `comments` in post’s Front Matter + # has a higher priority than here + + ## Disqus + enableDisqus = false + disqusShortname = "" + + ## Valine + enableValine = false + valineAppId = "" + valineAppKey = "" + valinePlaceholder = "Just go go" + valinePath = "" + valineAvatar = "mm" + valineMeta = ["nick", "mail", "link"] + valinePageSize = 10 + valineLang = "en" + valineVisitor = false + valineHighlight = true + valineAvatarForce = false + valineRecordIP = false + valineServerURLs = "" + valineEmojiCDN = "" + valineEmojiMaps = {} + valineEnableQQ = false + valineRequiredFields = [] + # Note: https://valine.js.org/ + + ## Utterances + enableUtterances = false + utterancesRepo = "" + utterancesIssueTerm = "pathname" + utterancesTheme = "github-light" + utterancesThemeDark = "photon-dark" + utterancesLabel = "" + # Note: https://utteranc.es/ + + + ###################################### + # Google Analytics + + # Note: render only in production + # environment + + enableGoogleAnalytics = false + + trackingCodeType = "gtag" + # Note: gtag or analytics + + trackingID = "" + + + ###################################### + # Google Site Verification + + googleSiteVerification = "" + + + ###################################### + # Google AdSense + + # Note: render only in production + # environment + + googleAdClient = "" + + ## Auto Ads + enableGoogleAutoAds = false + + ## Ad Units + enableGoogleAdUnits = false + googleAdSlot = "" + + + ###################################### + # Post Settings + + # The color change duration of the + # hyperlink (in seconds) + duration = 0.5 + + # Primary color of light mode + primaryColorLight = "220, 90%, 56%" + # Primary color of dark mode + primaryColorDark = "201, 65%, 62%" + # ATTENTION: only HSL color values ​​are + # supported + + # The content width of the post + postWidth = 36 + # Note: you can leave it empty("") to + # fallback to the default value: 42 + # Unit: em + + # Is the post original? + original = true + # Note: will affect the author and + # copyright information of the + # post + # *global settings* + # `original` in post’s Front Matter + # has a higher priority than here + + + ###################################### + # Post Description + + displayPostDescription = true + + + ###################################### + # Post Meta Info + + enablePostMeta = true + # Note: *global settings* + # `meta` in post’s Front Matter + # has a higher priority than here + + enablePostMetaInHome = true + # Note: valid for the `posts` and + # `page` homepage layout only + + postMetaDateFormat = "2006.1.2" + # ATTENTION: be sure to follow the + # specified format + # https://gohugo.io/functions/format/ + + displayPublishedDate = true + publishedDateIcon = "calendar-alt" + + displayModifiedDate = true + modifiedDateIcon = "calendar-check" + + displayExpiredDate = true + expiredDateIcon = "calendar-times" + + displayCategory = true + categoryIcon = "folder" + categoryDelimiter = "/" + + displayWordCount = true + wordCountIcon = "pencil-alt" + + displayReadingTime = true + readingTimeIcon = "clock" + + displayBusuanziPagePV = false + busuanziPagePVIcon = "eye" + # Note: render only in production + # environment + # Homepage is not supported yet + # https://busuanzi.ibruce.info/ + + + ###################################### + # Markdown Related + + # Open external links in a new tab? + hrefTargetBlank = true + + + ###################################### + # Table of Contents + + enableTOC = true + # Note: *global settings* + # `toc` in post’s Front Matter + # has a higher priority than here + + displayTOCTitle = true + + displayTOCNum = true + # Note: *global settings* + # `tocNum` in post’s Front Matter + # has a higher priority than here + + linkHeadingsToTOC = true + + + ###################################### + # Headings Anchor + + enableHeadingsAnchor = true + + # Level range of headings + headingsOpt = "1-6" + # Note: regex format, default value + # is 1-6, which is 1|2|3|4|5|6, + # which is h1 to h6. + + anchorSymbol = "#" + # Note: the anchorIcon has a higher + # priority than anchorSybol + # Default: § + + anchorIcon = "link" + # Note: you can leave it empty("") to + # fallback to the anchorSymbol + + enableAnchorLink = true + + enableAnchorAutoHide = true + + + ###################################### + # Caption + + enableCaption = true + + captionPrefix = "◎ " + + + ###################################### + # Image Hosting + + # Note: render only in production + # environment + # + # only support absolute URLs + # relative to root, e.g. + # /images/meme.jpg + # (~/blog/static/images/meme.jpg) + + enableImageHost = false + + imageHostURL = "https://example.com/" + + # Replace the image link in the HTML + # head meta also? + headAlso = false + + + ###################################### + # Video Hosting + + # Note: render only in production + # environment + # + # only support absolute URLs + # relative to root, e.g. + # /videos/meme.mp4 + # + # and the HTML code you add must + # start with `