Skip to content

Commit

Permalink
Add favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
elmaxe committed Sep 27, 2021
1 parent ba73be0 commit 390fa81
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.idea
node_modules
static
gruntfile.js
gulpfile.js
gloo_errors.txt
2 changes: 0 additions & 2 deletions gloo/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const config = require("./../config");
const express = require("express");

module.exports = function(app) {
//Sometime later we might want to do something with the favicon.ico.
app.get("/favicon.ico", (req, res) => res.status(404).send());

// Static assets will be available on the same path as their directory,
// i.e. assets => /assets, static => /static
Expand Down
Binary file added static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions templates/_404.nunj
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

{% block body %}
<h1>404</h1>
Sidan finns ej
{% endblock %}
9 changes: 7 additions & 2 deletions templates/_default.nunj
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ title }} - Datasektionens styrdokument</title>
<link rel="stylesheet" href="{{ static }}" />
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/static/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="shortcut icon" href="/static/favicon.ico">
<script type="text/javascript">
window.methone_conf = {
system_name: "styrdokument",
color_scheme: "cerice",
color_scheme: "cerise",
login_text: "",
login_link: "#",
topbar_items: [
links: [
{
str: "Styrdokument",
href: "/"
Expand Down

0 comments on commit 390fa81

Please sign in to comment.