diff --git a/package/secubox/secubox-app-hexojs/files/usr/sbin/hexoctl b/package/secubox/secubox-app-hexojs/files/usr/sbin/hexoctl index 4e724f7..ba95a56 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/sbin/hexoctl +++ b/package/secubox/secubox-app-hexojs/files/usr/sbin/hexoctl @@ -102,7 +102,7 @@ Build Commands: build Generate static files clean Clean generated files deploy Deploy to configured git target - publish Copy static files to /www/blog/ + publish Copy static files to /www/ Service Commands: service-run Run in foreground (for init) @@ -818,7 +818,7 @@ cmd_publish() { load_config local public_dir="$data_path/site/public" - local portal_path="/www/blog" + local portal_path="/www" local config_file="$data_path/site/_config.yml" # Allow custom portal path from config diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/portfolio.yml b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/portfolio.yml index 8dd41d3..0304cd5 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/portfolio.yml +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/portfolio.yml @@ -19,7 +19,7 @@ menu: Home: / Projects: /portfolio/ Services: /services/ - Blog: /blog/ + Blog: /categories/ Contact: /contact/ sections: diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/tech.yml b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/tech.yml index e4543be..e6d769c 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/tech.yml +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/presets/tech.yml @@ -18,11 +18,11 @@ branding: menu: Home: / Blog: - _path: /blog/ - Security: /blog/security/ - Linux: /blog/linux/ - Development: /blog/dev/ - Tutorials: /blog/tutorials/ + _path: /categories/ + Security: /security/ + Linux: /linux/ + Development: /dev/ + Tutorials: /tutorials/ Projects: /portfolio/ About: /about/ diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/_config.yml b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/_config.yml index 7a8a2d5..704b706 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/_config.yml +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/_config.yml @@ -33,13 +33,13 @@ branding: menu: Accueil: / Blog: - _path: /blog/ - 🛡️ Cybersécurité: /blog/cybersecurity/ - ⚙️ Embarqué: /blog/embedded/ - 🐧 Linux: /blog/linux/ - 🎨 Créativité: /blog/creative/ - 🧘 Philosophie: /blog/philosophy/ - 📖 Tutoriels: /blog/tutorials/ + _path: /categories/ + 🛡️ Cybersécurité: /cybersecurity/ + ⚙️ Embarqué: /embedded/ + 🐧 Linux: /linux/ + 🎨 Créativité: /creative/ + 🧘 Philosophie: /philosophy/ + 📖 Tutoriels: /tutorials/ Apps: /apps/ Services: /services/ Portfolio: /portfolio/ 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 1f67867..3eaf0a5 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' : '' %>

@@ -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/index.ejs b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/index.ejs index 7598515..36e0438 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/index.ejs +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/index.ejs @@ -478,7 +478,7 @@ if (typeof get_blog_categories === 'function') { <% } %> diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/post.ejs b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/post.ejs index c26bcf2..9ef6e94 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/post.ejs +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/layout/post.ejs @@ -83,7 +83,7 @@ if (page.tags && page.tags.length > 0) {
<% if (hasCategory) { %>
- + <%= categoryIcon %> <%= categoryName %>
diff --git a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/scripts/dynamic-blog.js b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/scripts/dynamic-blog.js index 9a3ef00..24fae8f 100644 --- a/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/scripts/dynamic-blog.js +++ b/package/secubox/secubox-app-hexojs/files/usr/share/hexojs/themes/cybermind/scripts/dynamic-blog.js @@ -126,7 +126,7 @@ function scanCategories(hexo) { color: DEFAULT_COLORS[orderIndex % DEFAULT_COLORS.length], description: '', order: 100 + orderIndex, - path: `/blog/${slug}/` + path: `/${slug}/` }; // Lire les métadonnées depuis index.md si présent @@ -360,7 +360,7 @@ hexo.extend.helper.register('get_dynamic_menu', function() { const blogMenu = { name: 'Blog', icon: '📚', - path: '/blog/', + path: '/categories/', children: categories.map(cat => ({ name: cat.name, icon: cat.icon,