mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-22 13:13:05 +02:00
Moving to Post structure.
Lots of changes breaking out subsections into posts and programmatically generating ToC, main page content, and Back to Top links.
This commit is contained in:
@@ -5,6 +5,11 @@ layout: default
|
||||
{% capture welcome_content %}{% include welcome.md %}{% endcapture %}
|
||||
{{ welcome_content|markdownify }}
|
||||
|
||||
{% capture backtotop %}[Back to Top](#top){.top}{% endcapture %}
|
||||
{% for post in site.posts reversed %}
|
||||
{% if post.isChild != true and loop.first != true %}
|
||||
{{ backtotop|markdownify }}
|
||||
{% endif %}
|
||||
{{ post.content }}
|
||||
{% endfor %}
|
||||
{{ backtotop|markdownify }}
|
||||
|
Reference in New Issue
Block a user