Browse Source

exclude js faq & tools

The FAQ & Tools page does not use JS so it should not include it.
remotes/r4jeshwar/master v1.1.1
Go Johansson 1 year ago
parent
commit
ee3976f997
  1. 5
      package.json
  2. 2
      templates/index.swig
  3. 18
      templates/layout index.swig
  4. 1
      templates/layout.swig

5
package.json

@ -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": {

2
templates/index.swig

@ -1,4 +1,4 @@
{% extends "layout.swig" %}
{% extends "layout_index.swig" %}
{% block body %}
<div class="jumbotron">

18
templates/layout index.swig

@ -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>

1
templates/layout.swig

@ -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">

Loading…
Cancel
Save