]> jfr.im git - uguu.git/commitdiff
exclude js faq & tools v1.1.1
authornokonoko <redacted>
Sun, 27 Jun 2021 13:17:20 +0000 (15:17 +0200)
committernokonoko <redacted>
Sun, 27 Jun 2021 13:17:20 +0000 (15:17 +0200)
The FAQ & Tools page does not use JS so it should not include it.

package.json
templates/index.swig
templates/layout index.swig [new file with mode: 0644]
templates/layout.swig

index 1e3c608cb3f4f30f7f84ce81e6efafd48bc74a70..0591d4dad662de58fd7339856f06e3c89e685a9f 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "uguu",
-  "version": "1.0.0",
+  "version": "1.1.1",
   "description": "Kawaii file host",
   "homepage": "https://uguu.se/",
   "repository": {
@@ -9,7 +9,8 @@
   },
   "author": "Eric Johansson <neku@pomf.se>",
   "contributors": [
-    "Pomf Community <github.com/pomf/pomf>"
+    "Pomf Community <github.com/pomf/pomf>",
+    "Uguu Community <github.com/nokonoko/uguu"
   ],
   "license": "MIT",
   "bugs": {
index 12f95808bf256dd4749e663de0daac6d0f6fd4e1..b997e0e1e193560417950fc159a8a64ec9b103a8 100644 (file)
@@ -1,4 +1,4 @@
-{% extends "layout.swig" %}
+{% extends "layout_index.swig" %}
 
 {% block body %}
 <div class="jumbotron">
diff --git a/templates/layout index.swig b/templates/layout index.swig
new file mode 100644 (file)
index 0000000..bc9eb55
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en">
+       <head>
+               <meta charset="utf-8">
+               <meta name="viewport" content="width=device-width, initial-scale=1">
+               <meta name="generator" content="Uguu {{pkgVersion}}">
+               <meta name="Description" content="{{SiteMetaInfo}}">
+               <title>{{siteName}} &middot; {% block title %}Kawaii Temporary File Hosting{% endblock %}</title>
+               <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
+               <link rel="stylesheet" href="uguu.min.css">
+               <script src="uguu.min.js"></script>
+       </head>
+       <body>
+               <div class="container">
+                       {% block body %}What the fuck are you doing here, <span lang="jp">baka</span>?{% endblock %}
+               </div>
+       </body>
+</html>
index bc9eb55d78137f59e9f35312383840d653c4fd5e..bb8fb0db4856a500e4551bdca68cf78e8da3679c 100644 (file)
@@ -8,7 +8,6 @@
                <title>{{siteName}} &middot; {% block title %}Kawaii Temporary File Hosting{% endblock %}</title>
                <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
                <link rel="stylesheet" href="uguu.min.css">
-               <script src="uguu.min.js"></script>
        </head>
        <body>
                <div class="container">