-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(layout): improve the min-height of main content (#674)
- Loading branch information
Showing
3 changed files
with
46 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
<!-- The Footer --> | ||
|
||
<footer class="row pl-3 pr-3"> | ||
<div class="col-12 d-flex justify-content-between align-items-center text-muted pl-0 pr-0"> | ||
<div class="footer-left"> | ||
<p class="mb-0"> | ||
© {{ 'now' | date: "%Y" }} | ||
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>. | ||
{% if site.data.locales[lang].copyright.brief %} | ||
<span data-toggle="tooltip" data-placement="top" | ||
title="{{ site.data.locales[lang].copyright.verbose }}">{{ site.data.locales[lang].copyright.brief }}</span> | ||
{% endif %} | ||
</p> | ||
</div> | ||
<footer> | ||
<div class="container pl-lg-4 pr-lg-4"> | ||
<div class="d-flex justify-content-between align-items-center text-muted ml-md-3 mr-md-3"> | ||
<div class="footer-left"> | ||
<p class="mb-0"> | ||
© {{ 'now' | date: "%Y" }} | ||
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>. | ||
{% if site.data.locales[lang].copyright.brief %} | ||
<span data-toggle="tooltip" data-placement="top" | ||
title="{{ site.data.locales[lang].copyright.verbose }}">{{ site.data.locales[lang].copyright.brief }}</span> | ||
{% endif %} | ||
</p> | ||
</div> | ||
|
||
<div class="footer-right"> | ||
<p class="mb-0"> | ||
|
||
<div class="footer-right"> | ||
<p class="mb-0"> | ||
{% capture _platform %} | ||
{% capture _platform %} | ||
<a href="https://jekyllrb.com" target="_blank" rel="noopener">Jekyll</a> | ||
{% endcapture %} | ||
{% endcapture %} | ||
|
||
{% capture _theme %} | ||
{% capture _theme %} | ||
<a href="https://github.com/cotes2020/jekyll-theme-chirpy" target="_blank" rel="noopener">Chirpy</a> | ||
{% endcapture %} | ||
|
||
{{ site.data.locales[lang].meta | ||
| default: 'Powered by :PLATFORM with :THEME theme.' | ||
| replace: ':PLATFORM', _platform | replace: ':THEME', _theme | ||
}} | ||
{% endcapture %} | ||
|
||
</p> | ||
{{ site.data.locales[lang].meta | ||
| default: 'Powered by :PLATFORM with :THEME theme.' | ||
| replace: ':PLATFORM', _platform | replace: ':THEME', _theme | ||
}} | ||
</p> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters