From d25d5aa70e17b9c5204f972871572f9cddac721e Mon Sep 17 00:00:00 2001 From: Michael House Date: Sun, 8 May 2022 07:29:01 -0500 Subject: [PATCH] Created rules page and updated sidebar --- files/routes/static.py | 6 +- files/templates/rules.html | 436 ++++++++++++++++++++++++++ files/templates/sidebar.html | 1 - files/templates/sidebar_TheMotte.html | 92 ++++-- 4 files changed, 514 insertions(+), 21 deletions(-) create mode 100644 files/templates/rules.html diff --git a/files/routes/static.py b/files/routes/static.py index 00d2d763a..73d291ef2 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -34,7 +34,6 @@ def logged_out(old = ""): return redirect(redirect_url) - @app.get("/marseys") @auth_required def marseys(v): @@ -57,12 +56,15 @@ def marsey_list(): return str(marseys).replace("'",'"') -@app.get('/rules') @app.get('/sidebar') @auth_desired def sidebar(v): return render_template('sidebar.html', v=v) +@app.get('/rules') +@auth_desired +def rules(v): + return render_template('rules.html', v=v) @app.get("/stats") @auth_required diff --git a/files/templates/rules.html b/files/templates/rules.html new file mode 100644 index 000000000..b1dd19c51 --- /dev/null +++ b/files/templates/rules.html @@ -0,0 +1,436 @@ +{% extends "default.html" %} + +{% block title %} +{{SITE_NAME}} Rules +{% endblock %} + +{% block content %} +
+
+
+
+
+

Rules

+ + +
+{% endblock %} \ No newline at end of file diff --git a/files/templates/sidebar.html b/files/templates/sidebar.html index 211bff1a8..35482d720 100644 --- a/files/templates/sidebar.html +++ b/files/templates/sidebar.html @@ -2,7 +2,6 @@ {% block title %} {{SITE_NAME}} Sidebar - {% endblock %} {% block content %} diff --git a/files/templates/sidebar_TheMotte.html b/files/templates/sidebar_TheMotte.html index 0cb96d542..dd3493aa4 100644 --- a/files/templates/sidebar_TheMotte.html +++ b/files/templates/sidebar_TheMotte.html @@ -24,32 +24,88 @@ CREATE HOLE {% endif %} BROWSE HOLES - EMOJI MEGATHREAD - BUGS/SUGGESTIONS MEGATHREAD - SIDEBAR ARTWORK MEGATHREAD - SNAPPY QUOTES MEGATHREAD - BANNER ARTWORK MEGATHREAD - EMOJI REQUESTS MEGATHREAD - GAMBLING MEGATHREAD
- Rulez:

- - Don't post anything illegal

- - - No sexualizing minors even as a “joke”

+

What is this place?

+

+ This website is a place for people who want to move past shady thinking and test their ideas in a + court of people who don't all share the same biases. Our goal is to + optimize for light, not heat; this is a group effort, and all commentators are asked to do their part.

- - No doxing

+ The weekly Culture War threads host the most + controversial topics and are the most visible aspect of TheMotte. However, many other topics are + appropriate here. We encourage people to post anything related to science, politics, or philosophy; + if in doubt, post!

+ + Check out The Vault for an archive of old quality posts. + You are encouraged to crosspost these elsewhere. +

- - Using alts to game dramacoin will get you banned

+
+

Why are you called The Motte?

+

+ A motte is a stone keep on a raised earthwork common in early medieval fortifications. More pertinently, + it's an element in a rhetorical move called a " + Motte-and-Bailey", originally identified by + philosopher Nicholas Shackel. It describes the tendency in discourse for people to move from a controversial + but high value claim to a defensible but less exciting one upon any resistance to the former. He likens + this to the medieval fortification, where a desirable land (the bailey) is abandoned when in danger for + the more easily defended motte. In Shackel's words, "The Motte represents the defensible but undesired + propositions to which one retreats when hard pressed."

- - Supporting free speech is an immediate ban

+ On TheMotte, always attempt to remain inside your defensible territory, even if you are not being pressed. + +

- - Absolutely NO anti-CCP sentiment

+
+

Rules

+ - All rules can and likely will be ignored at the discretion of the janitorial staff. Be funny, or at least compelling, and pretty much anything legal is welcome

- - 𝐜𝐚𝐫𝐩 𝐰𝐨𝐳 𝐞𝐫𝐞

+
+

Recommended Reading

+
{% endif %}