fix(link): fix long words and URLs style bug

This commit is contained in:
Dillon
2020-02-13 13:30:58 +08:00
parent a07f0c65f5
commit 917cf4a427
11 changed files with 397 additions and 384 deletions

View File

@@ -1,4 +1,4 @@
<article class="post" itemscope itemtype="http://schema.org/Article">
<article class="post summary" itemscope itemtype="http://schema.org/Article">
{{- /* Featured image */ -}}
{{- with .Params.featured_image -}}
<div class="post-featured-image-preview">
@@ -8,7 +8,7 @@
{{- end -}}
{{- /* Title */ -}}
<h1 class="post-title post-list-title" itemprop="name headline">
<h1 class="post-title" itemprop="name headline">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h1>

View File

@@ -1,7 +1,7 @@
{{- define "content" -}}
{{- /* Home mode [post] */ -}}
{{- if eq .Site.Params.home_mode "post" -}}
<div class="page">
<div class="page home">
{{- /* Profile */ -}}
{{- partial "home/profile.html" . -}}

View File

@@ -1,7 +1,7 @@
{{- define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end -}}
{{- define "content" -}}
<article class="page">
<article class="page post">
{{- /* Title */ -}}
<h1 class="post-title animated flipInX">{{ .Title }}</h1>