881385b29d
Add tools directory to .gitignore
2025-05-18 19:02:52 +02:00
91b0bbd112
feat(i18n): add Norwegian (nb_NO) translation and clean up
...
- Add complete Norwegian (nb_NO) language file
- Update .gitignore to exclude temporary and backup files
- Remove temporary and backup files from language directory
- Clean up scripts directory and add to .gitignore
- Update language file format to use key-value pairs
2025-05-18 19:01:39 +02:00
f2778d502d
fix: Remove placeholder from _add_blog_list_to_index function
...
- Removed '{{ ... }}' placeholder that was causing a syntax error
- Ensured proper function structure for blog index handling
2025-05-18 12:55:22 +02:00
aa580887fc
fix: Correct syntax error in _is_blog_cache_stale function
...
- Replace incorrect closing braces with 'fi' in conditional statements
2025-05-18 12:52:55 +02:00
c56212379c
feat: Implement full blog index content caching
...
- Store complete blog index HTML in .blogindex.cache
- Add _load_blog_cache function to retrieve cached content
- Improve cache invalidation logic
- Add detailed debug logging
- Bump version to 0.5.1
2025-05-18 12:50:52 +02:00
f5e33cb424
feat: Major initialization and configuration improvements
...
- Renamed config file to site.conf with backward compatibility
- Added robust config file loading with error handling
- Implemented blog index caching system
- Added configuration validation for required settings
- Improved debug output and error messages
- Added directory creation for project and site roots
- Added git repository detection to prevent accidental runs in wrong directories
- Updated README.md to reflect configuration changes
- Bumped version to 0.5.0
2025-05-18 12:37:54 +02:00
d9dc9c47e5
Don't force CSS styles in QSTags
2024-07-12 08:30:36 +02:00
c2da8bab86
Set max width of linked images to 500px
2024-07-10 21:46:41 +02:00
70c9cee6fe
Fix a typo
2024-07-10 21:43:10 +02:00
3cc6e26315
Update to version 0.4.4. Added new function to link images using #linkimg
2024-07-10 21:26:46 +02:00
0d0010ca79
_pages: Display page title instead of filename
2024-02-24 23:12:15 +01:00
b4cfa26ff9
qsgen2: Update to version 0.4.3
2024-02-24 22:52:27 +01:00
51e0a0c6d0
_blogs: Disable debug
2024-02-24 22:51:17 +01:00
ddbdccd490
_blogs: Display the blog title instead of the blog HTML file name
2024-02-24 22:47:40 +01:00
ac2a58dba6
_blogs: Add a separator line in debug in the right place
2024-02-24 22:42:57 +01:00
6460eb17b0
_blogs: Add a separator line in debug
2024-02-24 22:39:41 +01:00
81b22db011
_qstags: Let's try a simpler substitution for speed
2024-02-24 19:32:44 +01:00
d3ccb64a73
Let's load zsh/regex early and out of loop.
2024-02-24 19:25:49 +01:00
a2e4060977
_blogs: Fix _blogs_msg_15 again
2024-02-24 19:21:08 +01:00
30f99ff6d6
_blogs: Fix _blogs_msg_15 again
2024-02-24 19:18:21 +01:00
3f2c1e8b4c
_blogs: Fix _blogs_msg_15
2024-02-24 19:16:16 +01:00
ad1c11f626
Fix _blogs_msg_15
2024-02-24 19:13:36 +01:00
04d558c2d7
Remove old variables. Rename _zhtml to _qstags. Debug _blogs to find the bottleneck.
2024-02-24 19:03:58 +01:00
fe2867b3ed
qsgen2: Add missing config[site_theme]
2024-02-22 10:46:44 +01:00
800d990e79
qsgen2: Replace old config variables with the new ones.
2024-02-22 10:44:19 +01:00
3389a23e58
Update to version 0.4.2.
2024-02-22 10:33:33 +01:00
kekePower
79da2c7f03
Update config.example
...
Fixed typo
2024-02-21 14:21:05 +01:00
6827a86351
qsgen2: Update to version 0.4.1
2024-02-19 20:11:06 +01:00
cb2f169bb4
qsgen2: Add option to update sitemaps only again
2024-02-19 20:05:21 +01:00
14258f5b20
qsgen2: Add option to update sitemaps only again
2024-02-19 20:00:16 +01:00
7abece6b6a
qsgen2: Add option to update sitemaps only
2024-02-19 19:58:44 +01:00
b4d3fb036b
_sitemap: Removed html_files array by accident
2024-02-19 19:55:00 +01:00
e5c4b9ae3e
_sitemap: Simplify sitemap genration.
2024-02-19 19:47:23 +01:00
6a138075fb
_sitemap: Missing / in sitemap links
2024-02-19 19:31:37 +01:00
8159f09088
_sitemap: Let's find files from www_root directly and map them from there.
2024-02-19 19:27:37 +01:00
8b28ce9a96
Created a new global function, zini, the Zsh INI reader. New breaking changes to config.example. Updated qsgen2 using zini and mapped old values to the new ones temporarily.
2024-02-19 19:18:46 +01:00
22be2e4a6d
_sitemap: More optimization
2024-02-18 11:41:26 +01:00
dc8ee08709
_sitemap: More optimization
2024-02-18 11:39:40 +01:00
bbf5a65943
_sitemap: setopt extendedglob
2024-02-18 11:30:29 +01:00
6f74e7b67f
_sitemap: Fix finding the files
2024-02-18 11:28:46 +01:00
8105b7aa81
_sitemap: Fix finding the files
2024-02-18 11:27:42 +01:00
d3617bca28
_sitemap: Typo
2024-02-18 11:13:51 +01:00
550d1a75a3
_sitemap: Split blogs and pages into separate sitemap files.
2024-02-18 11:12:28 +01:00
152d811901
_sitemap: Try using Zsh's glob to find the files.
2024-02-18 10:58:15 +01:00
40518ec0c5
_sitemap: Try using Zsh's glob to find the files.
2024-02-18 10:55:25 +01:00
1d5318258d
_html and _zhtml: Updates to QStags
2024-02-17 11:54:59 +01:00
31930c60a7
qsgen2: Add en_UK and fr_FR language files.
2024-02-16 21:10:24 +01:00
2a8eb3e02f
qsgen2: Typo
2024-02-16 20:37:34 +01:00
2dc1f3a929
qsgen2: Messed up finding language files again...
2024-02-16 20:36:57 +01:00
b07d0a6708
qsgen2: Messed up finding language files...
2024-02-16 20:34:02 +01:00