Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix anchor links in post headings

your theme running the latest Hexo doesn't work because the <a> tag is nested differently than your CSS describes.  This change fixes that.
  • Loading branch information
dustinrjo committed Jan 21, 2017
1 parent de2a9c7 commit 03a4daceda4a86c7290ee2d6676e5793e3caf612
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/scss/_partial/post.scss
@@ -30,7 +30,7 @@
h2, h3, h4, h5, h6 {
position: relative;
margin: 1em 0;
&:before {
a:before {
content: "#";
color: #42b983;
position: absolute;
@@ -41,7 +41,7 @@
}
}
h4, h5, h6 {
&:before {
a:before {
content: "";
}
}

0 comments on commit 03a4dac

Please sign in to comment.
You can’t perform that action at this time.