From 57fc66cc32365ab137d45e3d230f344793023f31 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Tue, 28 Jul 2026 23:14:23 +0300 Subject: [PATCH] Apply site housekeeping quick fixes. Add robots.txt and .gitignore, replace goo.gl with the full Google Forms URL, drop unused search.json, and tidy workflow/meta/iframe/tags/X/license leftovers. --- .github/workflows/jekyll.yml | 3 +-- .gitignore | 11 +++++++++++ LICENCE.md => LICENSE | 0 README.md | 2 +- _config.yml | 2 +- _data/projects.yml | 3 ++- _layouts/default.html | 7 +++---- contact/index.html | 4 ++-- index.html | 2 +- robots.txt | 4 ++++ search.json | 16 ---------------- 11 files changed, 26 insertions(+), 28 deletions(-) create mode 100644 .gitignore rename LICENCE.md => LICENSE (100%) create mode 100644 robots.txt delete mode 100644 search.json diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index a80943b..f092347 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - site-cleanup pull_request: permissions: @@ -77,6 +76,6 @@ jobs: - name: Verify build output run: | test -d _site - test -f _site/search.json test -f _site/sitemap.xml test -f _site/feed.xml + test -f _site/robots.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce0844b --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +_site/ +.jekyll-cache/ +.jekyll-metadata +.sass-cache/ +.bundle/ +vendor/bundle/ +Gemfile.lock +*.swp +*~ +.DS_Store +Thumbs.db diff --git a/LICENCE.md b/LICENSE similarity index 100% rename from LICENCE.md rename to LICENSE diff --git a/README.md b/README.md index 43a540b..bb8d513 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ CI runs `script/validate_site.py` before building. It checks: - every project has an `images/icon_{title}.png` file - site source files do not use plain `http://` links -After the Jekyll build, CI verifies `_site/search.json`, `_site/sitemap.xml`, and `_site/feed.xml` exist. +After the Jekyll build, CI verifies `_site/sitemap.xml`, `_site/feed.xml`, and `_site/robots.txt` exist. ### WebP gallery images diff --git a/_config.yml b/_config.yml index 95ccf80..39e5e24 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ -permalink: none # Clean permalinks like https://rochet2.github.io/Issues/Reforging.html +permalink: none # URLs use the post title slug, e.g. /Reforging.html baseurl: "" # Root folder path of the site from site root url: "https://rochet2.github.io" title: RochetCode diff --git a/_data/projects.yml b/_data/projects.yml index 6d7d986..6d35056 100644 --- a/_data/projects.yml +++ b/_data/projects.yml @@ -1,6 +1,6 @@ # Project metadata and download buttons. Keys must match post titles exactly. # downloads: label + url; use version on /downloads/ files and bump when the file changes. -# tags: optional search keywords. +# tags: optional chips on project cards. "Portal Master": tags: [sql, trinity, mangos, npc, teleport] downloads: @@ -51,6 +51,7 @@ GOMove: url: https://github.com/Rochet2/TrinityCore/blob/gomove_master/src/server/scripts/Custom/GOMove/ Eluna: + tags: [lua, eluna, mangos, cmangos, trinity] downloads: - label: Installation guide url: https://github.com/ElunaLuaEngine/Eluna/blob/master/docs/INSTALL.md diff --git a/_layouts/default.html b/_layouts/default.html index 4f95e81..ede5ade 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,7 +2,6 @@ - @@ -63,7 +62,7 @@ @@ -135,7 +134,7 @@

Videos

{% if page.videos %} {% for videopath in page.videos %} - + {% endfor %} {% endif %} @@ -152,7 +151,7 @@

Videos

· RSS · - Feedback + Feedback diff --git a/contact/index.html b/contact/index.html index b726018..2956811 100644 --- a/contact/index.html +++ b/contact/index.html @@ -13,7 +13,7 @@
  • Twitter/X - @projectcode_zzl + @projectcode_zzl
  • @@ -23,6 +23,6 @@

    Links

    Gist · YouTube · Pastebin · - Feedback form + Feedback form

    diff --git a/index.html b/index.html index 4e20ecc..2655bf1 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@

    Mods for World of Warcraft emulators.

    diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..74dc22d --- /dev/null +++ b/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://rochet2.github.io/sitemap.xml diff --git a/search.json b/search.json deleted file mode 100644 index ea604c5..0000000 --- a/search.json +++ /dev/null @@ -1,16 +0,0 @@ ---- -layout: null -permalink: /search.json ---- -[ -{% for post in site.posts %} - {% assign project = site.data.projects[post.title] %} - { - "title": {{ post.title | jsonify }}, - "url": {{ post.url | jsonify }}, - "description": {{ post.description | jsonify }}, - "icon": {{ post.title | prepend: '/images/icon_' | append: '.png' | jsonify }}, - "tags": {% if project.tags %}{{ project.tags | jsonify }}{% else %}[]{% endif %} - }{% unless forloop.last %},{% endunless %} -{% endfor %} -]