fix: remove blog components (plugin not installed)
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run

This commit is contained in:
2026-08-21 20:37:10 -06:00
parent baa7464688
commit 35e690c987
3 changed files with 5 additions and 38 deletions

View File

@@ -4,11 +4,6 @@ meta_description = "Consejos, guias y noticias sobre puntos de venta, retail en
url = "/blog"
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">
<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>
<p class="lead text-muted">Guias sobre retail, puntos de venta y tecnologia para Mexico.</p>
</div>
<div class="row g-4">
{% for post in posts %}
<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 &rarr;</a>
</div>
</div>
</div>
{% else %}
<div class="col-12 text-center py-5">
<p class="text-muted">{{ noPostsMessage }}</p>
</div>
{% endfor %}
<p class="text-muted">Pronto publicaremos articulos. Vuelve pronto!</p>
</div>
</div>
</section>

View File

@@ -1,23 +1,15 @@
title = "Articulo — Blog VivesPOS"
meta_title = "{{ post.title }} — VivesPOS Blog"
meta_description = "{{ post.summary|default('') }}"
meta_title = "Articulo — VivesPOS Blog"
meta_description = "Blog VivesPOS"
url = "/blog/post/:slug"
layout = "default"
[blogPost]
slug = "{{ :slug }}"
==
{% set post = blogPost.post %}
<section class="py-5 py-md-6">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<p class="text-muted small mb-2">{{ post.published_at|date('d M Y') }}</p>
<h1 class="display-6 fw-bold mb-4">{{ post.title }}</h1>
<div class="post-content">
{{ post.content|raw }}
</div>
<hr class="my-4">
<p class="text-muted">El blog estara disponible pronto.</p>
<a href="{{ '/blog'|page }}" class="text-brand text-decoration-none fw-semibold">&larr; Volver al blog</a>
</div>
</div>

View File

@@ -4,11 +4,6 @@ meta_description = "Punto de venta offline-first. Vende sin internet, tus datos
url = "/"
layout = "default"
[blogPosts]
postsPerPage = 3
postPage = "blog/post"
sortOrder = "published_at desc"
noPostsMessage = "Pronto publicaremos articulos. Vuelve pronto!"
==
{% partial 'home/hero' %}
{% partial 'home/features' %}