forked from raghudotcc/simply-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d743be4
Showing
56 changed files
with
4,024 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
permalink: /404.html | ||
layout: post | ||
--- | ||
|
||
<style> | ||
.gHomeNF { | ||
width: 120px; | ||
height: 40px; | ||
font-size: 1.0rem; | ||
border: 1px solid #ddd; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /*'Open Sans', sans-serif; /* Font family for each predefined tags */ | ||
color: #555; | ||
box-shadow: 0 4px 4px 0 #ddd; | ||
} | ||
|
||
.gHomeNF:hover, | ||
.gHomeNF:focus { | ||
background-color: #333333; | ||
color: #fff; | ||
} | ||
|
||
.gHomeNF:active { | ||
box-shadow: 0px 0px; | ||
} | ||
|
||
p { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /*'Open Sans', sans-serif; /* Font family for each predefined tags */ | ||
} | ||
|
||
</style> | ||
|
||
<h1>404</h1> | ||
|
||
<p><strong>Page not found :(</strong></p> | ||
<p>The requested page could not be found.</p> | ||
|
||
<button class="gHomeNF" type=button onclick="window.location='/index.html'">Go Home</button> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
source "https://rubygems.org" | ||
# Hello! This is where you manage which Jekyll version is used to run. | ||
# When you want to use a different version, change it below, save the | ||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: | ||
# | ||
# bundle exec jekyll serve | ||
# | ||
# This will help ensure the proper Jekyll version is running. | ||
# Happy Jekylling! | ||
gem "jekyll", "~> 4.0.0" | ||
# This is the default theme for new Jekyll sites. You may change this to anything you like. | ||
# gem "minima", "~> 2.5" | ||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and | ||
# uncomment the line below. To upgrade, run `bundle update github-pages`. | ||
# gem "github-pages", group: :jekyll_plugins | ||
# If you have any plugins, put them here! | ||
group :jekyll_plugins do | ||
gem "jekyll-feed", "~> 0.12" | ||
end | ||
|
||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem | ||
# and associated library. | ||
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do | ||
gem "tzinfo", "~> 1.2" | ||
gem "tzinfo-data" | ||
end | ||
|
||
# Performance-booster for watching directories on Windows | ||
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform? | ||
|
||
gem 'jekyll-sitemap' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.7.0) | ||
public_suffix (>= 2.0.2, < 5.0) | ||
colorator (1.1.0) | ||
concurrent-ruby (1.1.6) | ||
em-websocket (0.5.1) | ||
eventmachine (>= 0.12.9) | ||
http_parser.rb (~> 0.6.0) | ||
eventmachine (1.2.7-x64-mingw32) | ||
ffi (1.12.2-x64-mingw32) | ||
forwardable-extended (2.6.0) | ||
http_parser.rb (0.6.0) | ||
i18n (1.8.2) | ||
concurrent-ruby (~> 1.0) | ||
jekyll (4.0.0) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
em-websocket (~> 0.5) | ||
i18n (>= 0.9.5, < 2) | ||
jekyll-sass-converter (~> 2.0) | ||
jekyll-watch (~> 2.0) | ||
kramdown (~> 2.1) | ||
kramdown-parser-gfm (~> 1.0) | ||
liquid (~> 4.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (~> 3.0) | ||
safe_yaml (~> 1.0) | ||
terminal-table (~> 1.8) | ||
jekyll-feed (0.13.0) | ||
jekyll (>= 3.7, < 5.0) | ||
jekyll-sass-converter (2.1.0) | ||
sassc (> 2.0.1, < 3.0) | ||
jekyll-sitemap (1.4.0) | ||
jekyll (>= 3.7, < 5.0) | ||
jekyll-watch (2.2.1) | ||
listen (~> 3.0) | ||
kramdown (2.2.1) | ||
rexml | ||
kramdown-parser-gfm (1.1.0) | ||
kramdown (~> 2.0) | ||
liquid (4.0.3) | ||
listen (3.2.1) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
mercenary (0.3.6) | ||
pathutil (0.16.2) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (4.0.4) | ||
rb-fsevent (0.10.3) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
rexml (3.2.4) | ||
rouge (3.18.0) | ||
safe_yaml (1.0.5) | ||
sassc (2.3.0-x64-mingw32) | ||
ffi (~> 1.9) | ||
terminal-table (1.8.0) | ||
unicode-display_width (~> 1.1, >= 1.1.1) | ||
thread_safe (0.3.6) | ||
tzinfo (1.2.7) | ||
thread_safe (~> 0.1) | ||
tzinfo-data (1.2020.1) | ||
tzinfo (>= 1.0.0) | ||
unicode-display_width (1.7.0) | ||
wdm (0.1.1) | ||
|
||
PLATFORMS | ||
x64-mingw32 | ||
|
||
DEPENDENCIES | ||
jekyll (~> 4.0.0) | ||
jekyll-feed (~> 0.12) | ||
jekyll-sitemap | ||
tzinfo (~> 1.2) | ||
tzinfo-data | ||
wdm (~> 0.1.1) | ||
|
||
BUNDLED WITH | ||
2.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# raghuveerdotnet.github.io | ||
Personal Website by Raghuveer S. | ||
|
||
Do whatever you want with it. | ||
|
||
PS. If you like the content or the design, please share it with others. | ||
# simply-jekyll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
title: Simply Jekyll | ||
name: Raghuveer S | ||
baseurl: "/" # the subpath of your site, e.g. /blog | ||
url: "https://www.raghuveer.net" # the base hostname & protocol for your site, e.g. http://example.com | ||
encoding: utf-8 | ||
|
||
# Build settings | ||
theme: null | ||
plugins: | ||
- jekyll-feed | ||
- jekyll-sitemap | ||
|
||
markdown: kramdown | ||
|
||
kramdown: | ||
input: GFM | ||
hard_wrap: false | ||
math_engine: mathjax | ||
smart_quotes: ["apos", "apos", "quot", "quot"] | ||
syntax_highlighter: rouge | ||
|
||
sass: | ||
style: compressed | ||
|
||
collections: | ||
notes: | ||
output: true | ||
permalink: /notes/:title | ||
|
||
defaults: | ||
- scope: | ||
path: "" | ||
type: posts | ||
values: | ||
layout: post | ||
permalink: /posts/:title | ||
content-type: post | ||
- scope: | ||
path: "" | ||
type: notes | ||
values: | ||
layout: post | ||
content-type: notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<!-- Add backlinks to the current page --> | ||
{%- assign link_count = 0 -%} | ||
{%- for note in site.notes -%} | ||
{%- if note.url != page.url -%} | ||
{%- if note.content contains page.title -%} | ||
{%- assign link_count = link_count | plus:1 -%} | ||
{%- endif -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- for note in site.posts -%} | ||
{%- if note.url != page.url -%} | ||
{%- if note.content contains page.title -%} | ||
{%- assign link_count = link_count | plus:1 -%} | ||
{%- endif -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- for note in site.pages -%} | ||
{%- if note.url != page.url -%} | ||
{%- if note.content contains page.title -%} | ||
{%- assign link_count = link_count | plus:1 -%} | ||
{%- endif -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- if link_count > 0 -%} | ||
{%- assign wiki_link_title = '[' | append: page.title | append: ']' -%} | ||
<div class="related" id="jekyll-seamless-backlinks"> | ||
<h4 class="medium-small">Linked References</h4> | ||
<div class="related-wrapper"> | ||
{%- for note in site.notes -%} | ||
{%- if note.url != page.url -%} | ||
{%- if note.content contains wiki_link_title -%} | ||
<div class="related-group"><a href="{{note.url}}"> | ||
<p class="related-title">{{ note.title }}</p> | ||
<p class="related-excerpt">{{ note.content | markdownify | strip_html | truncate: 140 }}</p> | ||
</a></div> | ||
{%- endif -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- for note in site.posts -%} | ||
{%- if note.url != page.url -%} | ||
{%- if note.content contains wiki_link_title -%} | ||
<div class="related-group"><a href="{{note.url}}"> | ||
<p class="related-title">{{ note.title }}</p> | ||
<p class="related-excerpt">{{ note.content | markdownify | strip_html | truncate: 140 }}</p> | ||
</a></div> | ||
{%- endif -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- for note in site.pages -%} | ||
{%- if note.url != page.url -%} | ||
{%- if note.content contains wiki_link_title -%} | ||
<div class="related-group"><a href="{{note.url}}"> | ||
<p class="related-title">{{ note.title }}</p> | ||
<p class="related-excerpt">{{ note.content | markdownify | strip_html | truncate: 140 }}</p> | ||
</a></div> | ||
{%- endif -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
</div> | ||
<br/> | ||
</div> | ||
{%- endif -%} |
Oops, something went wrong.