Use new site.config object
This commit is contained in:
parent
8ab2dc84dd
commit
da94d7908e
1 changed files with 5 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{ site.title }} - {% block page_title %}{% endblock %}</title>
|
<title>{{ site.config.title }} - {% block page_title %}{% endblock %}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,300" rel="stylesheet" type="text/css" />
|
<link href="https://fonts.googleapis.com/css?family=Roboto:400,300" rel="stylesheet" type="text/css" />
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="{{ site.base_url }}">
|
<a href="{{ site.config.base_url }}">
|
||||||
<h1>{{ site.title }}</h1>
|
<h1>{{ site.config.title }}</h1>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ site.base_url }}">
|
<a href="{{ site.config.base_url }}">
|
||||||
Home
|
Home
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h5 class="nav-header">Top Tags</h5>
|
<h5 class="nav-header">Top Tags</h5>
|
||||||
<ul>
|
<ul>
|
||||||
{% for tag in site.tags[:5] %}
|
{% for tag in site.tags[:site.config.num_top_tags] %}
|
||||||
<li>
|
<li>
|
||||||
<a href="/tag/{{ tag }}/">
|
<a href="/tag/{{ tag }}/">
|
||||||
<i class="fa fa-tag"></i>
|
<i class="fa fa-tag"></i>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue