diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..aea06e6 --- /dev/null +++ b/Gemfile @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +# gem "rails" + +gem "jekyll", "~> 4.3" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..bf8c5cf --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,70 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.5) + public_suffix (>= 2.0.2, < 6.0) + colorator (1.1.0) + concurrent-ruby (1.2.2) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.16.3) + forwardable-extended (2.6.0) + google-protobuf (3.25.1-x86_64-linux) + http_parser.rb (0.8.0) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + jekyll (4.3.2) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.8.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.0.4) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) + rexml (3.2.6) + rouge (4.2.0) + safe_yaml (1.0.5) + sass-embedded (1.69.5-x86_64-linux-gnu) + google-protobuf (~> 3.23) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.5.0) + webrick (1.8.1) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + jekyll (~> 4.3) + +BUNDLED WITH + 2.4.22 diff --git a/_authors/jill.md b/_authors/jill.md new file mode 100644 index 0000000..711044c --- /dev/null +++ b/_authors/jill.md @@ -0,0 +1,6 @@ +--- +short_name: jill +name: Jill Smith +position: Chief Editor +--- +Jill is an avid fruit grower based in the south of France. diff --git a/_authors/ted.md b/_authors/ted.md new file mode 100644 index 0000000..bae8e06 --- /dev/null +++ b/_authors/ted.md @@ -0,0 +1,6 @@ +--- +short_name: ted +name: Ted Doe +position: Writer +--- +Ted has been eating fruit since he was baby. diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..203825c --- /dev/null +++ b/_config.yml @@ -0,0 +1,19 @@ +collections: + authors: + output: true + +defaults: + - scope: + path: "" + type: "authors" + values: + layout: "author" + - scope: + path: "" + type: "posts" + values: + layout: "post" + - scope: + path: "" + values: + layout: "default" diff --git a/_data/navigation.yml b/_data/navigation.yml new file mode 100644 index 0000000..df9b21c --- /dev/null +++ b/_data/navigation.yml @@ -0,0 +1,8 @@ +- name: Home + link: / +- name: About + link: /about.html +- name: Blog + link: /blog.html +- name: Staff + link: /staff.html diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..ab853aa --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,5 @@ + diff --git a/_layouts/author.html b/_layouts/author.html new file mode 100644 index 0000000..241a3f3 --- /dev/null +++ b/_layouts/author.html @@ -0,0 +1,15 @@ +--- +layout: default +--- +

{{ page.name }}

+

{{ page.position }}

+ +{{ content }} + +

Posts

+ diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..f7b3e7d --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,12 @@ + + + + + {{ page.title }} + + + + {% include navigation.html %} + {{ content }} + + diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..bd67824 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,14 @@ +--- +layout: default +--- +

{{ page.title }}

+ +

+ {{ page.date | date_to_string }} + {% assign author = site.authors | where: 'short_name', page.author | first %} + {% if author %} + - {{ author.name }} + {% endif %} +

+ +{{ content }} diff --git a/_posts/2023-11-26-apples.md b/_posts/2023-11-26-apples.md new file mode 100644 index 0000000..a5f0d18 --- /dev/null +++ b/_posts/2023-11-26-apples.md @@ -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. diff --git a/_posts/2023-11-26-bananas.md b/_posts/2023-11-26-bananas.md new file mode 100644 index 0000000..2fe8008 --- /dev/null +++ b/_posts/2023-11-26-bananas.md @@ -0,0 +1,13 @@ +--- +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. diff --git a/_posts/2023-11-26-kiwi.md b/_posts/2023-11-26-kiwi.md new file mode 100644 index 0000000..5b82b56 --- /dev/null +++ b/_posts/2023-11-26-kiwi.md @@ -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. diff --git a/_sass/main.scss b/_sass/main.scss new file mode 100644 index 0000000..9a3b2ab --- /dev/null +++ b/_sass/main.scss @@ -0,0 +1,3 @@ +.current { + color: green; +} diff --git a/_site/2023/11/26/apples.html b/_site/2023/11/26/apples.html new file mode 100644 index 0000000..cdc113b --- /dev/null +++ b/_site/2023/11/26/apples.html @@ -0,0 +1,41 @@ + + + + + Apples + + + + + +

Apples

+ +

+ 26 Nov 2023 + + + - Jill Smith + +

+ +

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.

+ + + + diff --git a/_site/2023/11/26/bananas.html b/_site/2023/11/26/bananas.html new file mode 100644 index 0000000..b89054c --- /dev/null +++ b/_site/2023/11/26/bananas.html @@ -0,0 +1,42 @@ + + + + + Bananas + + + + + +

Bananas

+ +

+ 26 Nov 2023 + + + - Jill Smith + +

+ +

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.

+ + + + diff --git a/_site/2023/11/26/kiwi.html b/_site/2023/11/26/kiwi.html new file mode 100644 index 0000000..9ccec0b --- /dev/null +++ b/_site/2023/11/26/kiwi.html @@ -0,0 +1,42 @@ + + + + + Kiwi + + + + + +

Kiwi

+ +

+ 26 Nov 2023 + + + - Ted Doe + +

+ +

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.

+ + + + diff --git a/_site/about.html b/_site/about.html new file mode 100644 index 0000000..fcffc89 --- /dev/null +++ b/_site/about.html @@ -0,0 +1,26 @@ + + + + + About + + + + + +

About page

+ +

This page tells you a little bit about me.

+ + + diff --git a/_site/assets/css/styles.css b/_site/assets/css/styles.css new file mode 100644 index 0000000..909d52c --- /dev/null +++ b/_site/assets/css/styles.css @@ -0,0 +1,5 @@ +.current { + color: green; +} + +/*# sourceMappingURL=styles.css.map */ \ No newline at end of file diff --git a/_site/assets/css/styles.css.map b/_site/assets/css/styles.css.map new file mode 100644 index 0000000..d902950 --- /dev/null +++ b/_site/assets/css/styles.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["../../_sass/main.scss"],"names":[],"mappings":"AAAA;EACI","sourcesContent":[".current {\n color: green;\n}\n"],"file":"styles.css"} \ No newline at end of file diff --git a/_site/authors/jill.html b/_site/authors/jill.html new file mode 100644 index 0000000..d5f0d67 --- /dev/null +++ b/_site/authors/jill.html @@ -0,0 +1,38 @@ + + + + + Jill + + + + + +

Jill Smith

+

Chief Editor

+ +

Jill is an avid fruit grower based in the south of France.

+ + +

Posts

+ + + + diff --git a/_site/authors/ted.html b/_site/authors/ted.html new file mode 100644 index 0000000..52dee04 --- /dev/null +++ b/_site/authors/ted.html @@ -0,0 +1,36 @@ + + + + + Ted + + + + + +

Ted Doe

+

Writer

+ +

Ted has been eating fruit since he was baby.

+ + +

Posts

+ + + + diff --git a/_site/blog.html b/_site/blog.html new file mode 100644 index 0000000..299e22f --- /dev/null +++ b/_site/blog.html @@ -0,0 +1,48 @@ + + + + + Blog + + + + + +

Latest Posts

+ + + + + diff --git a/_site/index.html b/_site/index.html new file mode 100644 index 0000000..6976f6a --- /dev/null +++ b/_site/index.html @@ -0,0 +1,24 @@ + + + + + Home + + + + + +

hello world!

+ + + diff --git a/_site/staff.html b/_site/staff.html new file mode 100644 index 0000000..76dd754 --- /dev/null +++ b/_site/staff.html @@ -0,0 +1,42 @@ + + + + + Staff + + + + + +

Staff

+ + + + + diff --git a/about.md b/about.md new file mode 100644 index 0000000..228c64c --- /dev/null +++ b/about.md @@ -0,0 +1,7 @@ +--- +layout: default +title: About +--- +# About page + +This page tells you a little bit about me. diff --git a/assets/css/styles.scss b/assets/css/styles.scss new file mode 100644 index 0000000..9e5cbc6 --- /dev/null +++ b/assets/css/styles.scss @@ -0,0 +1,3 @@ +--- +--- +@import "main"; diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..59f12dc --- /dev/null +++ b/blog.html @@ -0,0 +1,14 @@ +--- +layout: default +title: Blog +--- +

Latest Posts

+ + diff --git a/index.html b/index.html new file mode 100644 index 0000000..ed0abdc --- /dev/null +++ b/index.html @@ -0,0 +1,5 @@ +--- +layout: default +title: Home +--- +

{{ "Hello World!" | downcase }}

diff --git a/staff.html b/staff.html new file mode 100644 index 0000000..d316a5b --- /dev/null +++ b/staff.html @@ -0,0 +1,15 @@ +--- +layout: default +title: Staff +--- +

Staff

+ +