Skip to content

Commit

Permalink
exclude js faq & tools
Browse files Browse the repository at this point in the history
The FAQ & Tools page does not use JS so it should not include it.
  • Loading branch information
nokonoko committed Jun 27, 2021
1 parent 35c1239 commit ee3976f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uguu",
"version": "1.0.0",
"version": "1.1.1",
"description": "Kawaii file host",
"homepage": "https://uguu.se/",
"repository": {
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion templates/index.swig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "layout.swig" %}
{% extends "layout_index.swig" %}

{% block body %}
<div class="jumbotron">
Expand Down
18 changes: 18 additions & 0 deletions templates/layout index.swig
Original file line number Diff line number Diff line change
@@ -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 change: 0 additions & 1 deletion templates/layout.swig
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit ee3976f

Please sign in to comment.