Skip to content

Commit

Permalink
op ui
Browse files Browse the repository at this point in the history
  • Loading branch information
xdsdmg committed Jul 24, 2024
1 parent bf27d01 commit 5a9c275
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/_layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ <h2 class="post-list-heading">文章</h2>
{%- assign date_format = site.minima.date_format | default: "%F" -%}
{%- for post in posts -%}
<li>
<span class="post-meta">{{ post.date | date: date_format }}</span>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
<span class="post-meta">{{ post.date | date: date_format }}</span>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
Expand Down Expand Up @@ -129,4 +129,4 @@ <h2 class="post-list-heading">文章</h2>
{%- endif %}

{%- endif -%}
</div>
</div>
2 changes: 1 addition & 1 deletion docs/_layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<header class="post-header" id="{{ page.title | escape }}">
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
<p class="post-meta">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{%- assign date_format = site.minima.date_format | default: "%F" -%}
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{{ page.date | date: date_format }}
</time>
Expand Down
1 change: 1 addition & 0 deletions docs/_sass/minima/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ body {
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
color: $text-color;
background-color: $background-color;
// background-color: #c9cdd4;
-webkit-text-size-adjust: 100%;
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
Expand Down
1 change: 1 addition & 0 deletions docs/_sass/minima/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@
font-size: $base-font-size;
color: $brand-color;
margin-right: 10px;
margin-left: auto;
}

.post-link {
Expand Down

0 comments on commit 5a9c275

Please sign in to comment.