_layouts/home.html in jekyll-theme-github-like-0.1.4 vs _layouts/home.html in jekyll-theme-github-like-0.1.5
- old
+ new
@@ -11,11 +11,11 @@
<div data-view-component="true" class="Layout-main">
<div class="file-navigation mb-3 d-flex flex-items-start">
<div class="position-relative">
<details class="dropdown details-reset details-overlay d-inline-block" id="branch-select-menu">
<summary class="btn" aria-haspopup="true">
- 默认
+ Default
<div class="dropdown-caret"></div>
</summary>
<ul class="dropdown-menu dropdown-menu-se">
<li data-toggle-for="blob-more-options-details">
@@ -28,31 +28,35 @@
</details>
</div>
<div class="flex-auto"></div>
- <div class="flex-self-center ml-3 flex-self-stretch d-none d-lg-flex flex-items-center lh-condensed-ultra">
+ <!--
+ <div class="d-none flex-self-center ml-3 flex-self-stretch d-none d-lg-flex flex-items-center lh-condensed-ultra">
<div>
- <span class="color-fg-muted">最近发布:</span>
+ <span class="color-fg-muted">Last updated on</span>
<strong class="color-fg-muted">{{ site.posts[0].date | date: "%Y/%m/%d" }}</strong>
</div>
</div>
+ -->
</div>
<!-- 文章列表 -->
<div class="Box mb-3">
<div class="Box-header position-relative">
<div class="js-details-container Details d-flex rounded-top-2 flex-items-center flex-wrap">
<div class="flex-1 d-flex flex-items-center min-width-0">
<div class="css-truncate css-truncate-overflow">
- <span>所有文章</span>
+ <span>All Posts</span>
</div>
<div class="d-flex flex-auto flex-justify-end ml-3 flex-items-baseline">
<div>
+ <span class="color-fg-muted">total</span>
<strong>{{ site.posts.size }}</strong>
- <span class="color-fg-muted">篇文章</span>
+ <span class="color-fg-muted"> posts, last updated on </span>
+ <strong>{{ site.posts[0].date | date: "%Y/%m/%d" }}</strong>
</div>
</div>
</div>
</div>
</div>
@@ -101,22 +105,21 @@
<!-- Sidebar -->
<div data-view-component="true" class="Layout-sidebar">
<div class="BorderGrid BorderGrid--spacious">
<div class="BorderGrid-row">
<div class="BorderGrid-cell">
- <h2 class="mb-3 h4">关于我</h2>
+ <h2 class="mb-3 h4">About</h2>
<p class="f4 my-3">
- I'm a software developer. <br>
- This is my dev blog.
+ A Jekyll theme like Github.com
</p>
</div>
</div>
<div class="BorderGrid-row">
<div class="BorderGrid-cell">
<h2 class="h4 mb-3" data-pjax="#repo-content-pjax-container"
data-turbo-frame="repo-content-turbo-frame">
- <a class="Link--primary no-underline">友情链接</a>
+ <a class="Link--primary no-underline">Links</a>
</h2>
<div class="text-small">
<a href="https://github.com/supgeek-rod/jekyll-theme-github-like" target="_blank">jekyll-theme-github-like</a>
</div>