From edcb958a3783531a89ad30324dc696997a041363 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 15 May 2026 02:14:15 +0000 Subject: [PATCH 1/2] Initial plan From c5fcc63bd927a179514baa454ad9df648bd912b8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 15 May 2026 02:17:30 +0000 Subject: [PATCH 2/2] feat: add llms discoverability to nodejs site templates Agent-Logs-Url: https://github.com/haxtheweb/haxcms-nodejs/sessions/7c39fe98-4da2-47cb-abdd-8050a953c50a Co-authored-by: btopro <329735+btopro@users.noreply.github.com> --- src/boilerplate/site/config.php | 3 ++- src/boilerplate/site/ghpages.html | 3 ++- src/boilerplate/site/index.html | 3 ++- src/boilerplate/site/robots.txt | 5 ++++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/boilerplate/site/config.php b/src/boilerplate/site/config.php index 0fac4af0..19823b5c 100644 --- a/src/boilerplate/site/config.php +++ b/src/boilerplate/site/config.php @@ -250,6 +250,7 @@ public function getSiteMetadata($page = NULL, $domain = NULL, $cdn = '') { ' . $canonical . $prevResource . $nextResource . ' + ' . $siteTitle . ' @@ -641,4 +642,4 @@ public function getServiceWorkerScript($basePath = null, $ignoreDevMode = FALSE, } } $HAXSiteConfig = new HAXSiteConfig(); -} \ No newline at end of file +} diff --git a/src/boilerplate/site/ghpages.html b/src/boilerplate/site/ghpages.html index 8b4074fb..677c4612 100755 --- a/src/boilerplate/site/ghpages.html +++ b/src/boilerplate/site/ghpages.html @@ -55,6 +55,7 @@ + @@ -253,4 +254,4 @@

Loading..

- \ No newline at end of file + diff --git a/src/boilerplate/site/index.html b/src/boilerplate/site/index.html index 9b96cff9..cd72e90c 100755 --- a/src/boilerplate/site/index.html +++ b/src/boilerplate/site/index.html @@ -55,6 +55,7 @@ + @@ -253,4 +254,4 @@

Loading..

- \ No newline at end of file + diff --git a/src/boilerplate/site/robots.txt b/src/boilerplate/site/robots.txt index 3c1a25df..10609c9d 100644 --- a/src/boilerplate/site/robots.txt +++ b/src/boilerplate/site/robots.txt @@ -3,6 +3,9 @@ User-agent: * Disallow: / {% else %} Crawl-delay: 10 +Allow: / +Sitemap: {{ basePath }}sitemap.xml +LLMS: {{ basePath }}llms.txt # CSS, JS, Images Allow: /assets/*.css$ Allow: /assets/*.css? @@ -28,4 +31,4 @@ Disallow: /dist/ Disallow: /node_modules/ Disallow: /pages/ Disallow: /theme/ -{% endif %} \ No newline at end of file +{% endif %}