diff --git a/docs/2022/09/20/how-to-create-githubpage.html b/docs/2022/09/20/how-to-create-githubpage.html index 43ac022..c7517b2 100644 --- a/docs/2022/09/20/how-to-create-githubpage.html +++ b/docs/2022/09/20/how-to-create-githubpage.html @@ -65,9 +65,8 @@ Create a new Jekyll-project at localDev-directory:
$ jekyll new --skip-bundle .
- (make sure you got the dot)
-
+ (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".
@@ -78,7 +77,7 @@
Now still being at the localDev-directory, install the bundle:
-
+
$ bundle install
Optionally you can make changes at the _config.yml file.
@@ -92,11 +91,13 @@

Build Project

After creating all necessary files and dirs, you can make a production build:
Note that all files at _site will be cleared! - $ JEKYLL_ENV=production bundle exec jekyll build
+
+ $ JEKYLL_ENV=production bundle exec jekyll build +
Your Jekyll-project was now build and stored at _site.
Now move the content of the localDev/_site to docs:
-
- $ mv /localDev/_site docs
+
+ $ cp -r _site/* ../docs
And push your changes to your central GitHub-Repository.
diff --git a/docs/assets/css/blog.css b/docs/assets/css/blog.css index 83174aa..de1c372 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:20px} +div.console{background-color:lightgray;color:black;padding-left:10px;padding-top:5px;padding-bottom:5px}div.outerDiv{padding-left:50px;padding-right:50px} diff --git a/docs/feed.xml b/docs/feed.xml index affad99..e5b775f 100644 --- a/docs/feed.xml +++ b/docs/feed.xml @@ -1,4 +1,4 @@ -Jekyll2022-09-21T14:36:13+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: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"> <div id="prerequisits"> <h3>Prerequisits</h3> Install <a href="https://git-scm.com/downloads" target="_blank">Git</a><br> @@ -46,9 +46,8 @@ Create a new Jekyll-project at localDev-directory:<br> <div class="console"> <code>$ jekyll new --skip-bundle .</code><br> - (make sure you got the dot) </div> - <br> + (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> Add the github-pages gem by editing the line starting with # gem "github-pages".<br> @@ -59,7 +58,7 @@ <br> Now still being at the localDev-directory, install the bundle:<br> - <div> + <div class="console"> <code>$ bundle install</code><br> </div> Optionally you can make changes at the <i>_config.yml</i> file.<br> @@ -73,11 +72,13 @@ <h3>Build Project</h3> After creating all necessary files and dirs, you can make a production build:<br> Note that all files at _site will be cleared! - <code>$ JEKYLL_ENV=production bundle exec jekyll build</code><br> + <div class="console"> + <code>$ JEKYLL_ENV=production bundle exec jekyll build</code> + </div> Your Jekyll-project was now build and stored at _site.<br> Now move the content of the localDev/_site to docs:<br> - <div> - <code>$ mv /localDev/_site docs</code><br> + <div class="console"> + <code>$ cp -r _site/* ../docs</code><br> </div> And push your changes to your central GitHub-Repository. </div> 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 0004076..6457a05 100644 --- a/localdocs/_posts/2022-09-20-how-to-create-githubpage.html +++ b/localdocs/_posts/2022-09-20-how-to-create-githubpage.html @@ -52,9 +52,8 @@ title: 2022 Week 38 How to create a static website with Jekyll and deploy it on Create a new Jekyll-project at localDev-directory:
$ jekyll new --skip-bundle .
- (make sure you got the dot)
-
+ (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".
@@ -65,7 +64,7 @@ title: 2022 Week 38 How to create a static website with Jekyll and deploy it on
Now still being at the localDev-directory, install the bundle:
-
+
$ bundle install
Optionally you can make changes at the _config.yml file.
@@ -79,11 +78,13 @@ title: 2022 Week 38 How to create a static website with Jekyll and deploy it on

Build Project

After creating all necessary files and dirs, you can make a production build:
Note that all files at _site will be cleared! - $ JEKYLL_ENV=production bundle exec jekyll build
+
+ $ JEKYLL_ENV=production bundle exec jekyll build +
Your Jekyll-project was now build and stored at _site.
Now move the content of the localDev/_site to docs:
-
- $ mv /localDev/_site docs
+
+ $ cp -r _site/* ../docs
And push your changes to your central GitHub-Repository.
diff --git a/localdocs/_sass/blog.scss b/localdocs/_sass/blog.scss index 87df1e3..e7d3ea9 100644 --- a/localdocs/_sass/blog.scss +++ b/localdocs/_sass/blog.scss @@ -7,5 +7,6 @@ div.console { } div.outerDiv { - padding-left: 20px; + padding-left: 50px; + padding-right: 50px; } \ No newline at end of file