-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add beian option at footer for Chinese website owner #438
Conversation
@@ -1,6 +1,9 @@ | |||
<div class="copyright">{# | |||
#}{% set current = date(Date.now(), "YYYY") %}{# | |||
#}© {% if theme.footer.since and theme.footer.since != current %}{{ theme.footer.since }} – {% endif %}{# |
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.
Here is not —
. Here is n-dash (this: –, not that: —)
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.
ok, &mdash
will be displaced.
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.
seems ok
@@ -1,6 +1,9 @@ | |||
<div class="copyright">{# | |||
#}{% set current = date(Date.now(), "YYYY") %}{# | |||
#}© {% if theme.footer.since and theme.footer.since != current %}{{ theme.footer.since }} – {% endif %}{# | |||
#}{% if theme.footer.beian.enable %}{# | |||
#}<a target="_blank" rel="external nofollow" href="http://www.miitbeian.gov.cn/"> {{theme.footer.beian.icp}} </a>{# |
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.
I opened the "beian" option today and found that the "beian" option and "since2015" are crowded on the same line. It is not very beautiful. If you display the "beian" message text on a separate line, it will be more beautiful.
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.
You can create your own pull request with this changes. Welcome!
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.
You can create your own pull request with this changes. Welcomeo'k!
ok,thanks reply。
* finish beian featrue * update style * replace mdash
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number(s): N/A
What is the new behavior?
ADD:
beian
option in_config.yml
-theme
-footer
.How to use?
In NexT
_config.yml
:Does this PR introduce a breaking change?