Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- change updated file name
- fix wrong example link
- fix wrong div placement
  • Loading branch information
chrisdel101 committed May 18, 2024
1 parent a1c2d6c commit b02b2c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _layouts/blog-posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

{% include header/header-{{ page.lang }}.html %}

{% include blog/example-menu.md %}
{% include blog/post-menu.md %}

<div id="overlay"></div>
<div id="blog-doc" markdown="1">
Expand Down
4 changes: 2 additions & 2 deletions en/blog/posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ redirect_from: "/blog/posts.html"

# Express Blog

{% if site.posts.size != 0 %}
{% if site.posts.size != 0 %}
<div class="blog-posts">
{% for post in site.posts %}
<div class="blog-post{% if site.posts.first == post %} active{% endif %}">
Expand Down Expand Up @@ -43,7 +43,7 @@ redirect_from: "/blog/posts.html"
</div>
</div>
{% endfor %}
</div>
{% else %}
There are currently no blog posts.
{% endif %}
</div>
2 changes: 1 addition & 1 deletion en/blog/write-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ redirect_from: "/blog/write.html"

## Have an idea for a blog post? Write a post and make a PR.

Check out an example [post](/{{ page.lang }}/blog/example.html)
Check out an example [post](/{{ page.lang }}/blog/example-post.html)

- ### Setup the Repository
A local installation will be required it you want to preview your post. [Here](https://github.com/expressjs/expressjs.com?tab=readme-ov-file#expressjscom) are the instructions for running locally.
Expand Down

0 comments on commit b02b2c7

Please sign in to comment.