Move contents of the homepage to a Markdown file #28

Open
opened 2022-12-20 09:51:21 -05:00 by manfromhuh · 1 comment
Contributor

This would be more in keeping with the general design goals of the project. Currently the index.php for the homepage is hardcoded.

While several of the homepage elements are going to be programatically generated at some point, i.e. a feed of the latest few articles, the title and such should probably come from some sort of easily editable document.

This would be more in keeping with the general design goals of the project. Currently the index.php for the homepage is hardcoded. While several of the homepage elements are going to be programatically generated at some point, i.e. a feed of the latest few articles, the title and such should probably come from some sort of easily editable document.
Author
Contributor

Rather than a markdown file it might be better to move things like the "about" blurb to an .ini or .env file.

Then have:

<div class="body">
  <p>A small colection of personal writings and projects.</p>
</div>

become:

<div class="body">
  <p><?php echo $site_description_short ?></p>
</div>
Rather than a markdown file it might be better to move things like the "about" blurb to an .ini or .env file. Then have: ```html <div class="body"> <p>A small colection of personal writings and projects.</p> </div> ``` become: ```php <div class="body"> <p><?php echo $site_description_short ?></p> </div> ```
20xd6 added this to the 1.0 Release milestone 2022-12-20 10:15:50 -05:00
20xd6 added the
enhancement
label 2022-12-20 13:19:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 20xd6/simple_blog#28
No description provided.