Skip to content

Commit be8b238

Browse files
Hide al-folio demo content from search and listings, update profile photo
- Add search_exclude frontmatter flag to 46 demo files (posts, projects, news, teachings, book) to hide them from search and listing pages - Filter search_exclude items in search index, blog, projects, news, courses, latest posts, related posts, and bookshelf templates - Replace profile photo with new corporate headshot - Remove padding-top on profile image that caused white bar Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2232a0b commit be8b238

58 files changed

Lines changed: 63 additions & 5 deletions

Some content is hidden

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

_books/the_godfather.md

Lines changed: 1 addition & 0 deletions

_includes/courses.liquid

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<div class="course-list">
88
{% assign year_courses = year_group.items | sort: 'term' %}
99
{% for course in year_courses %}
10+
{% unless course.search_exclude %}
1011
<div class="course-item">
1112
<h3 class="course-title">
1213
<a href="{{ course.url | relative_url }}">{{ course.title }}</a>
@@ -28,6 +29,7 @@
2829
</div>
2930
{% endif %}
3031
</div>
32+
{% endunless %}
3133
{% endfor %}
3234
</div>
3335
{% endfor %}

_includes/latest_posts.liquid

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{% assign latest_posts_limit = latest_posts_size %}
1616
{% endif %}
1717
{% for item in latest_posts limit: latest_posts_limit %}
18+
{% unless item.search_exclude %}
1819
<tr>
1920
<th scope="row" style="width: 20%">{{ item.date | date: '%b %d, %Y' }}</th>
2021
<td>
@@ -39,6 +40,7 @@
3940
{% endif %}
4041
</td>
4142
</tr>
43+
{% endunless %}
4244
{% endfor %}
4345
</table>
4446
</div>

_includes/news.liquid

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{% assign news_limit = news_size %}
1616
{% endif %}
1717
{% for item in news limit: news_limit %}
18+
{% unless item.search_exclude %}
1819
<tr>
1920
<th scope="row" style="width: 20%">{{ item.date | date: '%b %d, %Y' }}</th>
2021
<td>
@@ -25,6 +26,7 @@
2526
{% endif %}
2627
</td>
2728
</tr>
29+
{% endunless %}
2830
{% endfor %}
2931
</table>
3032
</div>

_includes/related_posts.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{% assign have_related_posts = false %}
22
{% for post in site.related_posts | limit: site.related_blog_posts.max_related %}
3+
{% if post.search_exclude %}{% continue %}{% endif %}
34
{% unless have_related_posts %}
45
{% assign have_related_posts = true %}
56
{% if page.layout == 'post' %}

_layouts/book-shelf.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ layout: page
77
{% assign collection = site[page.collection] %}
88
{% if collection and collection.size > 0 %}
99
{% for item in collection reversed %}
10+
{% if item.search_exclude %}{% continue %}{% endif %}
1011
{% assign current_year = item.started | date: '%Y' %}
1112
{% if current_year != year %}
1213
{% unless forloop.first %}

_news/announcement_1.md

Lines changed: 1 addition & 0 deletions

_news/announcement_2.md

Lines changed: 1 addition & 0 deletions

_news/announcement_3.md

Lines changed: 1 addition & 0 deletions

_pages/about.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)