Open ghost opened 1 month ago
Hi there,
Thank you for your suggestion! It's a great idea, and I actually considered implementing it in the past. However, I don't have the time to work on this feature at the moment. Essentially, what would need to be done is to adapt the current engine to generate all files for all accessible paths.
While I don't plan on adding static generation in the near future, I would be more than happy if someone else wanted to take this on!
Regarding your specific questions:
Around 32 characters per line on mobile and then line break/repeat until the last line of the post/paragraph:
TextUtils
class in the formatParagraph
method. It calculates the line width and applies it when formatting text.Validator::isMobileDevice
method which, if it detects a mobile device, halves the line width plus a few additional characters.Different formats of homepage for mobile and desktop:
lineWidth
, showCategory
, showDate
, etc., are adjusted within the Config
class upon calling the handleMobileDevice
method.Custom format guide to format the posts/pages/website:
TextUtils
and StringUtils
classes, as well as configuration settings stored in the Config
class.centerText
.formatQuote
and formatList
, respectively.beautifyText
.Thank you for your interest in my project!
Thankyou for the detailed explaination. I shall keep the issue open, incase someone else decides to take this on!
Meanwhile, I will try my best to understand, tinker and implement the features. Maybe I will learn PHP in holidays.
Greetings,
Can you please make it possible to use this awesome weblog software as a static site generator, like with Jekyll(Ruby), for deploying the blog through services like GitHub Pages/Cloudflare Pages/Codeberg Pages etc ?
If yes, then please let me know, when it's ready for testing, I shall test it and find any bugs. If you need help, please let me know how weblog works and any resources to learn php and nginx (networking etc).
If no, please help me in understanding how did you implement the following:
I am trying to implement plaintext weblog concept in Ruby language through Jekyll+Liquid. Here is the github repository. Here is the website/ github page Demo.
I appreciate your work for the open source community. And I really love this project and the philosophy behind it. I have read some interesting posts on your website too and discovered the cute easter egg as well.
All the best for the future development.
Thankyou for reading. <3