Skip to content

Commit

Permalink
Refactor nav, content, footer conditions (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Jain authored Nov 22, 2019
1 parent a9a5fe4 commit 525c048
Show file tree
Hide file tree
Showing 44 changed files with 67 additions and 74 deletions.
2 changes: 1 addition & 1 deletion 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /404.html
title: Not Found
ref: "404"
en-only: true
---

# 404
Expand Down
46 changes: 19 additions & 27 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,39 +67,31 @@

<body class="home page-template-default page page-id-6 custom-background">

<!--Select includes/main_nav according to page lang or absence of lang-->
{% if page.lang == "en" or page.ref == "blog" or page.ref == "404" %}
<!--Select includes/main_nav according to page lang or absence of lang-->
{% if page.lang == "en" or page.en-only %}
{% include main_nav.html %}
{% else %}
{% else %}
{% include main_nav_tr.html %}
{% endif %}


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

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

<div class="outter">
{% if page.ref == "index" %}
{% if page.lang == "en" %}
{% include homepage_content.html %}
{% 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>

{% include homepage_content_tr.html %}
{% endif %}
{% else %}
{{ content }}
{% endif %}
</div>

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


<!-- Matomo -->
Expand Down
2 changes: 1 addition & 1 deletion _posts/2014-08-21-bitsquare-arbitration-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: The Bitsquare arbitration system
author: Manfred Karrer
ref: blog
en-only: true
---
A video going into the details of the Arbitration system for Bitsquare:

Expand Down
2 changes: 1 addition & 1 deletion _posts/2014-08-21-bitsquare-protection-mechanisms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Bitsquare protection mechanisms
author: Manfred Karrer
ref: blog
en-only: true
---
A video going into the details of the Protection Mechanisms system for Bitsquare:

Expand Down
2 changes: 1 addition & 1 deletion _posts/2014-10-26-bitsquare-website-updated.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Bitsquare Website Updated
author: Lloyd Johnson
ref: blog
en-only: true
---
As the Bitsquare Application comes closer to a public Alpha we have been working hard towards updating the Bitsquare website too. The new website went live as of October 26, 2014.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2014-12-02-concept-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Concept overview
author: Lloyd Johnson
ref: blog
en-only: true
---
This video gives a basic overview about the concept behind Bitsquare:

Expand Down
2 changes: 1 addition & 1 deletion _posts/2014-12-04-software-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Software demo
author: Manfred Karrer
ref: blog
en-only: true
---
This video gives an overview about the application and guided through the trade process:

Expand Down
2 changes: 1 addition & 1 deletion _posts/2014-12-16-bitsquare-now-in-alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: "Bitsquare: Now in Alpha"
author: Chris Beams
ref: blog
en-only: true
---
After many months of research and development, we're excited to announce the release of [Bitsquare v0.1][1]. This marks the beginning of our alpha phase and the first major milestone on the road to a fully-functional Bitsquare v1.0.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: "Why decentralisation is essential for bitcoin's utility as money"
author: Manfred Karrer
ref: blog
en-only: true
---
There was recently an important incident in the bitcoin space.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-01-22-reality-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Reality check
author: Manfred Karrer
ref: blog
en-only: true
---
We are glad to announce that we have started our new approach to iteratively fund the development of our project using [Lighthouse][1]. Please find all details about our campaign at the crowdfunding[2] section on our webpage.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-02-10-crowdfunding-campaign-conclusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Crowdfunding campaign conclusion
author: Richard Myers
ref: blog
en-only: true
---

The Bitsquare crowdfunding[1] campaign has ended without reaching our funding goal. We are disappointed, but also proud and encouraged by the amount of the support we did receive. The enthusiasm we have seen from the community confirms we are on the right track and fuels our own passion to make Bitsquare a reality.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-03-12-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Update
author: Manfred Karrer
ref: blog
en-only: true
---
I wanted to give a short update about the project state as things have changed a bit since the last Blog post.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Bitsquare v0.4 (payment methods and arbitration system)"
author: Manfred Karrer
redirect_from: /blog/bitsquare-v0-4-payment-methods-and-arbitrtion-system
ref: blog
en-only: true
---
Development update for verion 0.4 including a demonstration of the payment methods and the arbitration system:

Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-06-18-development-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Development update
author: Manfred Karrer
ref: blog
en-only: true
---
It was a bit quiet here the last months, but there was going on a lot on the development front.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-07-25-killer-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Killer apps
author: Manfred Karrer
ref: blog
en-only: true
---
Regardless of what you think or whatever you got presented by the media regarding the [Greek crisis][1], I think many of you will agree, that our current political system is in need for a drastic improvement to say the least.
Depending on the interpretation of the severity of the problem one might come to the conclusion that our political, economic and financial system is just **too broken to get fixed**.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-08-10-new-team-members.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: New team members
author: Manfred Karrer
ref: blog
en-only: true
---
Good news! Bitsquare is expanding: **Amanda Johnson** and **Mihail Mihaylov** were delighted to join our team.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: The Problem with Crypto Governance is Power
author: Manfred Karrer
ref: blog
en-only: true
---
The really interesting problem in the recent Bitcoin crisis is not the block size debate. Nearly everyone [agrees][1] that there is need for a solution, but the consensus ends there. The form that the solution should take – and even the urgency of the problem itself – are still both hotly debated.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-10-06-new-p2p-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: New P2P network
author: Manfred Karrer
ref: blog
en-only: true
---
Some of you might ask what causes the delay of the beta release which was planned for that summer.
The reason for the delay is a change in a fundamental part of the application – **the P2P network**.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2016-04-27-beta-version-launched.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Beta version launched
author: Manfred Karrer
ref: blog
en-only: true
---
A big day for Bitsquare – we have launched our [Beta version][1]!

Expand Down
2 changes: 1 addition & 1 deletion _posts/2016-08-05-exploring-the-new-territory.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: Exploring the new territory
author: Manfred Karrer
redirect_from: /blog/explorering-the-new-territory
ref: blog
en-only: true
---
With the recent [Bitfinex heist][1] models for decentralized exchanges have received a bit more attention as usual.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2017-01-12-bitsquare-is-rebranding.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Bitsquare is rebranding
author: Mihail Mihaylov
ref: blog
en-only: true
---
Bitsquare has always been proud to say it is not a startup or a company, but a free open-source community project. It is being **developed without venture capital** or any other form of external funding, but with personal savings and donations from the community it serves.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2017-02-22-outcome-of-rebranding-bounty.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Outcome of Rebranding Bounty
author: Manfred Karrer
ref: blog
en-only: true
---
### TL;DR
<!--more-->
Expand Down
2 changes: 1 addition & 1 deletion _posts/2017-03-06-bitsquare-becomes-bisq.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Bitsquare becomes Bisq
author: Manfred Karrer
ref: blog
en-only: true
---
We [announced](/blog/bitsquare-is-rebranding/) a while ago that we started rebranding as a result of trademark conflicts.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2017-03-29-privacy-in-bitsquare.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Privacy in Bisq
author: Manfred Karrer
ref: blog
en-only: true
---
To write a blog post about privacy in Bisq has been already a long time on my TODO list.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2017-07-20-the-bisq-dao-manifesto.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: The Bisq DAO manifesto
author: Mats-Erik Pistol
redirect_from:
- /blog/the-bisq-dao--manifesto
ref: blog
en-only: true
---

The Bisq DAO is a DAO that has been carefully designed to be stable against perturbations, such as majority attacks, scams and forks. The aim has been avoid any central points of failure or control and it is thus autonomous. It follows a general idea of DAOs, being based on network effects, modifiable computer programs and economic incentives. The Bisq DAO "controls" Bisq itself which is a p2p trading platform. The Bisq DAO has certain defining characteristics at its beginning, that we describe below:
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-07-04-bisq-v0-7-1-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Bisq v0.7.1 released
author: Chris Beams
ref: blog
en-only: true
---

Bisq version 0.7.1 has been released. We recommend all users update immediately.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-12-13-bisq-dao-now-on-testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Bisq DAO now on testnet
author: Steve Jain
ref: blog
en-only: true
---

Bisq v0.9 is one of the biggest updates to Bisq ever: it brings the Bisq DAO to testnet, as well as a striking new visual design (among a host of other improvements and bug fixes).
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-02-18-bisq-dao-for-bitcoin-maximalists.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: Bisq DAO for Bitcoin Maximalists
author: Steve Jain
excerpt: "Let's cut to the chase: the Bisq DAO is built on the Bitcoin network, and the BSQ token is just colored bitcoin.<br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-02-25-an-overview-of-the-bisq-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: An Overview of the Bisq Network
author: Aruna Surya
excerpt: If you are into cryptocurrencies, you may be interested in Bisq, a decentralized exchange that enables you to trade bitcoin for fiat currencies and other cryptocurrencies. Unlike centralized exchanges, you preserve your privacy when trading on Bisq since there is no need for registration or approval from any central authorities. In this post, I will give you an overview of the Bisq software and the Bisq network.<br><br>
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-03-06-how-to-earn-bsq.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: How to Earn BSQ by Contributing to Bisq
author: John Forsyth
excerpt: Bisq is an open-source software project, but it has a built-in revenue model to compensate its contributors—and anyone is welcome to contribute!<br><br>
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-03-13-dao-benefits-funding.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Benefits of the Bisq DAO, Part I: Funding FLOSS & Avoiding Surveillance Capitalism"
author: Steve Jain
excerpt: "The Bisq DAO enables value transfer and decision-making for the Bisq network. But it has several additional benefits too, which we'll focus on in this series.<br><br>In this post, Part I of this series, we'll discuss how Bisq's revenue model offers a new approach to funding open-source software development that, by design, avoids incentives to exploit user privacy altogether.<br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-03-22-how-to-set-up-bitcoin-regtest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "How to Set Up a Bitcoin Regtest Environment"
author: Tomáš Kanócz
excerpt: "In this post, Tomáš shows you how to set up your very own Bitcoin regtest environment with bitcoin-qt and make your own blocks! <br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-03-29-max-hillebrand-interview-privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Privacy Best Practices & Bisq: An Interview with Max Hillebrand"
author: Ricardo Martinez
excerpt: "Ricardo Martinez interviews Max Hillebrand of the World Crypto Network. They discuss privacy in general, privacy with respect to bitcoin, privacy with respect to Bisq, and more. <br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-04-08-why-aruna-surya.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Why I Am a Bisq Contributor: Aruna Surya"
author: Aruna Surya
excerpt: "Aruna Surya discusses her experience with being a Bisq contributor—why she started contributing, why she continues contributing, and how there's still a lot to like for a non-technical person with diverging interests. <br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-04-17-dao-launch-third-anniversary.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Bisq DAO Launches with Bisq v1.0"
author: Steve Jain
excerpt: "After years in the making, the Bisq DAO has launched on mainnet with the v1.0 release of the Bisq software, just days before Bisq celebrates 3 years in production. <br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Why Some Bitcoin Companies Go Rogue: An Interview with Janine from Block Digest"
author: Ricardo Martinez
excerpt: "Ricardo Martinez interviews Janine of Block Digest. They discuss a peculiar phenomenon—the tendency for people and companies made successful by Bitcoin to turn against Bitcoin—and why it happens.<br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-05-16-let-the-dao-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Time for the DAO to take over"
author: Manfred Karrer
excerpt: "With the DAO in place Bisq has to evolve its organisational structure without its founders. The departure of the founders was planned from the very beginning. Now it is time to fulfill that plan.<br><br>"
ref: blog
en-only: true
---

Dear Bisq community,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "Bitcoin and the Store of Value Narrative"
author: Manuel Polavieja
excerpt: "Manuel posits that Bitcoin's value cannot be explained with a store-of-value approach. <br><br>"
ref: blog
en-only: true
---

<hr>
Expand Down
Loading

0 comments on commit 525c048

Please sign in to comment.