This commit is contained in:
@@ -71,9 +71,15 @@
|
||||
|
||||
function normaliseHref(href, prefix) {
|
||||
if (!href || href.startsWith("http") || href.startsWith("#")) return null;
|
||||
if (href.startsWith("/")) return href;
|
||||
const base = (prefix || "").replace(/\/$/, "");
|
||||
if (!base || href.startsWith(base + "/")) return href;
|
||||
return href.startsWith("/") ? base + href : base + "/" + href;
|
||||
return base + "/" + href;
|
||||
}
|
||||
|
||||
function isTagLink(a) {
|
||||
const href = a.getAttribute("href") || "";
|
||||
return href.includes("/tags/") || Boolean(a.querySelector(".post-tag"));
|
||||
}
|
||||
|
||||
function extractLinks(doc, max, prefix) {
|
||||
@@ -82,6 +88,8 @@
|
||||
const links = doc.querySelectorAll("#content li a[href], .org-ul li a[href], ul li a[href]");
|
||||
|
||||
for (const a of links) {
|
||||
if (isTagLink(a)) continue;
|
||||
|
||||
const href = normaliseHref(a.getAttribute("href"), prefix);
|
||||
const title = a.textContent.trim();
|
||||
if (!href || !title || seen.has(href)) continue;
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
#+TITLE: Recently Updated
|
||||
#+OPTIONS: toc:nil num:nil
|
||||
|
||||
* Recently Updated (top 26 files)
|
||||
- [[file:sitemap.sync-conflict-20260509-191148-NE5VEIB.org][Sitemap]] @@html:<span class="post-date">2026-05-09 19:11</span>@@
|
||||
- [[file:home/wird-tracker.org][Wird Tracker]] @@html:<span class="post-date">2026-05-09 18:19</span>@@
|
||||
- [[file:home/status.org][Competency Status Board]] @@html:<span class="post-date">2026-05-09 18:19</span>@@
|
||||
- [[file:home/services.org][Service]] @@html:<span class="post-date">2026-05-09 18:19</span>@@
|
||||
- [[file:home/notes.org][Notes]] @@html:<span class="post-date">2026-05-09 18:19</span>@@
|
||||
- [[file:home/guide/wird-tracker-guide.org][Wird Tracker — Technical Guide]] @@html:<span class="post-date">2026-05-09 18:19</span>@@
|
||||
- [[file:home/guide/setup.org][Setup]] @@html:<span class="post-date">2026-05-09 18:19</span>@@
|
||||
- [[file:home/contact.org][Contact]] @@html:<span class="post-date">2026-05-09 18:19</span>@@
|
||||
- [[file:blogs/2026/05-may/authoring-service-09-05-26.org][Authoring Service]] @@html:<span class="post-date">2026-05-09 17:49</span>@@
|
||||
- [[file:blogs/2026/05-may/ai-datacamp-08-05.org][AI Datacamp]] @@html:<span class="post-date">2026-05-08 12:49</span>@@
|
||||
- [[file:blogs/2026/05-may/using-codex-07-05-26.org][Using Codex]] @@html:<span class="post-date">2026-05-07 16:12</span>@@
|
||||
- [[file:blogs/2026/05-may/03-05-week-review.org][[03-05-2026] - Weekly Review]] @@html:<span class="post-date">2026-05-03 12:00</span>@@
|
||||
- [[file:blogs/2026/05-may/sun-soak-01-05.org][Soaking in the sun]] @@html:<span class="post-date">2026-05-01 12:27</span>@@
|
||||
- [[file:blogs/2026/04-april/wise-words-29-04.org][Wise Words I need to engrain]] @@html:<span class="post-date">2026-04-29 11:31</span>@@
|
||||
- [[file:blogs/2026/04-april/april-almost-over-28-04.org][April is almost over...]] @@html:<span class="post-date">2026-04-28 15:33</span>@@
|
||||
- [[file:blogs/2026/04-april/26-04-week-review.org][[26-04-2026] - Weekly Review]] @@html:<span class="post-date">2026-04-26 12:00</span>@@
|
||||
- [[file:blogs/2026/04-april/adding-more-wird-22-04-26.org][Adding another Wird]] @@html:<span class="post-date">2026-04-22 16:04</span>@@
|
||||
- [[file:blogs/2026/04-april/sitting-outside-in-the-sun-21-04-26.org][Sitting in the sun]] @@html:<span class="post-date">2026-04-21 13:01</span>@@
|
||||
- [[file:blogs/2026/04-april/19-04-week-review.org][[19-04-2026] - Weekly Review]] @@html:<span class="post-date">2026-04-19 12:00</span>@@
|
||||
- [[file:blogs/2026/04-april/ending-the-week-17-04-26.org][End of week thoughts]] @@html:<span class="post-date">2026-04-17 16:17</span>@@
|
||||
- [[file:blogs/2026/04-april/16-04-26.org][Rambles]] @@html:<span class="post-date">2026-04-16 16:02</span>@@
|
||||
- [[file:blogs/2026/04-april/comparison-14-04.org][Comparison is the thief of joy]] @@html:<span class="post-date">2026-04-14 09:55</span>@@
|
||||
- [[file:blogs/2026/04-april/12-04-week-review.org][[12-04-2026] - Weekly Review]] @@html:<span class="post-date">2026-04-12 12:00</span>@@
|
||||
- [[file:blogs/2026/04-april/starting-new-rotation-08-04-26.org][Starting new rotation]] @@html:<span class="post-date">2026-04-08 16:15</span>@@
|
||||
- [[file:blogs/2026/04-april/action-plan-07-04-26.org][Action plan to change teams]] @@html:<span class="post-date">2026-04-07 10:04</span>@@
|
||||
- [[file:blogs/2026/04-april/weekly-target-06-04-26.org][[06-04-2026] - Weekly target]] @@html:<span class="post-date">2026-04-06 22:53</span>@@
|
||||
@@ -1,65 +0,0 @@
|
||||
#+TITLE: Sitemap
|
||||
|
||||
- [[file:index.org][Home]]
|
||||
- [[file:wip.org][Work in progress]]
|
||||
- [[file:recently-updated.org][Recently Updated]]
|
||||
- books
|
||||
- [[file:books/books-list.org][Books List]]
|
||||
- clean-code
|
||||
- [[file:books/clean-code/clean-code-notes.org][Clean Code Notes]]
|
||||
- blogs
|
||||
- [[file:blogs/blogs-intro.org][Blogs Introduction]]
|
||||
- [[file:blogs/publish-pages.org][How to publish pages using Org Publish]]
|
||||
- [[file:blogs/blogs-list.org][Blogs List]]
|
||||
- home
|
||||
- [[file:home/countdown.org][Countdown]]
|
||||
- [[file:home/backlog.org][Backlog]]
|
||||
- [[file:home/contact.org][Contact]]
|
||||
- [[file:home/status.org][Competency Status Board]]
|
||||
- [[file:home/wird-tracker.org][Wird Tracker]]
|
||||
- [[file:home/services.org][Service]]
|
||||
- [[file:home/notes.org][Notes]]
|
||||
- [[file:home/categories.org][Categories]]
|
||||
- guide
|
||||
- [[file:home/guide/setup.org][Setup]]
|
||||
- [[file:home/guide/wird-tracker-guide.org][Wird Tracker — Technical Guide]]
|
||||
- lima
|
||||
- [[file:lima/lima-list.org][Lima]]
|
||||
- tags
|
||||
- [[file:tags/life.sync-conflict-20260417-233423-VT6366A.org][Tag: life]]
|
||||
- [[file:tags/review.sync-conflict-20260328-203248-VT6366A.org][Tag: review]]
|
||||
- [[file:tags/introduction.org][Tag: introduction]]
|
||||
- [[file:tags/learning.org][Tag: learning]]
|
||||
- [[file:tags/notes.org][Tag: notes]]
|
||||
- [[file:tags/review.org][Tag: review]]
|
||||
- [[file:tags/website.org][Tag: website]]
|
||||
- [[file:tags/update.org][Tag: update]]
|
||||
- [[file:tags/insights.org][Tag: insights]]
|
||||
- [[file:tags/life.org][Tag: life]]
|
||||
- [[file:tags/emacs.org][Tag: emacs]]
|
||||
- [[file:tags/education.org][Tag: education]]
|
||||
- [[file:tags/reading.org][Tag: reading]]
|
||||
- [[file:tags/maths.org][Tag: maths]]
|
||||
- posts
|
||||
- [[file:posts/posts-intro.org][Posts Introduction]]
|
||||
- [[file:posts/posts-list.org][Posts List]]
|
||||
- career
|
||||
- [[file:posts/career/solid-principles.org][SOLID Principles]]
|
||||
- [[file:posts/career/owasp.org][OWASP Top Ten]]
|
||||
- [[file:posts/career/retrospectives.org][Retrospectives]]
|
||||
- [[file:posts/career/lean.org][Lean]]
|
||||
- [[file:posts/career/invest-principles.org][Invest Principles]]
|
||||
- [[file:posts/career/career-intro.org][Career Introduction]]
|
||||
- [[file:posts/career/management-of-self.org][Management of self training]]
|
||||
- [[file:posts/career/wireframe-designs.org][Wireframe Designs]]
|
||||
- [[file:posts/career/requirements-features.org][Requirements, features, user stories, tasks, walking skeletons]]
|
||||
- [[file:posts/career/normalisation.org][Benefits of Normalisation]]
|
||||
- [[file:posts/career/airflow.org][Datamarts, Airflow and DAG's]]
|
||||
- [[file:posts/career/probation-objectives.org][Probation Objectives:]]
|
||||
- [[file:posts/career/database-permissions.org][Database Permissions, Roles, and Accounts]]
|
||||
- [[file:posts/career/monitoring-and-logging.org][Monitoring and Logging]]
|
||||
- [[file:posts/career/pipelines.org][Pipelines and how they work (as well as CI/CD)]]
|
||||
- [[file:posts/career/restful-api.org][Restful API]]
|
||||
- [[file:posts/career/javascript.org][Understands the Javascript language]]
|
||||
- [[file:posts/career/ha-dr.org][High Availability, Disaster Recovery and Business Continuity]]
|
||||
- [[file:posts/career/career-list.org][Career List]]
|
||||
Reference in New Issue
Block a user