Skip to content

Commit ee4762b

Browse files
author
Ram swaroop
committed
code refactoring
1 parent 8a167ee commit ee4762b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1 class="title">{{ page.title }}</h1>
1717

1818
<!-- Post navigation -->
1919
{% if site.post_navigation %}
20-
<div id="post_nav">
20+
<div id="post-nav">
2121
{% if page.previous.url %}
2222
<a class="prev" href="{{ page.previous.url }}" {% if page.next.url == null %} style="border-right:1px solid rgba(0, 0, 0, 0.1)" {% endif %}><h3>{{ page.previous.title }}</h3> &laquo; {{ site.theme.str_prev }}</a>
2323
{% endif %}

_sass/layouts/_posts.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ header {
5858
margin: 20px 0;
5959
}
6060
// Post navigation (next/prev post)
61-
#post_nav {
61+
#post-nav {
6262
width:100%;
6363
display: flex;
6464
border-bottom: 1px solid $border-color;
6565
}
66-
#post_nav .prev {
66+
#post-nav .prev {
6767
@extend %padding-left-regular;
6868
width: 50%;
6969
text-align: left;
7070
}
71-
#post_nav .next {
71+
#post-nav .next {
7272
@extend %padding-right-regular;
7373
width: 50%;
7474
text-align: right;

0 commit comments

Comments
 (0)