[bisq-network/bisq-website] Fix site headers on blog post pages (#212)

huey735 notifications at github.com
Fri Aug 23 17:02:36 UTC 2019


huey735 approved this pull request.

ACK

I've ran this locally and it works. But can you help me understand how is Jekyll serving the page?

Is it through this lines in _layouts/default.html
```
<!--Select includes/main_nav according to page lang or absence of lang-->
          {% if page.lang == "en" or page.ref == "blog" %}
            {% include main_nav.html %}
          {% else %}
            {% include main_nav_tr.html %}
          {% endif %}


            {% if page.url == '/' %}

                <div class="outter">
                    {% include homepage_content.html %}
                </div>

            {% else %}

                <div class="outter">
<!-- Select includes/homepage_content according to page lang -->
                  {% if page.ref == "index" %}
                    {% include homepage_content_tr.html %}
                  {% else %}
                    {{ content }}
                  {% endif %}
                </div>

            {% endif %}

<!-- Select includes/footer according to page lang -->
              {% if page.lang == "en" or page.ref == "blog" %}
                {% include footer.html %}
              {% else %}
                {% include footer_tr.html %}
              {% endif %}
```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-website/pull/212#pullrequestreview-279116930
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190823/8951f0d7/attachment-0001.html>


More information about the bisq-github mailing list