Skip to content

Commit

Permalink
Merge pull request barryclark#19 from sujaykundu777/dev-april
Browse files Browse the repository at this point in the history
changes for v.0.4.6
  • Loading branch information
sujaykundu777 authored Apr 28, 2020
2 parents 4be0be5 + 9977867 commit 8de5898
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 9 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to Github Pages

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy Jekyll Site
uses: sujaykundu777/jekyll-deploy-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
14 changes: 8 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ GEM
algolia_html_extractor (2.6.2)
json (~> 2.0)
nokogiri (~> 1.10.4)
algoliasearch (1.27.1)
algoliasearch (1.27.2)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
backports (3.17.1)
Expand Down Expand Up @@ -81,7 +81,8 @@ GEM
jekyll (>= 1.5.1)
trollop (= 2.9.9)
json (2.3.0)
kramdown (2.1.0)
kramdown (2.2.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
Expand Down Expand Up @@ -119,11 +120,12 @@ GEM
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
ffi (~> 1.0)
rouge (3.17.0)
rexml (3.2.4)
rouge (3.18.0)
safe_yaml (1.0.5)
sassc (2.2.1)
sassc (2.3.0)
ffi (~> 1.9)
sassc (2.2.1-x64-mingw32)
sassc (2.3.0-x64-mingw32)
ffi (~> 1.9)
sawyer (0.8.2)
addressable (>= 2.3.5)
Expand All @@ -146,7 +148,7 @@ GEM
trollop (2.9.9)
tzinfo (1.2.7)
thread_safe (~> 0.1)
tzinfo-data (1.2019.3)
tzinfo-data (1.2020.1)
tzinfo (>= 1.0.0)
unicode-display_width (1.7.0)
verbal_expressions (0.1.5)
Expand Down
6 changes: 4 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ telegram_username: johndoe
dribbble_username: johndoe
flickr_username: johndoe

#for comments using disqus
disqus_shortname: sujay-kundu
#for comments ( we got Disqus and Hyvor Commenting, uncomment the one you want to use )

# disqus_shortname: sujay-kundu
hyvor_talk_website_id: 476

# wakatime username (coding activity)
wakatime_username: sujaykundu777
Expand Down
10 changes: 9 additions & 1 deletion _includes/blog_post_article.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,13 @@ <h4 class="post-meta">{{ page.summary }}</h4>
<br />
{{ content }}
</div>
<div id="disqus_thread"></div>

{%- if site.hyvor_talk_website_id -%}
<div class="comments">
{%- include hyvor_comments.html -%}
</div>
{%- endif -%}
<!-- Incomment incase you want to use Disqus
<div id="disqus_thread"></div>
-->
</article>
22 changes: 22 additions & 0 deletions _includes/hyvor_comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- Hyvor Comments. For more info visit https://talk.hyvor.com -->

<div id="hyvor-talk-view"></div>
<script type="text/javascript">
var HYVOR_TALK_WEBSITE = '{{ site.hyvor_talk_website_id }}';
var HYVOR_TALK_CONFIG = {
url: '{{ page.url | absolute_url }}',
id: '{{page.id}}',
palette: {
accent: "#EB8E3F",
accentText: "#080808",
footerHeader: "#171616",
footerHeaderText: "#656363",
box: "#3A3A38",
boxText: "#E0E0E0",
boxLightText: "#AAAAAA",
backgroundText: "#E0E0E0"
}
};
</script>
<script async type="text/javascript" src="//talk.hyvor.com/web-api/embed"></script>

0 comments on commit 8de5898

Please sign in to comment.