Base for URLs.
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<div>
|
||||
<h4>Navigation</h4>
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/why.html">Why do I need it?</a></li>
|
||||
<li><a href="/what.html">What does it do?</a></li>
|
||||
<li><a href="/how.html">How do I use it?</a></li>
|
||||
<li><a href="{{ site.baseurl }}">Home</a></li>
|
||||
<li><a href="{{ site.baseurl }}/why.html">Why do I need it?</a></li>
|
||||
<li><a href="{{ site.baseurl }}/what.html">What does it do?</a></li>
|
||||
<li><a href="{{ site.baseurl }}/how.html">How do I use it?</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -37,13 +37,13 @@
|
||||
|
||||
<p>
|
||||
Master Password is a security product and algorithm by <a href="http://www.lhunath.com/">Maarten Billemont</a>, Lyndir (© 2011-2018).<br>
|
||||
Usage implies agreement with our <a href="/privacy.html">privacy policy and disclaimer</a>.
|
||||
Usage implies agreement with our <a href="{{ site.baseurl }}/privacy.html">privacy policy and disclaimer</a>.
|
||||
</p>
|
||||
<p><a href="http://guide.bash.academy/">The Bash Guide</a> ● <a href="http://gorillas.lyndir.com">Gorillas</a> ● <a href="https://github.com/Lyndir">GitHub</a> ● <a href="http://thanks.lhunath.com">Send Thanks</a></p>
|
||||
|
||||
</footer>
|
||||
|
||||
<script src="/js/jquery-3.3.1.min.js"></script>
|
||||
<script src="/js/jquery.paroller.min.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="{{ site.baseurl }}/js/jquery-3.3.1.min.js"></script>
|
||||
<script src="{{ site.baseurl }}/js/jquery.paroller.min.js"></script>
|
||||
<script src="{{ site.baseurl }}/js/main.js"></script>
|
||||
|
||||
|
@@ -7,9 +7,8 @@
|
||||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
||||
<meta name="apple-itunes-app" content="app-id=510296984" />
|
||||
|
||||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
|
||||
<link rel="shortcut icon" href="img/favicon.png" type="image/x-png" />
|
||||
<link rel="icon" href="img/favicon.png" type="image/x-png" />
|
||||
</head>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<header class="{{ page.header }}">
|
||||
<nav>
|
||||
<a href="/" data-hero="main">Master Password</a>
|
||||
<a href="{{ site.baseurl }}" data-hero="main">Master Password</a>
|
||||
<div class="flex-auto">
|
||||
<a href="https://itunes.apple.com/app/id510296984" data-hero="ios">iOS.</a>
|
||||
<a href="https://ssl.masterpasswordapp.com/masterpassword-android.apk" data-hero="android">Android.</a>
|
||||
@@ -17,8 +17,8 @@
|
||||
<div class="flex-auto"></div>
|
||||
|
||||
<nav>
|
||||
<a href="why.html"{% if page.nav == "why" %} class="active"{% endif %}>Why</a>
|
||||
<a href="what.html"{% if page.nav == "what" %} class="active"{% endif %}>What</a>
|
||||
<a href="how.html"{% if page.nav == "how" %} class="active"{% endif %}>How</a>
|
||||
<a href="{{ site.baseurl }}/why.html"{% if page.nav == "why" %} class="active"{% endif %}>Why</a>
|
||||
<a href="{{ site.baseurl }}/what.html"{% if page.nav == "what" %} class="active"{% endif %}>What</a>
|
||||
<a href="{{ site.baseurl }}/how.html"{% if page.nav == "how" %} class="active"{% endif %}>How</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user