Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Feb 22, 2025
1 parent 5d0f611 commit c05c203
Show file tree
Hide file tree
Showing 10 changed files with 145 additions and 4 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ nav:
ext: false
- title: Download
url: "/#download"
- title: Documentation
url: /documentation/
ext: false
ext: false
- title: Community
url: /community.html
Expand Down
1 change: 1 addition & 0 deletions _layouts/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% include header.html %}
</div>
<div id="content">
{% include breadcrumbs.html %}
<div id="contentInner">
{% if page.title != nil %}
<h1>{{ page.title }}</h1>
Expand Down
37 changes: 37 additions & 0 deletions _layouts/news.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% include assign.html %}
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
{% include head.html %}
<body>
<div id="headerDefault">
{% include header.html %}
</div>
<div id="content">
{% include breadcrumbs.html %}
<div id="contentInner">
{% if page.title != nil %}
<h1>{{ page.title }}</h1>
{% endif %}
{% if page.lead != nil %}
<p class="lead">{{ page.lead }}</p>
{% endif %}
<div class="blocks">
{% for post in site.posts %}
<div class="block newsblock">
<a href="{{ post.url }}">
{% if post.image != nil %}
<img class="blogImage" src="{{ post.image }}">
{% endif %}
<h2>{{ post.title }}</h2>
</a>
<p class="center">{{ post.date | date: "%-d %B %Y" }}<br><span class="category"><a href="{{ site.url }}/{{ post.categories}}">{{ post.categories }}</a></span></p>
</div>
{% endfor %}
</div>
</div>
</div>
<div id="footer">
{% include footer.html %}
</div>
</body>
</html>
10 changes: 8 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{% include header.html %}
</div>
<div id="content">
{% include breadcrumbs.html %}
<div id="contentInner">
{% if page.title != nil %}
<h1>{{ page.title }}</h1>
Expand Down Expand Up @@ -45,8 +46,13 @@ <h1>{{ page.title }}</h1>
<div class="blocks">
{% for post in site.categories.releases %}
<div class="block newsblock">
<a href="{{ post.url }}"><h2>{{ post.title }}</h2></a>
<p class="center">{{ post.date | date: "%-d %B %Y" }}</p>
<a href="{{ post.url }}">
{% if post.image != nil %}
<img class="blogImage" src="{{ post.image }}">
{% endif %}
<h2>{{ post.title }}</h2>
</a>
<p class="center">{{ post.date | date: "%-d %B %Y" }}<br><span class="category"><a href="{{ site.url }}/{{ post.categories}}">{{ post.categories }}</a></span></p>
</div>
{% endfor %}
</div>
Expand Down
36 changes: 36 additions & 0 deletions _layouts/quicktips.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{% include assign.html %}
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
{% include head.html %}
<body>
<div id="headerDefault">
{% include header.html %}
</div>
<div id="content">
<div id="contentInner">
{% if page.title != nil %}
<h1>{{ page.title }}</h1>
{% endif %}
{% if page.lead != nil %}
<p class="lead">{{ page.lead }}</p>
{% endif %}
<div class="blocks">
{% for post in site.categories.quicktips reversed %}
<div class="block newsblock">
<a href="{{ post.url }}">
{% if post.image != nil %}
<img class="blogImage" src="{{ post.image }}">
{% endif %}
<h2>{{ post.title }}</h2>
</a>
<p class="center">{{ post.date | date: "%-d %B %Y" }}<br><span class="category"><a href="{{ site.url }}/{{ post.categories}}">{{ post.categories }}</a></span></p>
</div>
{% endfor %}
</div>
</div>
</div>
<div id="footer">
{% include footer.html %}
</div>
</body>
</html>
37 changes: 37 additions & 0 deletions _layouts/releases.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% include assign.html %}
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
{% include head.html %}
<body>
<div id="headerDefault">
{% include header.html %}
</div>
<div id="content">
{% include breadcrumbs.html %}
<div id="contentInner">
{% if page.title != nil %}
<h1>{{ page.title }}</h1>
{% endif %}
{% if page.lead != nil %}
<p class="lead">{{ page.lead }}</p>
{% endif %}
<div class="blocks">
{% for post in site.categories.releases %}
<div class="block newsblock">
<a href="{{ post.url }}">
{% if post.image != nil %}
<img class="blogImage" src="{{ post.image }}">
{% endif %}
<h2>{{ post.title }}</h2>
</a>
<p class="center">{{ post.date | date: "%-d %B %Y" }}<br><span class="category"><a href="{{ site.url }}/{{ post.categories}}">{{ post.categories }}</a></span></p>
</div>
{% endfor %}
</div>
</div>
</div>
<div id="footer">
{% include footer.html %}
</div>
</body>
</html>
11 changes: 11 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -559,3 +559,14 @@ code {
font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
font-size: 0.9375em;
}

.blogImage {
width: 100%;
height: 300px;
object-fit: cover;
border: 1px solid black;
}

span.category {
text-transform: capitalize;
}
4 changes: 2 additions & 2 deletions news.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "News and Releases"
layout: post
title: "News/Blog"
layout: news
permalink: news/
---
5 changes: 5 additions & 0 deletions quicktips.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Quick Tips"
layout: quicktips
permalink: quicktips/
---
5 changes: 5 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Releases"
layout: releases
permalink: releases/
---

0 comments on commit c05c203

Please sign in to comment.