Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/collections/pages/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ tiles:
enabled: true
flush_image: false
hue_rotate: false
tile_link: 'entry::a77eb282-e050-4288-b83d-789840e245fd'
tile_link: 'entry::f269a0d2-061d-4cc9-a24d-3ea82ea9558f'
advert_override: 972d7159-e76a-4817-a441-65d965d8c794
---
7 changes: 7 additions & 0 deletions content/collections/pages/recent-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: f269a0d2-061d-4cc9-a24d-3ea82ea9558f
blueprint: page
title: 'Recent Updates'
intro: 'Keep your Statamic superpowers up-to-date with the latest updates to the docs.'
template: updates
---
2 changes: 2 additions & 0 deletions content/trees/collections/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,5 +347,7 @@ tree:
entry: e947dc19-9a8a-44c2-911c-171d1f196c91
-
entry: c9ee871c-002b-48d7-b845-1abac58de337
-
entry: f269a0d2-061d-4cc9-a24d-3ea82ea9558f
-
entry: 550e7bf1-de6e-40ba-9b06-b32d9119e436
27 changes: 0 additions & 27 deletions resources/views/home.antlers.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,30 +56,3 @@ <h2 id="sponsors" class="text-2xl font-semibold tracking-tight text-balance o-sc
</div>

{{ $article_footer = 'no' }}

{{# =JFG. Keeping this here for now because it could be useful at some point #}}
{{# <section class="markdown mt-6 md:mt-20">
<h2>Recent Updates</h2>
<p>Keep your Statamic superpowers up-to-date with the latest updates to the docs.</p>
<table>
<thead>
<tr>
<th>Page</th>
<th>The Change</th>
<th>Section</th>
<th>Last Updated</th>
</tr>
</thead>
<tbody>
{{ collection from="docs|tags|modifiers|variables|fieldtypes|screencasts" sort="last_modified:desc" limit="5" title:not="Documentation" scope="entry" }}
<tr>
<td class="w-1/2"><a href="{{ url }}">{{ entry:title ?? entry:slug|title }}</a></td>
<td><a href="{{ github_commits_url }}" target="_blank">View</a></td>
<td>{{ entry:collection | deslugify | title }}</td>
<td x-text="dayjs('{{ entry:last_modified format="Y-m-d H:i:s" }}').fromNow(true) + ' ago'"></td>
</tr>
{{ /collection }}
</tbody>
</table>
<a href="/recent-updates" class="button float-right mt-4">View all recent updates</a>
</section> #}}
2 changes: 1 addition & 1 deletion resources/views/updates.antlers.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>{{ title }}</h1>
</tr>
</thead>
<tbody>
{{ collection from="docs|tags|modifiers|variables|fieldtypes|screencasts" sort="last_modified:desc" limit="100" title:not="Documentation" scope="entry" }}
{{ collection from="pages|tags|modifiers|variables|fieldtypes|tips|resource_apis" sort="last_modified:desc" limit="100" title:not="Home" scope="entry" }}
<tr>
<td class="w-1/2"><a href="{{ github_commits_url }}" target="_blank">{{ entry:title ?? entry:slug|title }}</a></td>
<td>{{ entry:collection | deslugify | title }}</td>
Expand Down
2 changes: 1 addition & 1 deletion routes/redirects.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
Route::permanentRedirect('preferences', '/control-panel/preferences');
Route::permanentRedirect('protecting-content', '/frontend/protecting-content');
Route::permanentRedirect('quick-start-guide', '/getting-started/quick-start-guide');
Route::permanentRedirect('recent-updates', '/');
Route::permanentRedirect('recent-updates', '/knowledge-base/recent-updates');
Route::permanentRedirect('relationships', '/content-modeling/relationships');
Route::permanentRedirect('release-schedule-support-policy', '/knowledge-base/release-schedule-support-policy');
Route::permanentRedirect('requirements', '/getting-started/requirements');
Expand Down