Update Base Url

This commit is contained in:
agusmakmun
2016-04-19 02:07:11 +07:00
parent dfad3e0326
commit f5bdaad527
3 changed files with 9 additions and 10 deletions

View File

@@ -6,7 +6,6 @@ about: I am freelance developer. Currently doing more in backend, actually in Py
urls: urls:
- text: github - text: github
url: https://github.com/agusmakmun url: https://github.com/agusmakmun
baseurl: '/agusmakmun.github.io' paginate: 20
paginate: 1 per_page: 20
per_page: 1
paginate_path: "/page:num/" paginate_path: "/page:num/"

View File

@@ -8,16 +8,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- syntax highlighting CSS --> <!-- syntax highlighting CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}/css/syntax.css"> <link rel="stylesheet" href="/css/syntax.css">
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
<link href="{{ site.baseurl }}/css/bootstrap.min.css" rel="stylesheet"> <link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Fonts --> <!-- Fonts -->
<link href="//fonts.googleapis.com/css?family=Roboto+Condensed:400,300italic,300,400italic,700&amp;subset=latin,latin-ext" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Roboto+Condensed:400,300italic,300,400italic,700&amp;subset=latin,latin-ext" rel="stylesheet" type="text/css">
<!-- Custom CSS --> <!-- Custom CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css"> <link rel="stylesheet" href="/css/main.css">
</head> </head>
<body> <body>
@@ -25,7 +25,7 @@
<div class="container"> <div class="container">
<div class="col-sm-3"> <div class="col-sm-3">
<img id="about" src="{{ site.baseurl }}/img/avatar.jpg" height="75px" width="75px" /> <img id="about" src="/img/avatar.jpg" height="75px" width="75px" />
<h1 class="author-name">{{ site.name }}</h1> <h1 class="author-name">{{ site.name }}</h1>
{% if site.about %} {% if site.about %}
<div id="about"> <div id="about">
@@ -34,7 +34,7 @@
{% endif %} {% endif %}
<hr /> <hr />
<strong>Navigation</strong><br /> <strong>Navigation</strong><br />
&raquo; <a href="{{ site.baseurl }}/">home</a> <br /> &raquo; <a href="/">home</a> <br />
{% for i in site.urls %} {% for i in site.urls %}
&raquo; <a class="about" href="{{ i.url }}">{{ i.text }}</a><br /> &raquo; <a class="about" href="{{ i.url }}">{{ i.text }}</a><br />
{% endfor %} {% endfor %}
@@ -57,7 +57,7 @@
<!-- Bootstrap core JavaScript <!-- Bootstrap core JavaScript
================================================== --> ================================================== -->
<!-- Placed at the end of the document so the pages load faster --> <!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script> <script src="js/bootstrap.min.js"></script>
</body> </body>
</html> </html>

View File

@@ -6,7 +6,7 @@ layout: default
<h1>Our Stack Problems</h1> <h1>Our Stack Problems</h1>
<ol class="posts"> <ol class="posts">
{% for post in site.posts %} {% for post in site.posts %}
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li> <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %} {% endfor %}
</ol> </ol>