(make sure you got the dot)
-
- Open the Gemfile that Jekyll created and comment out the line which starts with gem "jekyll"
+
+
+
Edit Gemfile
+ Open the Gemfile that Jekyll created and comment out (#) the line which starts with gem "jekyll"
Add the github-pages gem by editing the line starting with # gem "github-pages".
Change this line (# gem "github-pages") to: gem "github-pages", "~> GITHUB-PAGES-VERSION", group: :jekyll_plugins
- You can find the actual version of GitHub-pages here .
+ You can find the actual version of GitHub-pages here.
Now save and close the Gemfile.
@@ -86,6 +88,7 @@
Learn Jekyll
Follow this guide to learn Jekyll. Make sure that all files and directories you create are in the localDev-directory.
Note that building locally will not work according to commenting out gem "Jekyll" at the Gemfile. (Atm I didn't check if this is right)
+ If it is, you have to not comment it out and do bundle install again. Afterwards you can test locally with jekyll serve.
Build Project
diff --git a/docs/assets/css/blog.css b/docs/assets/css/blog.css
index de1c372..1949856 100644
--- a/docs/assets/css/blog.css
+++ b/docs/assets/css/blog.css
@@ -1 +1 @@
-div.console{background-color:lightgray;color:black;padding-left:10px;padding-top:5px;padding-bottom:5px}div.outerDiv{padding-left:50px;padding-right:50px}
+div.console{background-color:lightgray;color:black;padding-left:10px;padding-top:10px;padding-bottom:10px}div.outerDiv{padding-left:50px;padding-right:50px}
diff --git a/docs/feed.xml b/docs/feed.xml
index e5b775f..f78f889 100644
--- a/docs/feed.xml
+++ b/docs/feed.xml
@@ -1,4 +1,4 @@
-Jekyll2022-09-21T15:09:06+02:00/feed.xmlMr.Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.2022 Week 38 How to create a static website with Jekyll and deploy it on GitHubPages2022-09-20T00:00:00+02:002022-09-20T00:00:00+02:00/2022/09/20/how-to-create-githubpage<div class="outerDiv">
+Jekyll2022-09-21T15:34:38+02:00/feed.xmlMr.Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.2022 Week 38 How to create a static website with Jekyll and deploy it on GitHubPages2022-09-20T00:00:00+02:002022-09-20T00:00:00+02:00/2022/09/20/how-to-create-githubpage<div class="outerDiv">
<div id="prerequisits">
<h3>Prerequisits</h3>
Install <a href="https://git-scm.com/downloads" target="_blank">Git</a><br>
@@ -17,11 +17,11 @@
<div id="repository">
<h3>Local Repository</h3>
Clone the repository to a local directory:<br>
- <i>SSH</i><br>
+ <i>ssh</i><br>
<div class="console">
<code>$ git clone --recursive SSH_URL</code>
</div>
- <i>HTTPS</i><br>
+ <i>https</i><br>
<div class="console">
<code>$ git -c http.sslVerify=false clone --recursive HTTPS_URL</code>
</div>
@@ -48,12 +48,14 @@
<code>$ jekyll new --skip-bundle .</code><br>
</div>
(make sure you got the dot)<br>
-
- Open the Gemfile that Jekyll created and comment out the line which starts with <i>gem "jekyll"</i><br>
+ </div>
+ <div>
+ <h3>Edit Gemfile</h3>
+ Open the Gemfile that Jekyll created and comment out (#) the line which starts with <i>gem "jekyll"</i><br>
Add the github-pages gem by editing the line starting with # gem "github-pages".<br>
Change this line (# gem "github-pages") to:<br>
<i>gem "github-pages", "~> GITHUB-PAGES-VERSION", group: :jekyll_plugins</i><br>
- You can find the actual version of GitHub-pages <a href="https://rubygems.org/gems/github-pages" target="_blank">here</a><br>.
+ You can find the actual version of GitHub-pages <a href="https://rubygems.org/gems/github-pages" target="_blank">here</a>.<br>
Now save and close the Gemfile.<br>
<br>
@@ -67,6 +69,7 @@
<h3>Learn Jekyll</h3>
Follow <a href="https://jekyllrb.com/docs/step-by-step/01-setup/#create-a-site" target="_blank">this</a> guide to learn Jekyll. Make sure that all files and directories you create are in the localDev-directory.<br>
Note that building locally will not work according to commenting out gem "Jekyll" at the Gemfile. (Atm I didn't check if this is right)<br>
+ If it is, you have to not comment it out and do bundle install again. Afterwards you can test locally with jekyll serve.
</div>
<div id="buildProject">
<h3>Build Project</h3>
@@ -104,4 +107,4 @@
<li><a href="https://jekyllrb.com/docs/step-by-step/10-deployment/" target="_blank">https://jekyllrb.com/docs/step-by-step/10-deployment/</a></li>
</ul>
</div>
-</div>AaronPrerequisits Install Git Install Ruby Install Jekyll and Bundler $ gem install jekyll bundler GitHub Create a GitHub-account Create a repository on GitHub (It has to be public if you use GitHub Free, note that your code will be visible to everyone!) Local Repository Clone the repository to a local directory: SSH $ git clone --recursive SSH_URL HTTPS $ git -c http.sslVerify=false clone --recursive HTTPS_URL Directories Create two directories: docs and localDev. $ mkdir docs $ mkdir localDev docs will contain the content of the website later on. localDev will contain our Jekyll project. Create Jekyll Project Move to the localDev-directory: $ cd localDev Create a new Jekyll-project at localDev-directory: $ jekyll new --skip-bundle . (make sure you got the dot) Open the Gemfile that Jekyll created and comment out the line which starts with gem "jekyll" Add the github-pages gem by editing the line starting with # gem "github-pages". Change this line (# gem "github-pages") to: gem "github-pages", "~> GITHUB-PAGES-VERSION", group: :jekyll_plugins You can find the actual version of GitHub-pages here. Now save and close the Gemfile.
\ No newline at end of file
+</div>AaronPrerequisits Install Git Install Ruby Install Jekyll and Bundler $ gem install jekyll bundler GitHub Create a GitHub-account Create a repository on GitHub (It has to be public if you use GitHub Free, note that your code will be visible to everyone!) Local Repository Clone the repository to a local directory: ssh $ git clone --recursive SSH_URL https $ git -c http.sslVerify=false clone --recursive HTTPS_URL Directories Create two directories: docs and localDev. $ mkdir docs $ mkdir localDev docs will contain the content of the website later on. localDev will contain our Jekyll project. Create Jekyll Project Move to the localDev-directory: $ cd localDev Create a new Jekyll-project at localDev-directory: $ jekyll new --skip-bundle . (make sure you got the dot) Edit Gemfile Open the Gemfile that Jekyll created and comment out (#) the line which starts with gem "jekyll" Add the github-pages gem by editing the line starting with # gem "github-pages". Change this line (# gem "github-pages") to: gem "github-pages", "~> GITHUB-PAGES-VERSION", group: :jekyll_plugins You can find the actual version of GitHub-pages here. Now save and close the Gemfile.
\ No newline at end of file
diff --git a/localdocs/_posts/2022-09-20-how-to-create-githubpage.html b/localdocs/_posts/2022-09-20-how-to-create-githubpage.html
index 6457a05..fccb517 100644
--- a/localdocs/_posts/2022-09-20-how-to-create-githubpage.html
+++ b/localdocs/_posts/2022-09-20-how-to-create-githubpage.html
@@ -23,11 +23,11 @@ title: 2022 Week 38 How to create a static website with Jekyll and deploy it on
Local Repository
Clone the repository to a local directory:
- SSH
+ ssh
@@ -54,12 +54,14 @@ title: 2022 Week 38 How to create a static website with Jekyll and deploy it on
$ jekyll new --skip-bundle .
(make sure you got the dot)
-
- Open the Gemfile that Jekyll created and comment out the line which starts with gem "jekyll"
+
+
+
Edit Gemfile
+ Open the Gemfile that Jekyll created and comment out (#) the line which starts with gem "jekyll"
Add the github-pages gem by editing the line starting with # gem "github-pages".
Change this line (# gem "github-pages") to: gem "github-pages", "~> GITHUB-PAGES-VERSION", group: :jekyll_plugins
- You can find the actual version of GitHub-pages here .
+ You can find the actual version of GitHub-pages here.
Now save and close the Gemfile.
@@ -73,6 +75,7 @@ title: 2022 Week 38 How to create a static website with Jekyll and deploy it on
Learn Jekyll
Follow this guide to learn Jekyll. Make sure that all files and directories you create are in the localDev-directory.
Note that building locally will not work according to commenting out gem "Jekyll" at the Gemfile. (Atm I didn't check if this is right)
+ If it is, you have to not comment it out and do bundle install again. Afterwards you can test locally with jekyll serve.