mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-10 15:54:01 +02:00
Implement redesign first stage
This commit is contained in:
13
index.html
13
index.html
@@ -5,15 +5,14 @@ sitemap: true
|
||||
---
|
||||
|
||||
{% capture welcome_content %}{% include welcome.md %}{% endcapture %}
|
||||
{{ welcome_content|markdownify }}
|
||||
<section class="chapter" id="welcome">
|
||||
{{ welcome_content|markdownify }}
|
||||
</section>
|
||||
|
||||
{% 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 %}
|
||||
<div id="{{ post.anchor }}">
|
||||
{% if post.isChild != true and loop.first != true %}<div class="back-to-top">{{ backtotop|markdownify }}</div>{% endif %}
|
||||
<section class="chapter" id="{{ post.anchor }}">
|
||||
{{ post.content }}
|
||||
</div>
|
||||
</section>
|
||||
{% endfor %}
|
||||
{{ backtotop|markdownify }}
|
||||
|
Reference in New Issue
Block a user