Commit graph

441 commits

Author SHA1 Message Date
splifingate
9ac3fc114a Add Searching The Contents Blog Post Contents
By Default, Search in HTMLy only queries the filename.

I have added code that enables the Search function to capture whole-word results from the *contents* of each blog post.

See:

https://splifingate.net/blog/

vs

https://splifingate/test/blog/

My Study:

https://andyrew.info/blog/2025/01/searching-inside-htmly-content
2025-01-26 14:35:35 -05:00
Dan
6747b0e3c5 Improve MFA
Temporarily save username and password during MFA login to session file and not into hidden input
2025-01-24 23:28:06 +07:00
Dan
41cddd2a49 Update dispatch.php 2025-01-23 09:43:25 +07:00
Dan
e234ea11b4 Update functions.php 2024-12-30 12:56:39 +07:00
Dan
788ccf36be Cleaning up 2024-12-11 06:18:32 +07:00
Joduai
fa1fd04352
Update get_pagination() - see #800
Since generation of canonical metatags were updated for paginated pages - which was a good change towards SEO - another "problem" arised with "_Alternate page with proper canonical tag_". It basically relates to the 1st paginated page with "?page=1" in url. Although it contains proper canonical tag indicating main page with blog posts.
I wanted to:
1. get rid of this duplicated page in pagination so that all other pages point to the main blog page instead of page=1, allowing me to also get rid of above mentioned notification in g.search console
2. generate proper relative urls for paginated pages. All html hrefs contain "?page=N" no matter what page is used for blog posts listing. Either it is index page or any other declared page like /blog

Since I use /blog page for posts list I achieved proper href values both on index pages and decalred page, so I'm sharing the changes.
This commit affects only pagination generated using `<?php echo $pagination['html'];?>` which is used afaik only in "blog" theme. All other themes show only previous/next buttons to navigate through posts list, thus additional changes would have to be made per theme basis which is out of scope in this commit.

As a suggestion it would be nice to achieve friendly urls in pagination but I couldn't find out how url routing is solved in htmly.
2024-11-26 00:25:23 +00:00
danpros
90417620f7 Update functions.php 2024-11-21 05:45:40 +07:00
danpros
d2fe54d166 Prepare release 2024-11-21 05:44:18 +07:00
Robert Pfotenhauer
56f5460839 Added Bluesky to social accounts
As Twitter is becoming more and more of a muckraker, the alternative should be shown here as well.
2024-11-19 11:02:33 +01:00
danpros
973a2c5a05 Add new vars for easy theming 2024-11-19 12:33:54 +07:00
danpros
1471fe7ccc Clean up 2024-11-18 15:35:29 +07:00
KuJoe
32388b2a37 RSS Description config option added
Gives the admin the config option to choose to replace the RSS description value with Meta Description instead of Body (default is the current setting of body, if nothing is selected defaults to body).
2024-09-12 22:56:11 -04:00
danpros
a18d234bc2 Update functions.php 2024-09-07 11:04:13 +07:00
danpros
a473482da8 Allow to change the post permalink prefix
Example: /blog/post-slug
2024-09-06 14:19:25 +07:00
danpros
6bc0f8880a Custom /blog URL
Allow to change the /blog url eg, /news
2024-09-05 09:22:56 +07:00
danpros
98939acd20 Update functions.php 2024-09-03 06:59:27 +07:00
KuJoe
86039d9dad Cleanup Cloudflare Turnstile function
Fix PHP Notice about Content-type not specified in file_get_contents call to Cloudflare.
2024-09-02 17:34:05 -04:00
KuJoe
c1ae1c2cbf Add the ability to call the author's avatar using the $next and $prev arrays.
Static placeholders in themes can be replaced with this code now to call the author's avatar:
<?php echo $next['authorAvatar']; ?>
<?php echo $prev['authorAvatar']; ?>
2024-09-02 16:51:56 -04:00
danpros
c33f462c06 Check GD 2024-07-15 18:23:17 +07:00
danpros
025e299a2a Update functions.php 2024-07-10 09:16:49 +07:00
danpros
db57fc9fe1 Update functions.php
See #744
2024-07-09 23:05:53 +07:00
danpros
72da49f374 Update dispatch.php 2024-07-09 06:34:36 +07:00
danpros
efa0b07e91 Update dispatch.php 2024-07-09 06:17:23 +07:00
danpros
ddda1ddb57 Update functions.php 2024-07-03 22:14:26 +07:00
danpros
0d7e09f748 Update dispatch.php 2024-07-03 20:41:14 +07:00
danpros
4299c6916f Accept height parameter 2024-06-30 13:02:03 +07:00
danpros
1805312500 Update functions.php 2024-06-30 08:42:32 +07:00
danpros
5188124fa1 Update dispatch.php 2024-06-28 17:11:52 +07:00
danpros
852ba14d02 Thumbnail 2024-06-28 14:31:22 +07:00
danpros
2d8d41973b Update functions.php 2024-06-23 04:28:56 +07:00
danpros
a9357cd359 Update dispatch.php 2024-06-16 06:43:51 +07:00
danpros
0e67b878ac Improve post query for custom widget
`recent_type` get latest posts by type, category, author (cached). `recent_tag` sorting post by tag (cached). Useful for magazine like layout, different column for different category etc.
2024-06-13 09:55:09 +07:00
danpros
08ea4e032d Update functions.php 2024-06-03 08:03:52 +07:00
danpros
5226e9c01c Update version + cleaning up 2024-06-02 19:08:31 +07:00
danpros
e3e8ecba72 Update functions.php 2024-05-30 11:52:46 +07:00
danpros
30cfb03097 Update functions.php 2024-05-29 07:46:13 +07:00
danpros
b361d7de2e Improve sitemap performance
Remove the archive per day in sitemap.archive.xml. With AI, blog with 10K posts is not rare in the near future.
2024-05-28 11:48:03 +07:00
danpros
4a78e486f2 Sitemap performance for lot of posts.
sitemap.post.xml become sitemap index. Contains sitemap.post.1.xml  etc. (per sitemap 500 URLs). To disable specific sitemap use -1 as value.
2024-05-27 20:54:14 +07:00
danpros
505975e565 Improve MFA integration
Cleanup the code. Add password validation and error messages.
2024-05-24 10:12:33 +07:00
KuJoe
a35e503fbf Added option to hide HTMLy version publicly and added version to admin layout
A configuration setting has been added to allow users to hide the version of HTMLy from the source code publicly as a security precaution. The version has been added to the admin layout for easier visibility for admins.
2024-05-22 10:16:25 -04:00
KuJoe
46be29978d Added Cloudflare Turnstile as alternative to Google reCAPTCHA
Added the option to select Cloudflare's Turnstile instead of Google's reCAPTCHA for the login page due to it's less intrusive usage and better accessibility options.
2024-05-20 20:19:32 -04:00
danpros
6d6a735bc1 Update functions.php
Bootstrap menu class for auto generated menu
2024-04-29 08:17:41 +07:00
danpros
378c419426 Update functions.php 2024-04-28 23:30:54 +07:00
danpros
df26a55cac Mac inverted question mark fix
See #715 Thanks to @splifingate and @taufik-nurrohman
2024-04-28 22:52:00 +07:00
danpros
32659cd9e9 Allow avatar for users 2024-04-28 11:11:50 +07:00
danpros
7f713d32c7 Update functions.php 2024-03-31 15:58:16 +07:00
danpros
cb39378b5a Meta description for profile page 2024-03-31 14:32:30 +07:00
danpros
0167cdf4b5 Update functions.php 2024-03-31 12:16:56 +07:00
danpros
7ff6152ab5 Fix lang 2024-03-31 12:03:47 +07:00
danpros
337b45acbb Update functions.php 2024-03-14 22:30:23 +07:00