Skip to content

Commit

Permalink
docs: add /blog to white list & add links to the blog
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell committed Jun 20, 2019
1 parent 3dbe7c2 commit d3f9b50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ngsw-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"!/**/*.*",
"!/**/*__*",
"!/**/*__*/**",
"!/**/(version|issue-helper|iframe)/**"
"!/**/(version|issue-helper|iframe|blog)/**"
]
}
7 changes: 7 additions & 0 deletions scripts/site/_site/doc/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ <h2>{{language==='zh'?'资源链接':'Resources'}}</h2>
<div nz-col [nzXs]="24" [nzSm]="24" [nzMd]="6">
<div class="footer-center">
<h2>{{language==='zh'?'社区':'Community'}}</h2>
<div>
<a [href]="language === 'zh' ? 'https://ng.ant.design/blog' : 'https://ng.ant.design/blog/en'" target="_blank" rel="noopener noreferrer">
<span>
{{ language === 'zh' ? '博客' : 'Blog' }}
</span>
</a>
</div>
<div>
<a *ngIf="language==='zh'" href="https://zhuanlan.zhihu.com/100000" target="_blank" rel="noopener noreferrer"><span>知乎专栏</span></a>
</div>
Expand Down

0 comments on commit d3f9b50

Please sign in to comment.