Skip to content

Commit

Permalink
🐛 header links now always home
Browse files Browse the repository at this point in the history
  • Loading branch information
HoverBaum committed Aug 11, 2016
1 parent b24ed80 commit 031ab14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
db.json
public
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# MeiliDu

Theme for Hexo.
> a beautiful read
todo

- [ ] categories page
- [ ] page for a single category
A simple, text focused theme for Hexo. Bringing your readers attention to what is most import: your posts.
2 changes: 1 addition & 1 deletion themes/meilidu/layout/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<body>

<header class="header">
<h1 class="header__title"><a href="<%- config.url %>"><%= config.title %></a></h1>
<h1 class="header__title"><a href="<%- url_for() %>"><%= config.title %></a></h1>
<h2 class="header__subtitle"><%- config.subtitle %></h2>
</header>

Expand Down

0 comments on commit 031ab14

Please sign in to comment.