From a91bd48c3a7d1c1e9659683d53ad8582431122b4 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Sat, 24 Jan 2026 14:40:45 +0100 Subject: [PATCH] fix(hexojs): Use url_for() for all internal links in theme Templates now properly use Hexo's url_for() helper: - apps.ejs: navigation links - category.ejs: breadcrumb, apps, services, blog links - showcase.ejs: contact, portfolio, apps, services links This ensures all links work correctly when root is set to a subdirectory (e.g., /blog/ instead of /) Bumped release to r5 Co-Authored-By: Claude Opus 4.5 --- package/secubox/secubox-app-hexojs/Makefile | 2 +- .../hexojs/themes/cybermind/layout/apps.ejs | 4 +-- .../themes/cybermind/layout/category.ejs | 8 +++--- .../themes/cybermind/layout/showcase.ejs | 26 +++++++++---------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package/secubox/secubox-app-hexojs/Makefile b/package/secubox/secubox-app-hexojs/Makefile index 28dd9fc1..333fdc34 100644 --- a/package/secubox/secubox-app-hexojs/Makefile +++ b/package/secubox/secubox-app-hexojs/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=secubox-app-hexojs PKG_VERSION:=1.0.0 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_ARCH:=all PKG_MAINTAINER:=CyberMind Studio diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/apps.ejs b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/apps.ejs index bc397873..86bdfd1e 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/apps.ejs +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/apps.ejs @@ -155,8 +155,8 @@ allApps.sort(function(a, b) { <% } %> diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/category.ejs b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/category.ejs index 4f229d29..1f67867f 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/category.ejs +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/category.ejs @@ -68,7 +68,7 @@ if (typeof get_blog_categories === 'function') { <% if (catDesc) { %>

<%= catDesc %>

<% } %>

<%= postCount %> article<%= postCount > 1 ? 's' : '' %>

@@ -78,7 +78,7 @@ if (typeof get_blog_categories === 'function') {

🚀 Apps

<% page.featured_apps.forEach(function(app) { %> - <%= app %> + <%= app %> <% }); %>
<% } %> @@ -86,7 +86,7 @@ if (typeof get_blog_categories === 'function') {

🛡️ Services

<% page.featured_services.forEach(function(svc) { %> - <%= svc %> + <%= svc %> <% }); %>
<% } %> @@ -127,7 +127,7 @@ if (typeof get_blog_categories === 'function') { <% } else { %>

🚧 Aucun article dans cette catégorie pour le moment.

-

← Retour au blog

+

← Retour au blog

<% } %> diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/showcase.ejs b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/showcase.ejs index 27222da5..59d48692 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/showcase.ejs +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/showcase.ejs @@ -90,7 +90,7 @@ var opensource = portfolio.filter(function(p) { return p.type === 'opensource'; @@ -159,7 +159,7 @@ var opensource = portfolio.filter(function(p) { return p.type === 'opensource'; @@ -225,10 +225,10 @@ var opensource = portfolio.filter(function(p) { return p.type === 'opensource'; - +
@@ -262,10 +262,10 @@ var opensource = portfolio.filter(function(p) { return p.type === 'opensource';
- +
@@ -314,30 +314,30 @@ var opensource = portfolio.filter(function(p) { return p.type === 'opensource';
- +
@@ -347,7 +347,7 @@ var opensource = portfolio.filter(function(p) { return p.type === 'opensource';

💬 Un projet en tête ?

Discutons de vos besoins et trouvons la meilleure solution ensemble.