Merge branch 'search-engine' into staging

This commit is contained in:
f 2021-05-17 16:08:18 -03:00
commit 4bc163a2fb
3 changed files with 5 additions and 2 deletions

View file

@ -103,8 +103,7 @@
= link_to site_post_path(@site, post.path) do = link_to site_post_path(@site, post.path) do
%span{ lang: post.locale, dir: dir }= post.title %span{ lang: post.locale, dir: dir }= post.title
- if post.front_matter['draft'].present? - if post.front_matter['draft'].present?
%span.badge.badge-primary %span.badge.badge-primary= I18n.t('posts.attributes.draft.label')
= post_label_t(:draft, post: post)
- if post.front_matter['categories'].present? - if post.front_matter['categories'].present?
%br %br
%small %small

View file

@ -413,6 +413,8 @@ en:
destroy: Remove image destroy: Remove image
belongs_to: belongs_to:
empty: "(Empty)" empty: "(Empty)"
draft:
label: Draft
reorder: reorder:
submit: 'Save order' submit: 'Save order'
select: 'Select this post' select: 'Select this post'

View file

@ -420,6 +420,8 @@ es:
destroy: 'Eliminar imagen' destroy: 'Eliminar imagen'
belongs_to: belongs_to:
empty: "(Vacío)" empty: "(Vacío)"
draft:
label: Borrador
reorder: reorder:
submit: 'Guardar orden' submit: 'Guardar orden'
select: 'Seleccionar este artículo' select: 'Seleccionar este artículo'