mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-15 16:22:57 -05:00
Compare commits
No commits in common. "684769df5acb68b76b17ab260cd3a146c9b919dd" and "311d846cb8096b109b62f2bc9348f8018ddbb428" have entirely different histories.
684769df5a
...
311d846cb8
@ -159,19 +159,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.category-list li > a,
|
||||||
|
.category-list li > p {
|
||||||
|
}
|
||||||
|
|
||||||
.category-list p {
|
.category-list p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-list .category-metadata {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-list a,
|
|
||||||
.category-list .category-metadata {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Tags list format */
|
/* Tags list format */
|
||||||
@ -424,7 +419,6 @@
|
|||||||
.navbar a {
|
.navbar a {
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
white-space: nowrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-item:hover,
|
.navbar-item:hover,
|
||||||
|
@ -67,9 +67,6 @@ aria_post_meta_view_source:
|
|||||||
aria_post_meta_translations:
|
aria_post_meta_translations:
|
||||||
other: "translations"
|
other: "translations"
|
||||||
|
|
||||||
aria_post_meta_categories:
|
|
||||||
other: "categories"
|
|
||||||
|
|
||||||
aria_post_meta_tags:
|
aria_post_meta_tags:
|
||||||
other: "tags"
|
other: "tags"
|
||||||
|
|
||||||
@ -91,9 +88,6 @@ aria_post_metadata:
|
|||||||
aria_author_metadata:
|
aria_author_metadata:
|
||||||
other: "author metadata"
|
other: "author metadata"
|
||||||
|
|
||||||
aria_category_metadata:
|
|
||||||
other: "category metadata"
|
|
||||||
|
|
||||||
aria_post_meta_date:
|
aria_post_meta_date:
|
||||||
other: "date"
|
other: "date"
|
||||||
|
|
||||||
@ -106,9 +100,6 @@ aria_author_post_count:
|
|||||||
aria_author_word_count:
|
aria_author_word_count:
|
||||||
other: "word count"
|
other: "word count"
|
||||||
|
|
||||||
aria_category_post_count:
|
|
||||||
other: "post count"
|
|
||||||
|
|
||||||
aria_series_metadata:
|
aria_series_metadata:
|
||||||
other: "series metadata"
|
other: "series metadata"
|
||||||
|
|
||||||
|
18
i18n/es.yaml
18
i18n/es.yaml
@ -8,9 +8,6 @@ table_of_contents:
|
|||||||
browser_no_video_support:
|
browser_no_video_support:
|
||||||
other: "Tu navegador de internet no admite video."
|
other: "Tu navegador de internet no admite video."
|
||||||
|
|
||||||
latest_posts:
|
|
||||||
other: "Artículos recientes"
|
|
||||||
|
|
||||||
see_also:
|
see_also:
|
||||||
other: "Véase también:"
|
other: "Véase también:"
|
||||||
|
|
||||||
@ -32,9 +29,9 @@ readingtime:
|
|||||||
no_posts:
|
no_posts:
|
||||||
other: "¡No hay contenido para mostrar!"
|
other: "¡No hay contenido para mostrar!"
|
||||||
|
|
||||||
post_count:
|
# post_count:
|
||||||
one: "{{ . }} publicación"
|
# one: "{{ . }} post"
|
||||||
other: "{{ . }} publicaciones"
|
# other: "{{ . }} posts"
|
||||||
|
|
||||||
|
|
||||||
# Navigation
|
# Navigation
|
||||||
@ -67,9 +64,6 @@ newer_post:
|
|||||||
# aria_post_meta_translations:
|
# aria_post_meta_translations:
|
||||||
# other: "translations"
|
# other: "translations"
|
||||||
|
|
||||||
# aria_post_meta_categories:
|
|
||||||
# other: "categories"
|
|
||||||
|
|
||||||
# aria_post_meta_tags:
|
# aria_post_meta_tags:
|
||||||
# other: "tags"
|
# other: "tags"
|
||||||
|
|
||||||
@ -91,9 +85,6 @@ newer_post:
|
|||||||
# aria_author_metadata:
|
# aria_author_metadata:
|
||||||
# other: "author metadata"
|
# other: "author metadata"
|
||||||
|
|
||||||
# aria_category_metadata:
|
|
||||||
# other: "category metadata"
|
|
||||||
|
|
||||||
# aria_post_meta_date:
|
# aria_post_meta_date:
|
||||||
# other: "date"
|
# other: "date"
|
||||||
|
|
||||||
@ -106,9 +97,6 @@ newer_post:
|
|||||||
# aria_author_word_count:
|
# aria_author_word_count:
|
||||||
# other: "word count"
|
# other: "word count"
|
||||||
|
|
||||||
# aria_category_post_count:
|
|
||||||
# other: "post count"
|
|
||||||
|
|
||||||
# aria_series_metadata:
|
# aria_series_metadata:
|
||||||
# other: "series metadata"
|
# other: "series metadata"
|
||||||
|
|
||||||
|
@ -14,7 +14,19 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "page-list.html" .Paginator.Pages }}
|
<div class="page-list">
|
||||||
|
{{ with .Paginator.Pages }}
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
|
@ -79,7 +79,13 @@
|
|||||||
<div class="related-posts full-width-page-list">
|
<div class="related-posts full-width-page-list">
|
||||||
<hr>
|
<hr>
|
||||||
<h1>{{ i18n "related_posts" }}</h1>
|
<h1>{{ i18n "related_posts" }}</h1>
|
||||||
{{ partial "page-list.html" . }}
|
<div class="page-list">
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@ -7,11 +7,21 @@
|
|||||||
|
|
||||||
{{ partial "post-metadata/author.html" . }}
|
{{ partial "post-metadata/author.html" . }}
|
||||||
|
|
||||||
{{ with .Content }}
|
{{ .Content }}
|
||||||
{{ . }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ partial "page-list.html" .Paginator.Pages }}
|
<div class="page-list">
|
||||||
|
{{ with .Paginator.Pages }}
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
<p>{{ .Title | markdownify }}</p>
|
<p>{{ .Title | markdownify }}</p>
|
||||||
</a>
|
</a>
|
||||||
{{ partial "description-or-summary.html" . }}
|
{{ partial "description-or-summary.html" . }}
|
||||||
{{ partial "post-metadata/category.html" . }}
|
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -5,13 +5,23 @@
|
|||||||
{{ partial "rss-link.html" . }}
|
{{ partial "rss-link.html" . }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{{ partial "post-metadata/category.html" . }}
|
|
||||||
|
|
||||||
{{ with .Content }}
|
{{ with .Content }}
|
||||||
{{ . }}
|
{{ . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "page-list.html" .Paginator.Pages }}
|
<div class="page-list">
|
||||||
|
{{ with .Paginator.Pages }}
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -13,7 +13,19 @@
|
|||||||
{{ partial "rss-link.html" . }}
|
{{ partial "rss-link.html" . }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
|
{{ with (.Paginate .Site.RegularPages).Pages }}
|
||||||
|
<div class="page-list">
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,6 +6,16 @@
|
|||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{{ with .Site.RegularPages | first 5 }}
|
{{ with .Site.RegularPages | first 5 }}
|
||||||
{{ partial "page-list.html" . }}
|
<div class="page-list">
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
<div class="page-list">
|
|
||||||
{{ with . }}
|
|
||||||
<ul>
|
|
||||||
{{ range . }}
|
|
||||||
<li>{{ .Render "summary/post" }}</li>
|
|
||||||
{{ end }}
|
|
||||||
</ul>
|
|
||||||
{{ else }}
|
|
||||||
<div>
|
|
||||||
{{ i18n "no_posts" }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
@ -1,6 +0,0 @@
|
|||||||
<div class="category-metadata" aria-label="{{ i18n "aria_category_metadata" }}">
|
|
||||||
<span class="category-meta-item" aria-label="{{ i18n "aria_category_post_count" }}">
|
|
||||||
{{ partial "icon.html" "newspaper" }}
|
|
||||||
{{ i18n "post_count" (len .Data.Pages) }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
@ -11,10 +11,24 @@
|
|||||||
{{ . }}
|
{{ . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<div class="page-list">
|
||||||
{{ with .Paginator.Pages.Reverse }}
|
{{ with .Paginator.Pages.Reverse }}
|
||||||
{{ partial "page-list.html" . }}
|
<ul>
|
||||||
|
{{ $i := 0 }}
|
||||||
|
{{ $total := len $.Pages }}
|
||||||
|
{{ range . }}
|
||||||
|
{{ $i = add 1 $i }}
|
||||||
|
{{ .Scratch.Set "series_position" $i }}
|
||||||
|
{{ .Scratch.Set "series_total" $total }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -9,7 +9,19 @@
|
|||||||
{{ . }}
|
{{ . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "page-list.html" .Paginator.Pages }}
|
<div class="page-list">
|
||||||
|
{{ with .Paginator.Pages }}
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -9,7 +9,19 @@
|
|||||||
{{ . }}
|
{{ . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "page-list.html" .Paginator.Pages }}
|
<div class="page-list">
|
||||||
|
{{ with .Paginator.Pages }}
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li>{{ .Render "summary/post" }}</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{ else }}
|
||||||
|
<div>
|
||||||
|
{{ i18n "no_posts" }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user