Added favicon

This commit is contained in:
Marcin Kurczewski 2014-10-04 22:33:20 +02:00
parent 547c6e56d3
commit 1df02c16c2
5 changed files with 14 additions and 3 deletions

1
TODO
View file

@ -67,7 +67,6 @@ refactors:
miscellaneous:
- endless pager should include information about page number
- add customizable favicon
- add customizable logo
- add log engine and log everything that should be logged
- I don't think browsing online logs is very necessary

View file

@ -75,3 +75,4 @@ postsPerPage = 40
[misc]
thumbnailCropStyle = outside
customFaviconUrl = /favicon.png

View file

@ -130,6 +130,7 @@ module.exports = function(grunt) {
processhtml: {
options: {
data: {
customFaviconUrl: config.misc.customFaviconUrl,
serviceName: config.basic.serviceName,
templates: readTemplates(grunt),
timestamp: grunt.template.today('isoDateTime'),

BIN
public_html/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -2,23 +2,26 @@
<html>
<head>
<meta charset="utf-8"/>
<!-- build:remove -->
<title>szuru2</title>
<!-- /build -->
<!-- build:template
<title><%= serviceName %></title>
/build -->
<script type="text/javascript" src="/lib/jquery.min.js"></script>
<script type="text/javascript" src="/lib/jquery.cookie.js"></script>
<script type="text/javascript" src="/lib/path.js"></script>
<script type="text/javascript" src="/lib/underscore.min.js"></script>
<script type="text/javascript" src="/lib/mousetrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"/>
<!-- build:template
<link rel="stylesheet" type="text/css" href="app.min.css?<%= timestamp %>"/>
/build -->
<!-- build:remove -->
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Droid+Sans:400,700"/>
<!-- build:remove -->
<link rel="stylesheet" type="text/css" href="/css/core.css"/>
<link rel="stylesheet" type="text/css" href="/css/forms.css"/>
<link rel="stylesheet" type="text/css" href="/css/messages.css"/>
@ -35,6 +38,13 @@
<link rel="stylesheet" type="text/css" href="/css/history.css"/>
<link rel="stylesheet" type="text/css" href="/css/comments.css"/>
<!-- /build -->
<!-- build:remove -->
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
<!-- /build -->
<!-- build:template
<link rel="shortcut icon" type="image/png" href="<%= customFaviconUrl %>"/>
/build -->
</head>
<body>