Merge remote-tracking branch 'origin/master'
# Conflicts: # README.md
This commit is contained in:
commit
adbf77c49a
8 changed files with 47 additions and 10 deletions
5
.github/ISSUE_TEMPLATE.md
vendored
5
.github/ISSUE_TEMPLATE.md
vendored
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -16,3 +16,4 @@ test/
|
|||
_deploy/*
|
||||
Rakefile
|
||||
.jekyll-metadata
|
||||
/.idea/
|
||||
18
README.md
18
README.md
|
|
@ -46,19 +46,29 @@ You can watch it in action [here](https://panossakkos.github.io/personal-jekyll-
|
|||
|
||||
The theme contains documentation in the form of [blog posts](https://panossakkos.github.io/personal-jekyll-theme/blog/index.html).
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## How to run locally
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
## OSS used in { Personal }
|
||||
|
||||
|
|
|
|||
|
|
@ -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!
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
<!-- Footer Start -->
|
||||
<!-- Footer Start -->
|
||||
|
||||
<footer>
|
||||
|
||||
|
|
@ -8,7 +7,11 @@
|
|||
<p><br><br></p>
|
||||
|
||||
<div class="container text-center">
|
||||
<p>Copyright © {{ site.author }} {{ site.time | date: "%Y" }}</p>
|
||||
<p>Copyright © {{ site.author }} {{ site.time | date: "%Y" }}</p>
|
||||
{% if site.keybase-in-footer %}
|
||||
<p style="font-size: 16px;"><a href="https://keybase.io/{{site.keybase-username}}" target="_blank"><i
|
||||
class="fa fa-key"></i> {{site.keybase-username}} on Keybase</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
|
||||
<!-- Social Buttons Start -->
|
||||
|
||||
<ul class="list-inline social-buttons">
|
||||
{% for network in site.social %}
|
||||
{% for network in site.social %}
|
||||
<li><a href="{{ network.url }}" target="_blank"><i class="fa fa-{{ network.title }} fa-fw"></i></a></li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% if site.keybase-in-social %}
|
||||
<li><a href="https://keybase.io/{{site.keybase-username}}" target="_blank"><i class="fa fa-key fa-fw"></i></a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
<!-- Social Buttons End -->
|
||||
|
|
|
|||
4
scripts/serve-lan
Normal file
4
scripts/serve-lan
Normal file
|
|
@ -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 ""
|
||||
4
scripts/serve-lan-production
Normal file
4
scripts/serve-lan-production
Normal file
|
|
@ -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 ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue