From 7cfbda8762c85004b68db944c890e23e6ef4b3b8 Mon Sep 17 00:00:00 2001 From: Panos Sakkos Date: Fri, 15 Jul 2016 00:31:51 +0200 Subject: [PATCH 1/3] Update ISSUE_TEMPLATE.md --- .github/ISSUE_TEMPLATE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index f2fd98c..e7c3490 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,8 @@ +## Questions + +Please ask your questions at the [gitter channel](https://gitter.im/PanosSakkos/personal-jekyll-theme). +That way the issues here are kept clean and you will get an answer to your question quicker :smile: + ## Expected Behavior From 26678401b7cb0e04787614556a3aeb58fae172d5 Mon Sep 17 00:00:00 2001 From: Kartik Arora Date: Sun, 31 Jul 2016 20:33:11 +0530 Subject: [PATCH 2/3] New scripts to serve across lan (#184) * New scripts to server across lan * Updated README.md --- .gitignore | 1 + README.md | 14 ++++++++++---- scripts/serve-lan | 4 ++++ scripts/serve-lan-production | 4 ++++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 scripts/serve-lan create mode 100644 scripts/serve-lan-production diff --git a/.gitignore b/.gitignore index a9adbc9..aac0add 100755 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ test/ _deploy/* Rakefile .jekyll-metadata +/.idea/ \ No newline at end of file diff --git a/README.md b/README.md index 18d963a..26fc7b7 100755 --- a/README.md +++ b/README.md @@ -87,15 +87,21 @@ The theme contains documentation in the form of [blog posts](https://panossakkos First, you need to install jekyll and the dependencies of { Personal } by running: -```` +```shell ./scripts/install -```` +``` Then, you can build and serve your website by simply running: -```` +```shell ./scripts/serve-production -```` +``` + +To serve across lan (requires su to forward the port 4000 over lan): + +```shell +./scripts/serve-lan-production +``` ## Wiki diff --git a/scripts/serve-lan b/scripts/serve-lan new file mode 100644 index 0000000..1e872ac --- /dev/null +++ b/scripts/serve-lan @@ -0,0 +1,4 @@ +#!/bin/bash + +sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT +jekyll serve --watch --host "0.0.0.0" --baseurl "" diff --git a/scripts/serve-lan-production b/scripts/serve-lan-production new file mode 100644 index 0000000..ccbc119 --- /dev/null +++ b/scripts/serve-lan-production @@ -0,0 +1,4 @@ +#!/bin/bash + +sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT +JEKYLL_ENV=production jekyll serve --host "0.0.0.0" --baseurl "" From e1461f8b6ceb84cb67c5b0e6318a1e2f85d447c0 Mon Sep 17 00:00:00 2001 From: Kartik Arora Date: Sun, 31 Jul 2016 20:47:21 +0530 Subject: [PATCH 3/3] Keybase patch (#185) * New scripts to server across lan * Updated README.md * Keybase on { Personal } --- README.md | 2 ++ _config.yml | 8 ++++++++ _includes/footer.html | 9 ++++++--- _includes/social-buttons.html | 8 +++++--- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 26fc7b7..ce4eb71 100755 --- a/README.md +++ b/README.md @@ -75,6 +75,8 @@ The theme contains documentation in the form of [blog posts](https://panossakkos ![Categories](https://dl.dropboxusercontent.com/u/8522559/personal-jekyll-theme/categories.jpg) ### 404 ![404](https://dl.dropboxusercontent.com/u/8522559/personal-jekyll-theme/404.jpg) +### Keybase +![Keybase](http://i68.tinypic.com/245xyd2.png) ### Mobile rendering ![Web App](https://dl.dropboxusercontent.com/u/8522559/personal-jekyll-theme/web-app.jpg) ### Web App mode diff --git a/_config.yml b/_config.yml index 9444854..273fa65 100755 --- a/_config.yml +++ b/_config.yml @@ -161,6 +161,14 @@ social: 404-img: "/img/labtocat.png" +################## +# GPG on Keybase # +################## + +keybase-username: johnsmith +keybase-in-social: True +keybase-in-footer: True + ################################################################################ # NB! Tread carefully if you want to change the variables below this point! diff --git a/_includes/footer.html b/_includes/footer.html index 7ae51fc..91ff1aa 100755 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,5 +1,4 @@ - - +
@@ -8,7 +7,11 @@



-

Copyright © {{ site.author }} {{ site.time | date: "%Y" }}

+

Copyright © {{ site.author }} {{ site.time | date: "%Y" }}

+ {% if site.keybase-in-footer %} +

{{site.keybase-username}} on Keybase

+ {% endif %}
diff --git a/_includes/social-buttons.html b/_includes/social-buttons.html index 6b90319..7dbbf36 100644 --- a/_includes/social-buttons.html +++ b/_includes/social-buttons.html @@ -1,10 +1,12 @@ -