This commit is contained in:
WickedJack99
2022-09-20 19:45:08 +02:00
parent 9fa426493b
commit c6642a2127
7 changed files with 65 additions and 74 deletions

View File

@@ -16,9 +16,31 @@
</nav>
<h1>How to create a static website with Jekyll and deploy it on GitHubPages</h1>
<p>20 Sep 2022 - jill</p>
<p>20 Sep 2022 - Aaron</p>
<p>Create a GitHub Account.</p>
<p>Create a GitHub-account: https://github.com/</p>
<p>Create a repository on GitHub: https://github.com/
(It has to be public if you use GitHub Free, note that your code will be visible to everyone!)</p>
<p>Clone the repository to a local directory:</p>
<p>SSH</p>
<blockquote>
<p>$ git clone recursive $SSH_URL</p>
</blockquote>
<p>HTTPS</p>
<blockquote>
<p>$ git -c http.sslVerify=false clone recursive $HTTPS_URL</p>
</blockquote>
<p>Create two directories: docs and localDev.</p>
<blockquote>
<p>$ mkdir docs</p>
<p>$ mkdir localDev</p>
</blockquote>
<p>Follow instructions on: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll</p>

View File

@@ -1,10 +1,15 @@
https://jekyllrb.com/
This is my first approach to a website which is deployed to GitHub Pages.
https://jekyllrb.com/docs/liquid/tags/
https://jekyllrb.com/docs/variables/
I use Jekyll for some nice building tricks.
"jekyll serve" to open local server for debugging
> https://jekyllrb.com/
Visit Page:
Things for me to check out:
> https://jekyllrb.com/docs/liquid/tags/
>
> https://jekyllrb.com/docs/variables/
Visit Page: (Will make a guide how I did the setup of the webpage)
https://wickedjack99.github.io/website/

View File

@@ -1,52 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>About</title>
<link rel="stylesheet" href="/assets/css/styles.css">
</head>
<body>
<nav>
<a href="/website/index.html" >Home</a>
<a href="/website/about.html" >About</a>
<a href="/website/blog.html" >Blog</a>
</nav>
<article class="post">
<header class="post-header">
<h1 class="post-title">About</h1>
</header>
<div class="post-content">
<p>This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at <a href="https://jekyllrb.com/">jekyllrb.com</a></p>
<p>You can find the source code for Minima at GitHub:
<a href="https://github.com/jekyll">jekyll</a> /
<a href="https://github.com/jekyll/minima">minima</a></p>
<p>You can find the source code for Jekyll at GitHub:
<a href="https://github.com/jekyll">jekyll</a> /
<a href="https://github.com/jekyll/jekyll">jekyll</a></p>
</div>
</article>
<nav>
<a href="/website/terms.html" >Terms</a>
<a href="/website/privacy.html" >Privacy</a>
<a href="/website/blog.html" >Blog</a>
<a href="/website/imprint.html" >Imprint</a>
</nav>
</body>
</html>

View File

@@ -21,7 +21,7 @@
<li>
<h2><a href="website//2022/09/20/jekyll_&_github.html">How to create a static website with Jekyll and deploy it on GitHubPages</a></h2>
<p>Create a GitHub Account.</p>
<p>Create a GitHub-account: https://github.com/</p>
</li>

View File

@@ -1,7 +1,29 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.2">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2022-09-20T19:08:03+02:00</updated><id>/feed.xml</id><title type="html">Mr.</title><subtitle>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.</subtitle><entry><title type="html">How to create a static website with Jekyll and deploy it on GitHubPages</title><link href="/2022/09/20/jekyll_&_github.html" rel="alternate" type="text/html" title="How to create a static website with Jekyll and deploy it on GitHubPages" /><published>2022-09-20T00:00:00+02:00</published><updated>2022-09-20T00:00:00+02:00</updated><id>/2022/09/20/jekyll_&amp;_github</id><content type="html" xml:base="/2022/09/20/jekyll_&amp;_github.html">&lt;p&gt;Create a GitHub Account.&lt;/p&gt;
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.2">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2022-09-20T19:44:36+02:00</updated><id>/feed.xml</id><title type="html">Mr.</title><subtitle>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.</subtitle><entry><title type="html">How to create a static website with Jekyll and deploy it on GitHubPages</title><link href="/2022/09/20/jekyll_&_github.html" rel="alternate" type="text/html" title="How to create a static website with Jekyll and deploy it on GitHubPages" /><published>2022-09-20T00:00:00+02:00</published><updated>2022-09-20T00:00:00+02:00</updated><id>/2022/09/20/jekyll_&amp;_github</id><content type="html" xml:base="/2022/09/20/jekyll_&amp;_github.html">&lt;p&gt;Create a GitHub-account: https://github.com/&lt;/p&gt;
&lt;p&gt;Create a repository on GitHub: https://github.com/
(It has to be public if you use GitHub Free, note that your code will be visible to everyone!)&lt;/p&gt;
&lt;p&gt;Clone the repository to a local directory:&lt;/p&gt;
&lt;p&gt;SSH&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ git clone recursive $SSH_URL&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;HTTPS&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ git -c http.sslVerify=false clone recursive $HTTPS_URL&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Create two directories: docs and localDev.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ mkdir docs&lt;/p&gt;
&lt;p&gt;$ mkdir localDev&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Follow instructions on: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll&lt;/p&gt;
&lt;p&gt;Deploy: https://jekyllrb.com/docs/step-by-step/10-deployment/&lt;/p&gt;
&lt;p&gt;JEKYLL_ENV=production bundle exec jekyll build&lt;/p&gt;</content><author><name>jill</name></author><summary type="html">Create a GitHub Account.</summary></entry></feed>
&lt;p&gt;JEKYLL_ENV=production bundle exec jekyll build&lt;/p&gt;</content><author><name>Aaron</name></author><summary type="html">Create a GitHub-account: https://github.com/</summary></entry></feed>

View File

@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title></title>
<title>Homepage</title>
<link rel="stylesheet" href="/assets/css/styles.css">
</head>
<body>
@@ -15,17 +15,7 @@
<a href="/website/blog.html" >Blog</a>
</nav>
<div class="home">
<h2 class="post-list-heading">Posts</h2>
<ul class="post-list"><li><span class="post-meta">Sep 20, 2022</span>
<h3>
<a class="post-link" href="/2022/09/20/jekyll_&_github.html">
How to create a static website with Jekyll and deploy it on GitHubPages
</a>
</h3></li></ul>
<p class="rss-subscribe">subscribe <a href="/feed.xml">via RSS</a></p></div>
<h1>Homepage</h1>
<nav>
<a href="/website/terms.html" >Terms</a>

View File

@@ -22,6 +22,10 @@
of that content.</p>
<p> I'm informing you that with following those links, probably your IP-address will be recorded.</p>
<p> If you leave this website I recommend you to check out their Privacy-Policy before accessing their website.</p>
<h3>Cookies :P</h3>
<p>I'm hungry, give me some cookies please!</p>
<p>I don't use cookies but this site is hosted by GitHub Pages so maybe they use them.</p>
<nav>
<a href="/website/terms.html" >Terms</a>