Fix | blog url (#4)

Task 4067 | Fix blog url
pull/6/head
Andrei-10 5 months ago
parent 830b01adcc
commit 9d3fb76e29
  1. 2
      wp-content/themes/cosmopet/templates/header.twig

@ -5,7 +5,7 @@
{% if posts_page_id %} {% if posts_page_id %}
{% set blog_url = function('get_permalink', posts_page_id) %} {% set blog_url = function('get_permalink', posts_page_id) %}
{% else %} {% else %}
{% set blog_url = '/blog/' %} {% set blog_url = '/' %}
{% endif %} {% endif %}
<header class="header white"> <header class="header white">

Loading…
Cancel
Save