Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
main_baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Apr 28, 2020
1 parent 0c72e68 commit ab37a6a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion _config-sub.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
baseurl: /help
baseurl: /help
main_baseurl: ''
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ highlighter: none
permalink: pretty
encoding: utf-8
port: 4009
main_baseurl: https://bitwarden.com

sass:
style: compressed
Expand Down
2 changes: 1 addition & 1 deletion _includes/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h3 class="panel-title"><i class="fa fa-envelope-o"></i> Email Us</h3>
</div>
<div class="panel-body">
<p>Want to talk to a human?</p>
<a href="https://bitwarden.com/contact/" onclick="gaEvent('Talk To Human')">
<a href="{{site.main_baseurl}}/contact/" onclick="gaEvent('Talk To Human')">
<i class="fa fa-long-arrow-right"></i>
Send Us An Email
</a>
Expand Down
22 changes: 11 additions & 11 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://bitwarden.com" onclick="gaEvent('Nav Logo')">
<a class="navbar-brand" href="{{site.main_baseurl}}/" onclick="gaEvent('Nav Logo')">
<i class="fa fa-shield"></i>
<span class="visible-xs-inline"><strong>bit</strong>warden</span>
</a>
Expand All @@ -46,11 +46,11 @@
<ul class="nav navbar-nav">
<li><a href="{{site.baseurl}}/">Help Center</a></li>
<li><a href="https://community.bitwarden.com/">Forums</a></li>
<li><a href="https://bitwarden.com/contact/">Contact Us</a></li>
<li><a href="{{site.main_baseurl}}/contact/">Contact Us</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://bitwarden.com" onclick="gaEvent('Return')">
<a href="{{site.main_baseurl}}/" onclick="gaEvent('Return')">
<i class="fa fa-share fa-flip-horizontal fa-fw"></i> Return to bitwarden.com
</a>
</li>
Expand Down Expand Up @@ -85,26 +85,26 @@
<div class="col-sm-4 col-xs-6">
<h4>Links</h4>
<ul class="list-unstyled">
<li><a href="https://bitwarden.com">Home</a></li>
<li><a href="https://bitwarden.com/#download">Download</a></li>
<li><a href="https://bitwarden.com/careers/">Careers</a></li>
<li><a href="https://bitwarden.com/contact/">Contact Us</a></li>
<li><a href="https://bitwarden.com/credits/">Credits</a></li>
<li><a href="{{site.main_baseurl}}/">Home</a></li>
<li><a href="{{site.main_baseurl}}/#download">Download</a></li>
<li><a href="{{site.main_baseurl}}/careers/">Careers</a></li>
<li><a href="{{site.main_baseurl}}/contact/">Contact Us</a></li>
<li><a href="{{site.main_baseurl}}/credits/">Credits</a></li>
</ul>
</div>
<div class="col-sm-4 col-xs-6">
<h4 class="invisible">&nbsp;</h4>
<ul class="list-unstyled">
<li><a href="https://blog.bitwarden.com" onclick="gaEvent('Footer Blog')">Blog</a></li>
<li><a href="{{site.main_baseurl}}/blog" onclick="gaEvent('Footer Blog')">Blog</a></li>
<li>
<a href="https://community.bitwarden.com" target="_blank" rel="noopener"
onclick="gaEvent('Footer Forums')">
Community Forums
</a>
</li>
<li><a href="{{site.baseurl}}/">Help/Support</a></li>
<li><a href="https://bitwarden.com/terms/">Terms of Service</a></li>
<li><a href="https://bitwarden.com/privacy/">Privacy Policy</a></li>
<li><a href="{{site.main_baseurl}}/terms/">Terms of Service</a></li>
<li><a href="{{site.main_baseurl}}/privacy/">Privacy Policy</a></li>
</ul>
</div>
<div class="col-sm-4 col-xs-12 social">
Expand Down

0 comments on commit ab37a6a

Please sign in to comment.