fix: remove blog components (plugin not installed)
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
This commit is contained in:
@@ -4,11 +4,6 @@ meta_description = "Consejos, guias y noticias sobre puntos de venta, retail en
|
|||||||
url = "/blog"
|
url = "/blog"
|
||||||
layout = "default"
|
layout = "default"
|
||||||
|
|
||||||
[blogPosts]
|
|
||||||
postsPerPage = 9
|
|
||||||
postPage = "blog/post"
|
|
||||||
sortOrder = "published_at desc"
|
|
||||||
noPostsMessage = "Pronto publicaremos articulos. Vuelve pronto!"
|
|
||||||
==
|
==
|
||||||
<section class="py-5 py-md-6">
|
<section class="py-5 py-md-6">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@@ -17,23 +12,8 @@ noPostsMessage = "Pronto publicaremos articulos. Vuelve pronto!"
|
|||||||
<h1 class="display-5 fw-bold mb-2">Consejos para tu negocio</h1>
|
<h1 class="display-5 fw-bold mb-2">Consejos para tu negocio</h1>
|
||||||
<p class="lead text-muted">Guias sobre retail, puntos de venta y tecnologia para Mexico.</p>
|
<p class="lead text-muted">Guias sobre retail, puntos de venta y tecnologia para Mexico.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="row g-4">
|
<div class="col-12 text-center py-5">
|
||||||
{% for post in posts %}
|
<p class="text-muted">Pronto publicaremos articulos. Vuelve pronto!</p>
|
||||||
<div class="col-md-6 col-lg-4">
|
|
||||||
<div class="card border-0 shadow-sm h-100 rounded-4 overflow-hidden">
|
|
||||||
<div class="card-body p-4">
|
|
||||||
<p class="text-muted small mb-2">{{ post.published_at|date('d M Y') }}</p>
|
|
||||||
<h3 class="h5 fw-bold mb-2">{{ post.title }}</h3>
|
|
||||||
<p class="text-muted small mb-3">{{ post.summary|default(post.content|striptags|slice(0, 120)) }}...</p>
|
|
||||||
<a href="{{ '/blog/post'|page({ slug: post.slug }) }}" class="text-brand text-decoration-none fw-semibold small">Leer mas →</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
<div class="col-12 text-center py-5">
|
|
||||||
<p class="text-muted">{{ noPostsMessage }}</p>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -1,23 +1,15 @@
|
|||||||
title = "Articulo — Blog VivesPOS"
|
title = "Articulo — Blog VivesPOS"
|
||||||
meta_title = "{{ post.title }} — VivesPOS Blog"
|
meta_title = "Articulo — VivesPOS Blog"
|
||||||
meta_description = "{{ post.summary|default('') }}"
|
meta_description = "Blog VivesPOS"
|
||||||
url = "/blog/post/:slug"
|
url = "/blog/post/:slug"
|
||||||
layout = "default"
|
layout = "default"
|
||||||
|
|
||||||
[blogPost]
|
|
||||||
slug = "{{ :slug }}"
|
|
||||||
==
|
==
|
||||||
{% set post = blogPost.post %}
|
|
||||||
<section class="py-5 py-md-6">
|
<section class="py-5 py-md-6">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<p class="text-muted small mb-2">{{ post.published_at|date('d M Y') }}</p>
|
<p class="text-muted">El blog estara disponible pronto.</p>
|
||||||
<h1 class="display-6 fw-bold mb-4">{{ post.title }}</h1>
|
|
||||||
<div class="post-content">
|
|
||||||
{{ post.content|raw }}
|
|
||||||
</div>
|
|
||||||
<hr class="my-4">
|
|
||||||
<a href="{{ '/blog'|page }}" class="text-brand text-decoration-none fw-semibold">← Volver al blog</a>
|
<a href="{{ '/blog'|page }}" class="text-brand text-decoration-none fw-semibold">← Volver al blog</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,11 +4,6 @@ meta_description = "Punto de venta offline-first. Vende sin internet, tus datos
|
|||||||
url = "/"
|
url = "/"
|
||||||
layout = "default"
|
layout = "default"
|
||||||
|
|
||||||
[blogPosts]
|
|
||||||
postsPerPage = 3
|
|
||||||
postPage = "blog/post"
|
|
||||||
sortOrder = "published_at desc"
|
|
||||||
noPostsMessage = "Pronto publicaremos articulos. Vuelve pronto!"
|
|
||||||
==
|
==
|
||||||
{% partial 'home/hero' %}
|
{% partial 'home/hero' %}
|
||||||
{% partial 'home/features' %}
|
{% partial 'home/features' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user