Skip to content

Commit 6fb90f1

Browse files
committed
Added favicon, neighbour posts, etc.
1 parent 336b4f7 commit 6fb90f1

20 files changed

+96
-657
lines changed

404.html

Lines changed: 0 additions & 6 deletions
This file was deleted.

_config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ social:
2727
2828
twitter: InvalidxSyntax
2929
github: intern0t
30+
uptime: https://uptime.prashant.me
3031

3132
# Site data
3233
ph: /assets/images/placeholder.png
@@ -66,7 +67,7 @@ pagination:
6667
#permalink: '/page/:num.html' # Pages are simple html files
6768
#permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
6869
# Optional the title format for the paginated pages (supports :title for original page title, :num for pagination page number, :max for total number of pages)
69-
title: ':title - page :num'
70+
title: 'Go to Page :num'
7071
# Limit how many pagenated pages to create (default: 0, means all)
7172
limit: 0
7273
# Optional, defines the field that the posts should be sorted on (omit to default to 'date')
@@ -87,10 +88,10 @@ pagination:
8788
after: 2
8889
# Optional, the default file extension for generated pages (e.g html, json, xml).
8990
# Internally this is set to html by default
90-
# extension: html
91+
extension: html
9192
# Optional, the default name of the index file for generated pages (e.g. 'index.html')
9293
# Without file extension
93-
# indexpage: 'index'
94+
indexpage: 'index'
9495
############################################################
9596

9697

_includes/footer.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<footer class="site-footer h-card">
2-
<!-- <data class="u-url" href="{{ "/" | relative_url }}"></data> -->
3-
42
<div class="wrapper">
53
<div class="wrapper-copyright">
64
Copyright &copy; <a href="/about">{{ site.title | escape }}</a>
@@ -15,6 +13,9 @@
1513
{%- if site.social.github -%}
1614
<a href="{{ site.social.github | prepend: 'https://github.com/' }}"><i class="fab fa-github-alt"></i></a>
1715
{%- endif -%}
16+
{%- if site.social.uptime -%}
17+
<a href="https://uptime.prashant.me"><i class="fas fa-chart-bar"></i></a>
18+
{%- endif -%}
1819
<a href={{ "/feed.xml" | relative_url }}><i class="fas fa-rss"></i></a>
1920
</div>
2021
<div class="wrapper-poweredby">

_includes/head.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,27 @@
66
relative_url }}"> {%- feed_meta -%} {%- if jekyll.environment ==
77
'production' and site.google_analytics -%} {%- include google-analytics.html
88
-%} {%- endif -%}
9+
10+
<!-- Important Scripts -->
911
<script
1012
src="https://kit.fontawesome.com/3863182d64.js"
1113
crossorigin="anonymous"
1214
></script>
15+
<!-- Lazy Load library -->
1316
<script
1417
type="text/javascript"
1518
src="https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js"
1619
></script>
20+
<!-- jQuery for ease -->
1721
<script
1822
type="text/javascript"
1923
src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"
2024
></script>
25+
<!-- Lightcase CSS & JS -->
2126
<script type="text/javascript" src="/assets/js/lightcase.js"></script>
22-
<link rel="stylesheet" type="text/css" href="/assets/css/lightcase.css">
27+
<link rel="stylesheet" type="text/css" href="/assets/css/lightcase.css" />
28+
29+
<!-- For IE 11, Chrome, Firefox, Safari, Opera -->
30+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicons/favicon-16x16.png">
31+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicons/favicon-32x32.png">
2332
</head>

_includes/icon-github.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

_includes/icon-github.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

_includes/icon-twitter.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

_includes/icon-twitter.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

_layouts/post.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ <h1 class="post-title p-name" itemprop="name headline">
4444
{%- endif -%} {{ content }}
4545
</div>
4646

47+
<!-- Next and Previous posts. -->
48+
<section class="post-neighbours">
49+
<!-- Previous Post -->
50+
{% if page.previous.url %}
51+
<a href="{{ page.previous.url }}" title="{{ page.previous.title }}" style="text-align: left;"><i class="fas fa-angle-left"></i> Previous Post</a>
52+
{% endif %}
53+
<!-- Next Post -->
54+
{% if page.next.url %}
55+
<a href="{{ page.next.url }}" title="{{ page.next.title }}" style="text-align: right;">Next Post <i class="fas fa-angle-right"></i></a>
56+
{% endif %}
57+
</section>
58+
4759
{%- if site.disqus.shortname -%} {%- include disqus_comments.html -%} {%-
4860
endif -%}
4961

_pages/404.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: post
3+
permalink: /404
4+
---
5+
<div markdown="1" style="text-align: center; margin-bottom: 150px;">
6+
# <i class="fas fa-unlink"></i>
7+
# Error 404
8+
#### Page Not Found!
9+
</div>

0 commit comments

Comments
 (0)