]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/location/index.html
location: Add latest relevant blog post
[ipfire.org.git] / src / templates / location / index.html
index 511393b96d9a04385463c749c9f5a58588cf67be..01df8c3790eca70da0bb8803569b843702f73602 100644 (file)
                        </div>
                </div>
        </section>
+
+       {% if posts %}
+               <section>
+                       <div class="container">
+                               <div class="row justify-content-center">
+                                       <div class="col-12 col-lg-10">
+                                               <h3>{{ _("Related News from the IPFire Blog") }}</h3>
+
+                                               <div class="card my-3">
+                                                       <div class="card-body">
+                                                               {% module BlogPosts(posts) %}
+                                                       </div>
+                                               </div>
+
+                                               <a class="btn btn-primary btn-lg btn-block" href="https://blog.ipfire.org/tag/location">
+                                                       {{ _("Read More") }}
+                                               </a>
+                                       </div>
+                               </div>
+                       </div>
+               </section>
+       {% end %}
 {% end block %}