-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reafactor post categories organization
- Loading branch information
Showing
29 changed files
with
359 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# Jekyll ignores | ||
.jekyll-cache | ||
_site | ||
_draft | ||
.jekyll-cache | ||
.sass-cache | ||
.jekyll-metadata | ||
.jekyll-cache | ||
|
||
# Misc | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
<h1>Rovers in #{{ page.category }} category</h1> | ||
<h1>{{ include.category | capitalize }} rovers</h1> | ||
|
||
{% for post in site.categories[page.category] %} {% include post.html post=post | ||
%} {% endfor %} | ||
<!-- getting all posts with included category --> | ||
{% assign posts = site.rovers | where_exp: 'post', "post.categories contains include.category" %} | ||
|
||
<!-- render post --> | ||
{% for post in posts %} | ||
{% include post.html %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
<nav> | ||
<a href="{{ site.url }}/">Home</a> | ||
<a href="{{ site.url }}/category/earth">Earth</a> | ||
<a href="{{ site.url }}/category/moon">Moon</a> | ||
<a href="{{ site.url }}/category/mars">Mars</a> | ||
<a href="{{ site.url }}">Home</a> | ||
<a href="{{ site.url }}/list">List</a> | ||
|
||
<!-- get all rovers categories --> | ||
{% assign all_categories = site.rovers | map: 'categories' | uniq | sort %} | ||
|
||
<!-- iterate over categories --> | ||
{% for category in all_categories -%} | ||
<a href="{{ site.url }}?categories={{ category }}">#{{ category }}</a> | ||
{% endfor %} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: Template | ||
categories: earth students education | ||
read_more: false | ||
rover: | ||
designer: | ||
text: Template | ||
link: | ||
launch: | ||
text: 2018 | ||
link: | ||
mission: | ||
text: Rover Challenges | ||
link: | ||
destination: | ||
text: Earth | ||
link: | ||
status: | ||
text: Active | ||
link: | ||
weight: | ||
text: 50 kg | ||
link: | ||
dimensions: | ||
text: 1.2 x 1.2 x 1.2 m | ||
link: | ||
--- | ||
<!-- title will be added here --> | ||
|
||
<!-- rover details table will be added here --> | ||
|
||
<!-- media section --> | ||
<figure> | ||
<img src="{{ site.url }}/assets/img/kalman/1.jpg" /> | ||
<img src="{{ site.url }}/assets/img/kalman/2.jpg" /> | ||
<figcaption>Photos by <a href="https://example.com/">KSAF AGH</a>.</figcaption> | ||
</figure> | ||
|
||
<!-- text section --> | ||
Kalman is one of two planetary rovers built by [AGH Space Systems](https://spacesystems.agh.edu.pl/), following the earlier [Phobos](#phobos) model with advanced new technical solutions. | ||
|
||
<!--more--> | ||
<!-- NOTE: set "read_mode" to "true" if you add content below this line --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: Kalman | ||
categories: earth students education | ||
read_more: false | ||
rover: | ||
designer: | ||
text: AGH Space Systems | ||
link: https://spacesystems.agh.edu.pl/ | ||
launch: | ||
text: 2018 | ||
link: | ||
mission: | ||
text: Rover Challenges | ||
link: | ||
destination: | ||
text: Earth | ||
link: | ||
status: | ||
text: Active | ||
link: | ||
weight: | ||
text: 50 kg | ||
link: | ||
dimensions: | ||
text: 1.2 x 1.2 x 1.2 m | ||
link: | ||
--- | ||
<!-- title will be added here --> | ||
|
||
<!-- rover details table will be added here --> | ||
|
||
<!-- media section --> | ||
<figure> | ||
<img src="{{ site.url }}/assets/img/kalman/1.jpg" /> | ||
<img src="{{ site.url }}/assets/img/kalman/2.jpg" /> | ||
<img src="{{ site.url }}/assets/img/kalman/3.jpg" /> | ||
<img src="{{ site.url }}/assets/img/kalman/4.jpg" /> | ||
<figcaption>Photos by <a href="https://www.ksaf.pl/">KSAF AGH</a>.</figcaption> | ||
</figure> | ||
|
||
Kalman is one of two planetary rovers built by [AGH Space Systems](https://spacesystems.agh.edu.pl/), following the earlier [Phobos](##phobos) model with advanced new technical solutions. This agile, four-wheeled research vehicle features vision systems for remote control and terrain documentation. It’s equipped with a manipulator for handling objects, performing basic repairs, and operating control panels, as well as a mobile lab for soil sample analysis. | ||
|
||
<!--more--> | ||
<!-- NOTE: set "read_mode" to "true" if you add content below this line --> |
Oops, something went wrong.