0001
This commit is contained in:
6
docs/README.md
Normal file
6
docs/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
https://jekyllrb.com/
|
||||
|
||||
https://jekyllrb.com/docs/liquid/tags/
|
||||
https://jekyllrb.com/docs/variables/
|
||||
|
||||
"jekyll serve" to open local server for debugging
|
||||
6
docs/_data/navigation.yml
Normal file
6
docs/_data/navigation.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: Home
|
||||
link: /
|
||||
- name: About
|
||||
link: /about.html
|
||||
- name: Blog
|
||||
link: /blog.html
|
||||
5
docs/_includes/navigation.html
Normal file
5
docs/_includes/navigation.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<nav>
|
||||
{% for item in site.data.navigation %}
|
||||
<a href="{{ item.link }}" {% if page.url == item.link %} class="current" {% endif %}>{{ item.name }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
12
docs/_layouts/default.html
Normal file
12
docs/_layouts/default.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ page.title }}</title>
|
||||
<link rel="stylesheet" href="/assets/css/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
{% include navigation.html %}
|
||||
{{ content }}
|
||||
</body>
|
||||
</html>
|
||||
7
docs/_layouts/post.html
Normal file
7
docs/_layouts/post.html
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p>{{ page.date | date_to_string }} - {{ page.author }}</p>
|
||||
|
||||
{{ content }}
|
||||
12
docs/_posts/2018-08-20-bananas.md
Normal file
12
docs/_posts/2018-08-20-bananas.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
layout: post
|
||||
author: jill
|
||||
---
|
||||
A banana is an edible fruit – botanically a berry – produced by several kinds
|
||||
of large herbaceous flowering plants in the genus Musa.
|
||||
|
||||
In some countries, bananas used for cooking may be called "plantains",
|
||||
distinguishing them from dessert bananas. The fruit is variable in size, color,
|
||||
and firmness, but is usually elongated and curved, with soft flesh rich in
|
||||
starch covered with a rind, which may be green, yellow, red, purple, or brown
|
||||
when ripe.
|
||||
11
docs/_posts/2018-08-21-apples.md
Normal file
11
docs/_posts/2018-08-21-apples.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
layout: post
|
||||
author: jill
|
||||
---
|
||||
An apple is a sweet, edible fruit produced by an apple tree.
|
||||
|
||||
Apple trees are cultivated worldwide, and are the most widely grown species in
|
||||
the genus Malus. The tree originated in Central Asia, where its wild ancestor,
|
||||
Malus sieversii, is still found today. Apples have been grown for thousands of
|
||||
years in Asia and Europe, and were brought to North America by European
|
||||
colonists.
|
||||
12
docs/_posts/2018-08-22-kiwifruit.md
Normal file
12
docs/_posts/2018-08-22-kiwifruit.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
layout: post
|
||||
author: ted
|
||||
---
|
||||
Kiwifruit (often abbreviated as kiwi), or Chinese gooseberry is the edible
|
||||
berry of several species of woody vines in the genus Actinidia.
|
||||
|
||||
The most common cultivar group of kiwifruit is oval, about the size of a large
|
||||
hen's egg (5–8 cm (2.0–3.1 in) in length and 4.5–5.5 cm (1.8–2.2 in) in
|
||||
diameter). It has a fibrous, dull greenish-brown skin and bright green or
|
||||
golden flesh with rows of tiny, black, edible seeds. The fruit has a soft
|
||||
texture, with a sweet and unique flavor.
|
||||
@@ -1,29 +0,0 @@
|
||||
---
|
||||
layout: post
|
||||
title: "Welcome to Jekyll!"
|
||||
date: 2022-09-20 17:18:45 +0200
|
||||
categories: jekyll update
|
||||
---
|
||||
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
||||
|
||||
Jekyll requires blog post files to be named according to the following format:
|
||||
|
||||
`YEAR-MONTH-DAY-title.MARKUP`
|
||||
|
||||
Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
||||
|
||||
Jekyll also offers powerful support for code snippets:
|
||||
|
||||
{% highlight ruby %}
|
||||
def print_hi(name)
|
||||
puts "Hi, #{name}"
|
||||
end
|
||||
print_hi('Tom')
|
||||
#=> prints 'Hi, Tom' to STDOUT.
|
||||
{% endhighlight %}
|
||||
|
||||
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
||||
|
||||
[jekyll-docs]: https://jekyllrb.com/docs/home
|
||||
[jekyll-gh]: https://github.com/jekyll/jekyll
|
||||
[jekyll-talk]: https://talk.jekyllrb.com/
|
||||
3
docs/_sass/main.scss
Normal file
3
docs/_sass/main.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
.current {
|
||||
color: black;
|
||||
}
|
||||
7
docs/about.md
Normal file
7
docs/about.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: default
|
||||
title: About
|
||||
---
|
||||
# About page
|
||||
|
||||
This page tells you two bit about me. 01
|
||||
3
docs/assets/css/styles.scss
Normal file
3
docs/assets/css/styles.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
---
|
||||
@import "main";
|
||||
14
docs/blog.html
Normal file
14
docs/blog.html
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
title: Blog
|
||||
---
|
||||
<h1>Latest Posts</h1>
|
||||
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||
{{ post.excerpt }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
8
docs/index.html
Normal file
8
docs/index.html
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: default
|
||||
title: Homepage
|
||||
|
||||
my_number: 5
|
||||
---
|
||||
|
||||
<h1>{{ page.title }}</h1>
|
||||
Reference in New Issue
Block a user