Skip to content

Commit

Permalink
Check in and full import
Browse files Browse the repository at this point in the history
  • Loading branch information
bmann committed Sep 28, 2020
1 parent 6964d8a commit aa12192
Show file tree
Hide file tree
Showing 1,588 changed files with 35,577 additions and 520 deletions.
24 changes: 8 additions & 16 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
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!

gem "liquid-c"

group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem "jekyll-last-modified-at"
gem "jekyll-commonmark-ghpages"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Expand All @@ -28,4 +19,5 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

gem 'jekyll-sitemap'


24 changes: 19 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
commonmarker (0.17.13)
ruby-enum (~> 0.5)
concurrent-ruby (1.1.6)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
Expand Down Expand Up @@ -31,31 +33,42 @@ GEM
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-feed (0.13.0)
jekyll-commonmark (1.3.1)
commonmarker (~> 0.14)
jekyll (>= 3.7, < 5.0)
jekyll-commonmark-ghpages (0.1.6)
commonmarker (~> 0.17.6)
jekyll-commonmark (~> 1.2)
rouge (>= 2.0, < 4.0)
jekyll-last-modified-at (1.3.0)
jekyll (>= 3.7, < 5.0)
posix-spawn (~> 0.3.9)
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.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
liquid-c (4.0.0)
liquid (>= 3.0.0)
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)
posix-spawn (0.3.15)
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)
ruby-enum (0.8.0)
i18n
safe_yaml (1.0.5)
sassc (2.3.0)
ffi (~> 1.9)
Expand All @@ -77,8 +90,9 @@ PLATFORMS

DEPENDENCIES
jekyll (~> 4.0.0)
jekyll-feed (~> 0.12)
jekyll-sitemap
jekyll-commonmark-ghpages
jekyll-last-modified-at
liquid-c
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)
Expand Down
75 changes: 52 additions & 23 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,79 @@
title: Simply Jekyll
name: John Doe
user_description: Programmer (Interested in Philosophy and Math)
notes_url: "https://simply-jekyll.netlify.app"
profile_pic: /assets/img/profile.png
favicon: /assets/img/favicon.png
copyright_name: John Doe
title: Digital Notes Garden
name: Boris Mann
user_description: "Open Source. Community. Decentralized Web. Building dev tools at Fission. Cooks & eats."
description: "Notes and long term archive for Boris Mann"
notes_url: "https://bmannconsulting.com"
notes_title: Notes, Articles, and Links
notes_tagline: Information gardening
profile_pic: /assets/bmann_hair_orange_256x256.png
favicon: /assets/bmann_hair_orange_256x256.png
copyright_name: Boris Mann
baseurl: "/" # the subpath of your site, e.g. /blog
url: "https://simply-jekyll.netlify.app/" # the base hostname & protocol for your site, e.g. http://example.com
url: "https://bmannconsulting.com" # the base hostname & protocol for your site, e.g. http://example.com
encoding: utf-8

exclude: ['.env', 'fission.yaml', 'gemset.nix', 'pages']

markdown: CommonMarkGhPages
# markdown: kramdown

commonmark:
options: ["SMART", "FOOTNOTES"]
extensions: ["strikethrough", "autolink", "table"]

# kramdown:
# input: GFM
# hard_wrap: false
# math_engine: mathjax
# smart_quotes: ["apos", "apos", "quot", "quot"]
# syntax_highlighter: rouge

# 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
# - jekyll-feed
# - jekyll-sitemap
- jekyll-last-modified-at
- jekyll-commonmark-ghpages

sass:
style: compressed

# Default permalink
permalink: /:path/:title

collections:
notes:
output: true
permalink: /notes/:title
permalink: /:title

disqus:
shortname: raghuveerdotnet

defaults:
- scope:
path: ""
path: "_posts/*"
type: posts
values:
layout: post
permalink: /blog/:year/:month/:day/:title
content-type: post
- scope:
path: "_posts/archive/*"
type: posts
values:
layout: post
permalink: /archive/:year/:month/:day/:title
content-type: post
- scope:
path: "_posts/journal/*"
type: posts
values:
layout: post
permalink: /posts/:title
permalink: /journal/:year/:month/:day/:title
content-type: post
- scope:
path: ""
path: "_notes/*"
type: notes
values:
layout: post
Expand Down
2 changes: 1 addition & 1 deletion _includes/comments.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- if page.comments -%}
{%- if page.comments and site.disqus.shortname -%}
<!-- DISQUS COMMENT SECTION, DO NOT TOUCH -->
<div id="disqus_thread"></div>
<script>
Expand Down
18 changes: 14 additions & 4 deletions _includes/content.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
<!-- Parse internal links, external links, transclusions etc and manipuate the content to reflect it accordingly -->
{%- if page.content-type == "post" -%}

<ul class="tags">
{%- if page.status != nil and page.status != empty -%}
<li><a href="javascript:void(0)" class="tag"><b>Status:</b> <i>{{page.status | capitalize}}</i></a></li>
{%- endif -%}
<li><a href="/dates/#{{ page.date | date: '%d-%B-%Y' }}" class="tag">{{ page.date | date: '%B-%d-%Y' }}</a></li>
<!-- Loop through page categories and print them in tags -->
{%- if page.published -%}
<li><span class="tag">Article Date: {{ page.published | date: '%B %d, %Y' }}</span></li>
{%- endif -%}
{%- if page.content-type == "notes" -%}
<li><span class="tag">Last Edit: {{ page.last_modified_at | date: '%B %d, %Y' }}</span></li>
{%- else -%}
<li><span class="tag">{{ page.date | date: '%B %d, %Y' }}</span></li>
{%- endif -%}
<!-- TODO - Better link and date tags: Loop through page categories and print them in tags -->
{% comment %}
<li><a href="/dates/#{{ page.date | date: '%d-%B-%Y' }}" class="tag">{{ page.date | date: '%B %d, %Y' }}</a></li>
{%- for tag in page.tags -%}
<li><a href="/tags/#{{ tag }}" class="tag">{{ tag }}</a></li>
{%- endfor -%}
{% endcomment %}
</ul>
{%- endif -%}

<div class="content">
{%- assign content_array = content | split:'[[' -%}
{%- assign external_link_delimiter = '::' -%}
Expand Down
13 changes: 13 additions & 0 deletions _includes/contextfeed.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<div class="feed-title-excerpt-block disable-select" data-url="{{site.url}}{{item.url}}">
<a href="{{item.url}}" style="text-decoration: none; color: #555555;">
{%- if item.status == "Ongoing" or item.status == "ongoing" -%}
<ul style="padding-left: 20px; margin-top: 20px;" class="tags">
<li style="padding: 0 5px; border-radius: 10px;" class="tag"><b>Status: </b>{{item.status | capitalize }}</li>
</ul>
<p style="margin-top: 0px;" class="feed-title">{{ item.title }}</p>
{%- else -%}
<p class="feed-title">{{ item.title }}</p>
{%- endif -%}
<p class="feed-excerpt">{{ item.content | strip_html | strip | escape | truncate: 200}}</p>
</a>
</div>
28 changes: 0 additions & 28 deletions _includes/feed.html

This file was deleted.

2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div id="copyright">
<p id="copyright-notice">© {{site.name}}</p>
<p id="copyright-notice"><a href="{% link _notes/feeds.md %}">Subscribe</a><a href="{% link _notes/about.md %}">About</a><a href="{% link _notes/contact.md %}">Contact</a> | <a href="https://twitter.com/bmann">@bmann</a> | <a href="https://microblog.bmannconsulting.com">Microblog</a></p>
</div>
Loading

0 comments on commit aa12192

Please sign in to comment.