Skip to content

Commit

Permalink
dragonman225/notablog#6 fix page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
vwxyzjn committed Mar 28, 2020
1 parent 459907f commit b029fda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Assuming you setup your index page with url `blog` (example: https://www.notion.


```
npm i -g vwxyzjn_notablog
notablog generate .
bash posthook.sh
notablog preview .
Expand Down
4 changes: 2 additions & 2 deletions themes/pure/layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{{if(options.siteMeta.icon)}}
<div class="Header__Icon">{{siteMeta.iconHTML}}</div>
{{/if}}
<h1 class="Header__Title">{{siteMeta.title}}</h1>
<h1 class="Header__Title">Blog</h1>
{{if(options.siteMeta.description)}}
<div class="Header__Desc">
<span class="Header__DescBigQuoteMark">&ldquo;</span>
Expand All @@ -71,7 +71,7 @@ <h1 class="Header__Title">{{siteMeta.title}}</h1>
</header>
<article class="ArticleList">
{{each(options.siteMeta.pages)}}
{{if(@this.publish && @this.inList)}}
{{if(@this.publish && @this.inList && @this.url!="blog.html")}}
<article class="Article">
<h3 class="Article__Title">
{{@this.iconHTML}}
Expand Down
2 changes: 1 addition & 1 deletion themes/pure/layout/tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1 class="Header__Title"># {{tagName}}</h1>
</header>
<article class="ArticleList">
{{each(options.pages)}}
{{if(@this.publish && @this.inList)}}
{{if(@this.publish && @this.inList && @this.url!="blog.html")}}
<article class="Article">
<h3 class="Article__Title">
{{@this.iconHTML}}
Expand Down

0 comments on commit b029fda

Please sign in to comment.