diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 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..f23962c --- /dev/null +++ b/config.toml @@ -0,0 +1,97 @@ +baseURL = "https://no-js.club/" +languageCode = 'en' +title = 'no-JS.club' +disableHugoGeneratorInject = 'true' + +enableGitInfo = 'true' + +[permalinks] + +preserveTaxonomyNames = true +enableRobotsTXT = true + +[outputFormats] + +[outputs] + home = ['HTML'] + section = ['HTML'] + taxonomy = ['HTML'] + term = ['HTML'] + page = ['HTML'] + +[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 = false + xhtml = false + + [markup.tableOfContents] + endLevel = 3 + ordered = false + startLevel = 2 + +[author] + name = "Frank" + +[menu] + [[menu.main]] + name = "faq" + url = "/faq/" + weight = 10 + + [[menu.main]] + name = "membership" + url = "https://todo.sr.ht/~hmbrg/no-JS" + weight = 20 + +[imaging] +resampleFilter = "box" +quality = 75 +anchor = "smart" +bgColor = "#ffffff" +disableDate = true +disableLatLong = true diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..0c04f87 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,13 @@ +# Welcome To The no-JS.club Project + +The Internet, as we have to experience it today, is an unnecessarily inflated creature. + +Far too often, mechanisms are used that are absolutely unnecessary. Have we forgotten the tools of the early days and their ease of use? + +Nowadays, also for the private homepage, because everything is so nicely clickable, one quickly reaches for top dogs like WordPress. Quickly click a few plug-ins and the data sling is ready. The visitor of the website is gifted with **several hundred kilo bytes, or more, of JavaScript** - thank you, but NO thank you. + +And here comes the reborn no-JS.club into play. If you don't use JavaScript on your homepage, gift your website a **free membership in the no-JS.club**. + + +## List Of Proud Club Members +{{< csv-table >}} diff --git a/content/faq.md b/content/faq.md new file mode 100644 index 0000000..e157ea7 --- /dev/null +++ b/content/faq.md @@ -0,0 +1,60 @@ +--- +title: "FAQ" +date: "2021-09-01T13:03:54+02:00" +draft: false +--- + +About the no-JS.club[https://no-JS.club] project + +{{< detail-tag "How to join the no-JS club?" >}} +## Instructions +If you're interested in getting your site added to the no-JS club, all you need to do is to follow this step-by-step guide: + +1. 🤞 Use [GTMetrix](https://gtmetrix.com) to analyse your website 🤞 + +2. Once complete, click on **"Waterfall"** and note 📝 the uncompressed size of transfered data + +![Accepted domain - All tab GTmetrix analyse result](/assets/no-js/accepted_gtmetrix_waterfall_all.webp) + +3. Next click on the **"JS"** tab to make sure your homepage doesn't contain JS code + +### 🙌 No JavaScript Detected 🙌 +![Accepted domain - JS tab GTmetrix analyse result](/assets/no-js/accepted_gtmetrix_waterfall_js.webp) + +### 😞 JavaScript Detected! 😞 +![Denied domain - JS tab GTmetrix analyse result](/assets/no-js/denied_gtmetrix_waterfall_js.webp) + +4. If your website satisfies the requirement, [submit a ticket 🎫 on sourcehut](https://todo.sr.ht/~hmbrg/no-JS) + +### Example Of A Filled Ticket +![sourcehut membership request ticket](/assets/no-js/membership-request-ticket.webp) + +5. Once your request is approved, the domain will be added to the member list below + +Note: I reserve the right to not add sites based on whether I think they're suitable to be added or not + +[Example ticket showcasing an accepted request 🙌](https://todo.sr.ht/~hmbrg/no-JS/1#event-1) + +[Example ticket showcasing a denied request 😢](https://todo.sr.ht/~hmbrg/no-JS/2) +{{< /detail-tag >}} + +{{< detail-tag "Wasn't the project as well as the website called noJS.club before?" >}} +Yes, you are right! But sadly because of reasons [Karan Goel](https://goel.io/nojs-club), the founder of the [noJS.club](https://noJS.club) project, archived the corresponding [GitHub repository](https://github.com/karan/nojs.club) which means that noone is able to request for membership. + +So the [no-JS.club](https://no-JS.club) is the successor to Karan's project and anyone interested in becoming a member can open a [ticket](https://todo.sr.ht/~hmbrg/no-JS) and apply for membership. +{{< /detail-tag >}} + +{{< detail-tag "When will I become a member?" >}} +Once your request is confirmed, the website mentioned via support ticket will become a proud member of the [no-JS.club](https://no-JS.club) and will be listed on the front page of the project website. +{{< /detail-tag >}} + +{{< detail-tag "Will membership cost me anything?" >}} +Good that you ask - well, hm... NO! + +[no-JS.club](https://no-js.club) **membership is absolutely free of charge**. +We don't ask for money and don't expect anything else in return, **except the application for membership via [ticket](https://todo.sr.ht/~hmbrg/no-JS)**. +{{< /detail-tag >}} + + +{{< detail-tag "I have further questions?!?" >}} +Please direct all further questions to my eMail address: *no-JS {at} hmbrg {dot} org*.{{< /detail-tag >}} diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..7454cd4 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,7 @@ +{{ partial "header.html" . }} + +

Your page couldn't be found (Error 404)

+

Try going home?

+ {{ partial "footer.html" . }} + + diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 0000000..8171e38 --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +{{ .Text | safeHTML }} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..cdce0d5 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,26 @@ + + + + + + + + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + + {{ block "title" . }} + {{ .Site.Title }} + {{ end }} + + + + {{ partial "header.html" . }} + + {{ block "main" . }} + {{ end }} + + {{ partial "footer.html" . }} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..eb0755d --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,18 @@ +{{ define "main" }} +
+
+
+

{{.Title}}

+
+ {{.Content}} +
+ +
+{{ end }} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml new file mode 100644 index 0000000..59e07a3 --- /dev/null +++ b/layouts/_default/rss.xml @@ -0,0 +1,39 @@ +{{- $pctx := . -}} +{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} +{{- $pages := slice -}} +{{- if or $.IsHome $.IsSection -}} +{{- $pages = $pctx.RegularPages -}} +{{- else -}} +{{- $pages = $pctx.Pages -}} +{{- end -}} +{{- $limit := .Site.Config.Services.RSS.Limit -}} +{{- if ge $limit 1 -}} +{{- $pages = $pages | first $limit -}} +{{- end -}} +{{- printf "" | safeHTML }} + + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{- with .OutputFormats.Get "RSS" -}} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{- end -}} + {{ range where (where .Site.Pages ".Section" "posts") "Kind" "page" }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Content | html }} + + {{ end }} + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..56b7d06 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ define "main" }} +

{{ .Title }}

+ {{ .Content }}
+ {{ partial "tags.html" .}}
+ This page was last updated on: {{ .Lastmod.Format "2. January 2006" }}

+{{ end }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..62f8186 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,16 @@ +{{ define "main" }} + +{{ .Content }} +

Latest logs

+ +{{ end }} + +{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..23ee289 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,10 @@ +{{ block "footer" . }} + +{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..394c814 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,12 @@ +{{ block "header" . }} +
+ {{ .Site.Title }} + + +
+{{ end }} diff --git a/layouts/partials/link.html b/layouts/partials/link.html new file mode 100644 index 0000000..1a3d8b3 --- /dev/null +++ b/layouts/partials/link.html @@ -0,0 +1 @@ +{{ . }} diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html new file mode 100644 index 0000000..77b9c26 --- /dev/null +++ b/layouts/partials/tags.html @@ -0,0 +1,6 @@ +{{- with .Params.tags -}} +
+ Tags: + {{ delimit (apply (apply (sort . ) "partial" "link" ".") "chomp" ".") ", " }} +
+{{- end -}} diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..b5bc12d --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1,17 @@ +User-agent: Googlebot +Disallow: / + +User-agent: Googlebot-Image +Disallow / + +User-agent: Googlebot-News +Disallow / + +User-agent: Googlebot-Video +Disallow / + +User-agent: Mediapartners-Google +Disallow / + +User-agent: Google +Disallow: / diff --git a/layouts/shortcodes/csv-table.html b/layouts/shortcodes/csv-table.html new file mode 100644 index 0000000..000628c --- /dev/null +++ b/layouts/shortcodes/csv-table.html @@ -0,0 +1,39 @@ + + + + + + + + + + {{ $url := "static/assets/no-js/data/out.csv" }} + {{ $sep := "," }} + {{ range $i, $r := getCSV $sep $url }} + + + + + {{ end }} + +
URLSize in KB
{{ index $r 0 }}{{ index $r 1 }}
diff --git a/layouts/shortcodes/detail-tag.html b/layouts/shortcodes/detail-tag.html new file mode 100644 index 0000000..62e1dcb --- /dev/null +++ b/layouts/shortcodes/detail-tag.html @@ -0,0 +1,4 @@ +
+ {{ (.Get 0) | markdownify }} + {{ .Inner | markdownify }} +
diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..b90bea2 --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1,2 @@ + +{{.Inner}} diff --git a/layouts/shortcodes/table_of_contents.html b/layouts/shortcodes/table_of_contents.html new file mode 100644 index 0000000..ddd0413 --- /dev/null +++ b/layouts/shortcodes/table_of_contents.html @@ -0,0 +1,4 @@ +
+ Table Of Contents:
+ {{ .Page.TableOfContents | replaceRE "" | safeHTML }} +
diff --git a/layouts/tags/terms.html b/layouts/tags/terms.html new file mode 100644 index 0000000..912b678 --- /dev/null +++ b/layouts/tags/terms.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+
+

Tags, sorted by age of content

+
+{{ $taxo := "tags" }} + +
+{{ end }} diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..15087a2 --- /dev/null +++ b/public/404.html @@ -0,0 +1,31 @@ + +
+ no-JS.club + + +
+ + + +

Your page couldn't be found (Error 404)

+

Try going home?

+ + + + + + diff --git a/public/categories/index.html b/public/categories/index.html new file mode 100644 index 0000000..3987f17 --- /dev/null +++ b/public/categories/index.html @@ -0,0 +1,57 @@ + + + + + + + + + + no-JS.club + + + + + +
+ no-JS.club + + +
+ + + + +
+
+
+

Categories

+
+ +
+ +
+ + + + + + + + diff --git a/public/faq/index.html b/public/faq/index.html new file mode 100644 index 0000000..d719410 --- /dev/null +++ b/public/faq/index.html @@ -0,0 +1,84 @@ + + + + + + + + + + no-JS.club + + + + + +
+ no-JS.club + + +
+ + + + +

FAQ

+

About the no-JS.club[https://no-JS.club] project

+
+ Wasn’t the project and the website called noJS.club before? +

Yes, you are right! But sadly because of reasons Karan Goel +, the founder of the noJS.club + project, archived the corresponding GitHub repository + which means that noone is able to request for membership.

+

So the no-JS.club + is the successor to Karan’s project and anyone interested in becoming a member can open a ticket + and apply for membership.

+ +
+ +
+ When will I become a member? + Once your request is confirmed, the website mentioned via support ticket will become a proud member of the no-JS.club + and will be listed on the front page of the project website. +
+ +
+ Will membership cost me anything? +

Good that you ask - well, hm… NO!

+

no-JS.club + membership is absolutely free of charge. +We don’t ask for money and don’t expect anything else in return, except the application for membership via ticket +.

+ +
+ +
+ I have further questions?!? + Please direct all further questions to my eMail address: no-JS {at} hmbrg {dot} org. +
+ +
+
+ This page was last updated on: 1. September 2021

+ + + + + + + + diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..f61fe36 --- /dev/null +++ b/public/index.html @@ -0,0 +1,52 @@ + + + + + + + + + + no-JS.club + + + + + +
+ no-JS.club + + +
+ + + + + + +

Latest logs

+