refactor(blog_post): renamed to article to reflect direction

MR !7
This commit is contained in:
2022-01-31 11:08:09 +09:30
parent 4c6e73254a
commit 67b9379fe7
9 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
title: How I use Microsoft Deployment Toolkit title: How I use Microsoft Deployment Toolkit
description: This article is a record of how I setup my Microsoft Deployment Toolkit. There are many ways to set it up. However this is how I do it. description: This article is a record of how I setup my Microsoft Deployment Toolkit. There are many ways to set it up. However this is how I do it.
date: 2014-09-01 date: 2014-09-01
template: blog_post.html template: article.html
type: blog type: blog
author: jon author: jon
about: https://en.wikipedia.org/wiki/Microsoft_Deployment_Toolkit about: https://en.wikipedia.org/wiki/Microsoft_Deployment_Toolkit

View File

@ -2,7 +2,7 @@
title: Choosing an Internet Service title: Choosing an Internet Service
description: The Internet has now become a mainstream item within the average Australian home. The Internet has become so ingrained within our daily lives that for those of us that were around when the Internet was born have actually forgotten what life was like without it. I remember when I was growing up that if we wanted to learn about something you would go to the local library or to a family/friends house to look through their Encyclopaedia Britannica which more often than not was at least five years out of date. Believe it or not that was only 15 to 20 years ago. Now if I haven't lost you already and hopefully by the end of this article I have been able to provide you with more insight on being able to choose an Internet service from an ISP with a little more of an understanding of the technology behind that Internet connection. description: The Internet has now become a mainstream item within the average Australian home. The Internet has become so ingrained within our daily lives that for those of us that were around when the Internet was born have actually forgotten what life was like without it. I remember when I was growing up that if we wanted to learn about something you would go to the local library or to a family/friends house to look through their Encyclopaedia Britannica which more often than not was at least five years out of date. Believe it or not that was only 15 to 20 years ago. Now if I haven't lost you already and hopefully by the end of this article I have been able to provide you with more insight on being able to choose an Internet service from an ISP with a little more of an understanding of the technology behind that Internet connection.
date: 2015-02-25 date: 2015-02-25
template: blog_post.html template: article.html
type: blog type: blog
author: jon author: jon
tags: tags:

View File

@ -1,6 +1,6 @@
--- ---
template: blog_list.html template: article_list.html
title: No Fuss Computing Articles title: No Fuss Computing Articles
--- ---

View File

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{% include "partials/blog_metadata.html" %} {% include "partials/article_metadata.html" %}
<hr> <hr>
{{ page.content }} {{ page.content }}
{% endblock %} {% endblock %}

View File

@ -2,18 +2,18 @@
{% block content %} {% block content %}
{{ page.content }} {{ page.content }}
{% set blog_posts = [] %} {% set article_posts = [] %}
{% for page in nav.pages %} {% for page in nav.pages %}
{% if page.url.startswith(config.extra.blog.dir) and page.meta.date is defined %} {% if page.url.startswith(config.extra.blog.dir) and page.meta.date is defined %}
<!-- or "" suppresses "None" output--> <!-- or "" suppresses "None" output-->
{{ blog_posts.append( page ) or "" }} {{ article_posts.append( page ) or "" }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% for page in (blog_posts|sort(attribute="meta.date", reverse=True))[:config.extra.blog.list_length] %} {% for page in (article_posts|sort(attribute="meta.date", reverse=True))[:config.extra.blog.list_length] %}
<h2><a href="{{ page.url|url }}">{{ page.title }}</a></h2> <h2><a href="{{ page.url|url }}">{{ page.title }}</a></h2>
<hr> <hr>
{% include "partials/blog_metadata.html" %} {% include "partials/article_metadata.html" %}
<p> <p>
{{ page.meta.description }} {{ page.meta.description }}
</p> </p>

View File

@ -3,11 +3,11 @@
{% block content %} {% block content %}
<div itemscope itemtype="https://schema.org/WebSite"> <div itemscope itemtype="https://schema.org/WebSite">
{{ page.content }} {{ page.content }}
{% set blog_posts = [] %} {% set article_posts = [] %}
{% for page in nav.pages %} {% for page in nav.pages %}
{% if page.url.startswith(config.extra.blog.dir) and page.meta.date is defined %} {% if page.url.startswith(config.extra.blog.dir) and page.meta.date is defined %}
<!-- or "" suppresses "None" output--> <!-- or "" suppresses "None" output-->
{{ blog_posts.append( page ) or "" }} {{ article_posts.append( page ) or "" }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
@ -16,7 +16,7 @@
<div itemprop="hasPart" itemscope itemtype="https://schema.org/Blog" class="column"> <div itemprop="hasPart" itemscope itemtype="https://schema.org/Blog" class="column">
<a itemprop="url" href="articles/index.html"><h2 itemprop="name">Articles</h2></a> <a itemprop="url" href="articles/index.html"><h2 itemprop="name">Articles</h2></a>
<ul> <ul>
{% for page in (blog_posts|sort(attribute="meta.date", reverse=True))[:config.extra.blog.list_length] %} {% for page in (article_posts|sort(attribute="meta.date", reverse=True))[:config.extra.blog.list_length] %}
<li itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting"> <li itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<p> <p>
<h3><a itemprop="url" href="{{ page.url|url }}"><span itemprop="name">{{ page.title }}</span></a></h3> <h3><a itemprop="url" href="{{ page.url|url }}"><span itemprop="name">{{ page.title }}</span></a></h3>

View File

@ -10,7 +10,7 @@
<strong>{{ config.extra.blog.author }}</strong> <strong>{{ config.extra.blog.author }}</strong>
· ·
{% endif %} {% endif %}
{% include "partials/blog_social.html" %} {% include "partials/article_social.html" %}
</span> </span>
<span> <span>
<span class="twemoji"> <span class="twemoji">