Skip to content

Commit

Permalink
Merge pull request #20 from jitinnair1/develop
Browse files Browse the repository at this point in the history
add new features and fixes
  • Loading branch information
jitinnair1 authored Sep 9, 2022
2 parents 628a2e7 + 81e146f commit 93b9461
Show file tree
Hide file tree
Showing 24 changed files with 566 additions and 240 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
_site/
.sass-cache/
.jekyll-metadata
.jekyll-cache
.jekyll-cache
.DS_Store
12 changes: 12 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
source 'https://rubygems.org'

gem 'jekyll'

group :jekyll_plugins do
gem 'jekyll-seo-tag'
gem 'jekyll-paginate'
gem 'jekyll-email-protect'
gem 'jekyll-target-blank'
end

gem "webrick", "~> 1.7"
83 changes: 83 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.1.10)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (4.2.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-email-protect (1.1.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-target-blank (2.0.0)
jekyll (>= 3.0, < 5.0)
nokogiri (~> 1.10)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
nokogiri (1.13.8-x86_64-linux)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.0)
racc (1.6.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.30.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.8.0)
webrick (1.7.0)

PLATFORMS
x86_64-linux

DEPENDENCIES
jekyll
jekyll-email-protect
jekyll-paginate
jekyll-seo-tag
jekyll-target-blank
webrick (~> 1.7)

BUNDLED WITH
2.3.22
22 changes: 15 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,31 @@ baseurl: /gradfolio #name of GitHub repository
url: "" #custom url to be used instead of GitHub repository
email: #


highlighter: rouge
markdown: kramdown

# Pagination
paginate: 4
permalink: /blog/:year/:title/
paginate_path: /blog/page:num/

# Social media links in footer
facebook: "#"
twitter: "#"
linkedin: "#"
stackoverflow: "#"
github: "#"
researchgate: "#"
orcid: "#"
quora: "#"
instagram: "#"
facebook: "#"


# Markdown
highlighter: rouge
markdown: kramdown

# Tracker
analytics:

#optimization -> compress.html
# optimization -> compress.html
compress_html:
clippings: [html,div, p, ul, td, h1, h2, h3, h4,link, meta, footer, nav, img, header, hr, br, head, style, li, ul, ol, time, main, script, title]
comments: ["<!-- ", " -->"]
Expand All @@ -45,7 +46,14 @@ compress_html:
collections:
projects:
output: true
permalink: /projects/:path/
permalink: /projects/:name/
order:
- shortProject.md
- longerProjectTitle.md
- redirect.md
- project4.md
- project5.md
- project6.md

sass:
sass_dir: /assets/css/_sass
Expand Down
27 changes: 27 additions & 0 deletions _includes/social-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,31 @@
</a>
{%- endif -%}

{%- if site.quora -%}
<a title="{{ _locale_string_follow | replace: '[NAME]', 'Quora' }}"
class="social-button quora" itemprop="sameAs"
href="https://www.quora.com/profile/{{ site.quora }}"
target="_blank">
<i class="fab fa-quora"></i>
</a>
{%- endif -%}

{%- if site.instagram -%}
<a title="{{ _locale_string_follow | replace: '[NAME]', 'Instagram' }}"
class="social-button instagram" itemprop="sameAs"
href="https://www.instagram.com/{{ site.instagram }}"
target="_blank">
<i class="fab fa-instagram"></i>
</a>
{%- endif -%}

{%- if site.stackoverflow -%}
<a title="{{ _locale_string_follow | replace: '[NAME]', 'Stackoverflow' }}"
class="social-button stackoverflow" itemprop="sameAs"
href="https://stackoverflow.com/users/{{ site.stackoverflow }}"
target="_blank">
<i class="fab fa-brands fa-stack-overflow"></i>
</a>
{%- endif -%}

</div>
2 changes: 1 addition & 1 deletion _layouts/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% if page.profile %}
{% if page.profile.image %}
<img class="profile {{ page.profile.align }}" width="33.33%" src="{{ page.profile.image | prepend: '/assets/images/' | prepend: site.baseurl | prepend: site.url }}">
<img class="profile {{ page.profile.align }}" width="33.33%" src="{{ page.profile.image | prepend: '/assets/images/' | relative_url }}">
{% endif %}
{% endif %}

Expand Down
46 changes: 46 additions & 0 deletions _layouts/clean.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
# layout: compress
---
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/main.css">

{% seo %}

{% include favicon.html %}

{% include mathjax.html %}

<!-- Load fontawesome here for faster loadtimes: https://stackoverflow.com/a/35880730/9523246 -->
<script type="text/javascript"> (function() { var css = document.createElement('link'); css.href = 'https://use.fontawesome.com/releases/v5.11.0/css/all.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })(); </script>
</head>

<body>
<main>
<article>
{{ content }}
</article>
</main>

<footer>
<p class="copy">
<small> &copy; {{site.title}} {{ site.time | date: '%Y' }}
| Powered by Jekyll and
<a target="_blank" href="https://github.com/jitinnair1/gradfolio/">Gradfolio</a>.
Last updated on {{ site.time | date_to_long_string }}
</small>
</p>

{% include social-footer.html %}

</footer>

{% include analytics.html %}

</body>

</html>
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ <h3 class="post-description">{{site.description}}</h3>

<!-- Load fontawesome here for faster loadtimes: https://stackoverflow.com/a/35880730/9523246 -->
<script type="text/javascript"> (function() { var css = document.createElement('link'); css.href = 'https://use.fontawesome.com/releases/v5.11.0/css/all.css'; css.rel = 'stylesheet'; css.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(css); })(); </script>

</head>

<body>
Expand Down
9 changes: 0 additions & 9 deletions _pages/404.html

This file was deleted.

16 changes: 16 additions & 0 deletions _pages/404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title:
layout: clean
permalink: 404.html
---

<p align="center">
<img src="{{ '/assets/images/404.png' | relative_url }}"/>
</p>

<p align="center">Oops! Something broke. Or went missing. Or it's probably just a typo.</p>

<p align="center">
<a href="{{site.baseurl}}/"><button class="simplebutton">Go to Home Page</button></a>
</p>

Loading

0 comments on commit 93b9461

Please sign in to comment.