Skip to content

Commit 9f20325

Browse files
committed
wip
1 parent cc20330 commit 9f20325

File tree

83 files changed

+391
-1756
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+391
-1756
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ gem "jekyll-feed", "~> 0.12"
66
gem "jekyll-sitemap", "~> 1.4"
77
gem "jekyll-seo-tag", "~> 2.6"
88
gem 'html-proofer', group: :test
9+
gem "jekyll-paginate", "~> 1.1.0"
910

1011
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
1112
# and associated library.

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ DEPENDENCIES
347347
github-pages
348348
html-proofer
349349
jekyll-feed (~> 0.12)
350+
jekyll-paginate (~> 1.1.0)
350351
jekyll-seo-tag (~> 2.6)
351352
jekyll-sitemap (~> 1.4)
352353
tzinfo (~> 1.2)

_config.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,37 @@ exclude:
2323
- package.json
2424
- package-lock.json
2525
- yarn.lock
26+
collections:
27+
consciousness:
28+
output: true
29+
permalink: /:collection/:name/
30+
learning:
31+
output: true
32+
permalink: /:collection/:name/
33+
projects:
34+
output: true
35+
permalink: /:collection/:name/
36+
scifi:
37+
output: true
38+
permalink: /:collection/:name/
39+
social:
40+
output: true
41+
permalink: /:collection/:name/
42+
phenomenology:
43+
output: true
44+
permalink: /:collection/:name/
45+
creative_writing:
46+
output: true
47+
permalink: /:collection/:name/
48+
2649
# Default frontmatter values
2750
defaults:
2851
- scope:
2952
path: ""
3053
type: "posts"
3154
values:
3255
layout: "dynamic_post"
33-
author: "Human-AI Collaboration"
56+
author: "Simiacryptus Consulting"
3457
collaboration_type: "recursive_dialogue"
3558
status: "living"
3659
evolution_stage: "growing"
@@ -42,7 +65,7 @@ defaults:
4265
type: "pages"
4366
values:
4467
layout: "dynamic_page"
45-
author: "Human-AI Collaboration"
68+
author: "Simiacryptus Consulting"
4669
status: "stable"
4770
- scope:
4871
path: ""

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="site-footer">
22
<div class="footer-content">
3-
<p>&copy; {{ 'now' | date: "%Y" }} {{ site.title }}. POWERED BY AGENTIC-HUMAN COLLABORATION.</p>
3+
<p>&copy; {{ 'now' | date: "%Y" }} SimiaCryptus. POWERED BY AGENTIC-HUMAN COLLABORATION.</p>
44
<p>{{ site.description }}</p>
55
<div class="disclaimer">
66
<p><strong>Disclaimer:</strong> Any experimental results, unless explicitly linked to external sources, should be assumed to be LLM hallucination. This research is speculative and largely for entertainment purposes. All concepts are free open source but attribution is expected.</p>

_includes/header.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<div class="site-header">
22
<div class="header-content">
3-
<h1><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
3+
<h1><a href="{{ '/' | relative_url }}">{{ site.title }}</a></h1>
44
{% if site.tagline %}<p class="site-tagline">{{ site.tagline }}</p>{% endif %}
55
<nav class="site-nav">
66

7-
<a href="{{ site.baseurl }}/consciousness/">Consciousness</a>
8-
<a href="{{ site.baseurl }}/learning/">Learning Systems</a>
9-
<a href="{{ site.baseurl }}/projects/">Architecture</a>
10-
<a href="{{ site.baseurl }}/scifi/">Quantum Physics</a>
11-
<a href="{{ site.baseurl }}/social/">Social Dynamics</a>
12-
<a href="{{ site.baseurl }}/phenomenology/">Phenomenology</a>
13-
<a href="{{ site.baseurl }}/creative_writing/">Experimental</a>
7+
<a href="{{ '/consciousness/' | relative_url }}">Consciousness</a>
8+
<a href="{{ '/learning/' | relative_url }}">Learning Systems</a>
9+
<a href="{{ '/projects/' | relative_url }}">Architecture</a>
10+
<a href="{{ '/scifi/' | relative_url }}">Quantum Physics</a>
11+
<a href="{{ '/social/' | relative_url }}">Social Dynamics</a>
12+
<a href="{{ '/phenomenology/' | relative_url }}">Phenomenology</a>
13+
<a href="{{ '/creative_writing/' | relative_url }}">Experimental</a>
1414
</nav>
1515
</div>
1616
</div>

_layouts/category_index.html

Lines changed: 137 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,60 @@ <h1>{{ page.title }}</h1>
2323

2424
<!-- All documents in category -->
2525
<section class="category-documents">
26-
{% assign category_docs = site.documents | where: "category", page.category | where_exp: "doc", "doc.status != 'archived'" | sort: "reading_order" %}
27-
26+
27+
{% comment %} Get all posts and collection documents that match this category {% endcomment %}
28+
{% assign category_docs = "" | split: "" %}
29+
30+
{% comment %} First, get posts with matching category {% endcomment %}
31+
{% for post in site.posts %}
32+
{% comment %} Check if post category matches page category or page title {% endcomment %}
33+
{% if post.category == page.category or post.categories contains page.category or post.category == page.title or post.categories contains page.title %}
34+
{% unless post.status == 'archived' %}
35+
{% assign category_docs = category_docs | push: post %}
36+
{% endunless %}
37+
{% endif %}
38+
{% endfor %}
39+
40+
{% comment %} Then, check if there's a collection with the same name {% endcomment %}
41+
{% assign collection_key = page.collection_name | default: page.category %}
42+
{% if collection_key and collection_key != "" %}
43+
{% assign collection_key = collection_key | downcase | replace: ' ', '_' | replace: '&', 'and' %}
44+
{% assign collection_docs = site[collection_key] %}
45+
{% if collection_docs %}
46+
{% for doc in collection_docs %}
47+
{% unless doc.status == 'archived' %}
48+
{% assign category_docs = category_docs | push: doc %}
49+
{% endunless %}
50+
{% endfor %}
51+
{% endif %}
52+
{% endif %}
53+
54+
{% comment %} Sort all documents by reading_order if present, otherwise by date {% endcomment %}
2855
{% if category_docs.size > 0 %}
29-
56+
{% assign docs_with_order = "" | split: "" %}
57+
{% assign docs_without_order = "" | split: "" %}
58+
{% for doc in category_docs %}
59+
{% if doc.reading_order %}
60+
{% assign docs_with_order = docs_with_order | push: doc %}
61+
{% else %}
62+
{% assign docs_without_order = docs_without_order | push: doc %}
63+
{% endif %}
64+
{% endfor %}
65+
{% assign docs_with_order = docs_with_order | sort: "reading_order" %}
66+
{% assign docs_without_order = docs_without_order | sort: "date" | reverse %}
67+
{% assign category_docs = docs_with_order | concat: docs_without_order %}
68+
{% endif %}
69+
70+
{% if category_docs and category_docs.size > 0 %}
71+
3072
<!-- Reading Path -->
31-
{% assign ordered_docs = category_docs | where_exp: "doc", "doc.reading_order" | sort: "reading_order" %}
73+
{% assign ordered_docs = "" | split: "" %}
74+
{% for doc in category_docs %}
75+
{% if doc.reading_order %}
76+
{% assign ordered_docs = ordered_docs | push: doc %}
77+
{% endif %}
78+
{% endfor %}
79+
{% assign ordered_docs = ordered_docs | sort: 'reading_order' %}
3280
{% if ordered_docs.size > 1 %}
3381
<div class="reading-path">
3482
<h2>Suggested Reading Path</h2>
@@ -44,7 +92,7 @@ <h2>Suggested Reading Path</h2>
4492
</ol>
4593
</div>
4694
{% endif %}
47-
95+
4896
<!-- All Documents -->
4997
<div class="all-documents">
5098
<h2>All Documents</h2>
@@ -58,11 +106,92 @@ <h3><a href="{{ doc.url | relative_url }}">{{ doc.title }}</a></h3>
58106
{% endfor %}
59107
</div>
60108
</div>
61-
109+
62110
{% else %}
63-
<p>No documents found in this category.</p>
111+
<div class="category-diagnostics">
112+
<p>No documents found in this category.</p>
113+
114+
<details>
115+
<summary>Diagnostic Information</summary>
116+
<div class="diagnostic-info">
117+
<h4>Page Variables:</h4>
118+
<ul>
119+
<li><strong>page.category:</strong> {{ page.category | inspect }}</li>
120+
<li><strong>page.collection_name:</strong> {{ page.collection_name | inspect }}</li>
121+
<li><strong>page.title:</strong> {{ page.title | inspect }}</li>
122+
<li><strong>collection_key:</strong> {{ collection_key | inspect }}</li>
123+
</ul>
124+
125+
<h4>Available Collections:</h4>
126+
<ul>
127+
{% for collection in site.collections %}
128+
<li><strong>{{ collection.label }}:</strong> {{ site[collection.label] | size }} documents</li>
129+
{% endfor %}
130+
</ul>
131+
132+
<h4>Posts Analysis:</h4>
133+
<ul>
134+
<li><strong>Total posts:</strong> {{ site.posts.size }}</li>
135+
<li><strong>Posts with categories:</strong>
136+
{% assign posts_with_cats = 0 %}
137+
{% for post in site.posts %}
138+
{% if post.categories.size > 0 or post.category %}
139+
{% assign posts_with_cats = posts_with_cats | plus: 1 %}
140+
{% endif %}
141+
{% endfor %}
142+
{{ posts_with_cats.size }}
143+
</li>
144+
</ul>
145+
146+
<h4>Posts by Category:</h4>
147+
<ul>
148+
{% assign all_categories = "" | split: "" %}
149+
{% for post in site.posts %}
150+
{% if post.category %}
151+
{% unless all_categories contains post.category %}
152+
{% assign all_categories = all_categories | push: post.category %}
153+
{% endunless %}
154+
{% endif %}
155+
{% for cat in post.categories %}
156+
{% unless all_categories contains cat %}
157+
{% assign all_categories = all_categories | push: cat %}
158+
{% endunless %}
159+
{% endfor %}
160+
{% endfor %}
161+
{% for category in all_categories %}
162+
{% assign cat_posts = site.posts | where: 'category', category %}
163+
<li><strong>{{ category }}:</strong> {{ cat_posts.size }} posts</li>
164+
{% endfor %}
165+
</ul>
166+
167+
<h4>Collection Check:</h4>
168+
{% assign collection_docs = site[collection_key] %}
169+
{% if collection_docs %}
170+
<p><strong>Collection "{{ collection_key }}" found:</strong> {{ collection_docs | size }} documents</p>
171+
<ul>
172+
{% for doc in collection_docs limit: 5 %}
173+
<li>{{ doc.title }} (status: {{ doc.status | default: "none" }})</li>
174+
{% endfor %}
175+
{% if collection_docs.size > 5 %}
176+
<li>... and {{ collection_docs.size | minus: 5 }} more</li>
177+
{% endif %}
178+
</ul>
179+
{% else %}
180+
<p><strong>Collection "{{ collection_key | default: "(empty)" }}" not found</strong></p>
181+
{% endif %}
182+
183+
<h4>Matching Logic Test:</h4>
184+
<p>Looking for posts where:</p>
185+
<ul>
186+
<li>post.category == "{{ page.category }}" OR</li>
187+
<li>post.categories contains "{{ page.category }}"</li>
188+
<li>AND post.status != "archived"</li>
189+
</ul>
190+
</div>
191+
</details>
192+
</div>
64193
{% endif %}
65-
194+
66195
</section>
67196

68197
</div>

_layouts/collection_index.html

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)