-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPhilosophy.html
More file actions
84 lines (57 loc) · 1.99 KB
/
Philosophy.html
File metadata and controls
84 lines (57 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
blog_number: top
title: Philosophy Blog
options:
- skip_card_metadata
- skip_autogen_sidebar
display_recents_starting_at_number: 0
layout: Layout_Philosophy_Blog
---
{% comment %}
<!--
------------------------------------------
© released under (CC0) :
------------------------------------------
This site's HTML + CSS + Jekyll + Liquid.
This site's content.
Gamepad.Coder 2021.
--------------------------------------------------
https://creativecommons.org/publicdomain/zero/1.0/
--------------------------------------------------
-->
{%- endcomment -%}
{%- assign min_post_recent = page | map:"display_recents_starting_at_number" -%}
{%- assign int_min_num = min_post_recent[0] | plus: 0 -%}
{%- assign string_top = "top" -%}
{%- assign string_time = "time" -%}
{%- assign string_topic = "topic" -%}
{%- assign blog_posts = site.Philosophy
| where_exp:"pbp", "pbp.blog_number != string_top"
| where_exp:"pbp", "pbp.blog_number != string_time"
| where_exp:"pbp", "pbp.blog_number != string_topic"
| reverse -%}
<!-- main content -->
<div id="the_page__main_content">
<h2>Latest Posts</h2>
<article>
<!-- This main page defines (in its front matter)
a post number # to start at,
lists the most recent posts :
down to the specified number to stop at -->
<div class="flex_container_listOfPosts">
{% for post in blog_posts %}
<!-- ********************************************* -->
{%- assign int_blog_num = post.blog_number | plus: 0 -%}
{%- if int_blog_num >= int_min_num %}
{%- include generate_post_reference.html
post_to_gen=post
gen_color="green" %}
<!-- ********************************************* -->
{%- endif -%}
{% endfor %}
</div>
</article>
</div><!-- #content -->
{%- comment -%}
<!-- Have a wonderful day. -->
{%- endcomment -%}