-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copyright session #1667
base: master
Are you sure you want to change the base?
Copyright session #1667
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,6 +257,8 @@ post_copyright: | |
enable: false | ||
license: CC BY-NC-SA 3.0 | ||
license_url: https://creativecommons.org/licenses/by-nc-sa/3.0/ | ||
history_url: https://github.com/Jacksgong/Blog/commits/master/ | ||
feature_prefix: 本文已发布到JacksBlog公众号 - | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not English again? |
||
|
||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,20 @@ | |
<strong>{{ __('post.copyright.author') + __('symbol.colon') }}</strong> | ||
{{ config.author }} | ||
</li> | ||
<li class="post-copyright-history"> | ||
<strong>{{ __('post.copyright.history') + __('symbol.colon') }} </strong> | ||
<a href="{{ theme.post_copyright.history_url + 'source/_posts/' + String(post.path).split('/')[String(post.path).split('/').length -2] + '.md'}}" title="{{ '《' + post.title + '》'+ '在Github上的迭代日志'}}" target = "_blank">{{ '本文在Github上的迭代日志'}}</a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And if i selfhosted? |
||
</li> | ||
<li class="post-copyright-link"> | ||
<strong>{{ __('post.copyright.link') + __('symbol.colon') }}</strong> | ||
<a href="{{ post.permalink }}" title="{{ post.title }}">{{ post.permalink }}</a> | ||
</li> | ||
{% if post.wechatmpurl %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From where get this variable? |
||
<li class="post-copyright-wechatmp"> | ||
<strong>{{ __('post.copyright.feature') + __('symbol.colon') }}</strong> | ||
{{ theme.post_copyright.feature_prefix }}<a href="{{ post.wechatmpurl }}" target = "_blank"> {{ '《' + post.wechatmptitle + '》' }} </a> | ||
</li> | ||
{% endif %} | ||
<li class="post-copyright-license"> | ||
<strong>{{ __('post.copyright.license_title') + __('symbol.colon') }} </strong> | ||
{{ __('post.copyright.license_content', theme.post_copyright.license_url, theme.post_copyright.license) }} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why your link?