From f1d90e7f011690f8946c5f7c1687eae72ad9c51d Mon Sep 17 00:00:00 2001 From: Frank Homburg Date: Thu, 28 Apr 2022 21:37:45 +0200 Subject: [PATCH] updated config and WS content --- config.toml | 57 +++++++++++++++++++++++++++++++++++- content/faq.md | 26 ++++++++-------- layouts/_default/baseof.html | 2 +- layouts/partials/header.html | 2 +- layouts/partials/nav.html | 9 +++--- 5 files changed, 76 insertions(+), 20 deletions(-) diff --git a/config.toml b/config.toml index dabc9a8..ed30522 100644 --- a/config.toml +++ b/config.toml @@ -6,7 +6,7 @@ languageCode = "en-US" enableRobotsTXT = true [params] - description = "| Showcase of JavaScript liberated websites" + description = "Showcase of JavaScript liberated websites" favicon = "favicon.ico" title = "The no-JS Club | Showcase of JavaScript liberated websites" hideMadeWithLine = false @@ -23,6 +23,61 @@ enableRobotsTXT = true url = "https://todo.sr.ht/~hmbrg/no-JS.club" weight = 20 +[markup] + [markup.highlight] + anchorLineNos = false + codeFences = true + guessSyntax = false + hl_Lines = '' + lineAnchors = '' + lineNoStart = 1 + lineNos = true + lineNumbersInTable = true + noClasses = true + style = 'dracula' + tabWidth = 2 + + defaultMarkdownHandler = 'goldmark' + [markup.asciidocExt] + backend = 'html5' + extensions = [] + failureLevel = 'fatal' + noHeaderOrFooter = true + preserveTOC = false + safeMode = 'unsafe' + sectionNumbers = false + trace = false + verbose = false + workingFolderCurrent = false + [markup.asciidocExt.attributes] + + [markup.goldmark] + [markup.goldmark.extensions] + definitionList = true + footnote = true + linkify = true + strikethrough = true + table = true + taskList = true + typographer = true + + [markup.goldmark.parser] + autoHeadingID = true + autoHeadingIDType = 'github' + [markup.goldmark.parser.attribute] + block = false + title = true + + [markup.goldmark.renderer] + hardWraps = false + unsafe = true + xhtml = false + + [markup.tableOfContents] + endLevel = 3 + ordered = false + startLevel = 2 + [imaging] resampleFilter = "box" quality = 75 diff --git a/content/faq.md b/content/faq.md index a04ddf7..9cff72d 100644 --- a/content/faq.md +++ b/content/faq.md @@ -6,18 +6,24 @@ draft: false ## no-JS Club FAQ -

Below you find commonly asked question regarding the no-JS.club project and membership:

+The following information should help you answer any unanswered questions about joining the no-JS club. + +If you need more information, do not hesitate to create a [ticket](https://todo.sr.ht/~hmbrg/no-JS.club). We will respond to your request as soon as possible. {{< detail-tag "Terms and conditions" >}} -### Your website must be... +### Your website has to be - **SFW** - **accessible via HTTPS** -### Your website doesn't include the following contents -- **pornography/sexism or otherwise offensive** -- **fanaticism** -- **racism** -- **illegal material of any kind** +### No-go content +- **JavaScript** +- **pornography/sexism** +- **fanaticism/racism** +- **illegal or inappropriate** + +### Final decision authority +- We reserve the **right to reject websites** that we consider inappropriate for any reason! This right can also be claimed subsequently if the content develops in a direction that we consider inappropriate. Before we remove a website, we contact the operator. + {{< /detail-tag >}} {{< detail-tag "How to join the no-JS club?" >}} @@ -120,9 +126,3 @@ Upload the updated logo file to you web space and change the Markdown logo integ ### The cost of membership Good you asked! All this time I have been thinking about how I can gently teach you that **membership will not bankrupt you** but, except for the effort of making an application via ticket and waiting for it to be approved, **absolutely doesn’t cost a dime!** {{< /detail-tag >}} - - -{{< detail-tag "I have further questions?!?" >}} -### Contact information -If you still have unanswered questions after reading the FAQ, you can **[submit a ticket](https://todo.sr.ht/~hmbrg/no-JS.club)** and let us know what needs to be clarified. -{{< /detail-tag >}} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b2e112f..fb3eba5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ - + {{- .Title | default .Site.Title -}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 83687c1..6cf9a30 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,4 @@ -

{{ .Site.Title }}

+

The no-JS club

diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index ebcf50a..c456ea9 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,4 +1,5 @@ -Home -{{ range .Site.Menus.main }} -{{ .Name }} -{{ end }} +