added new features

This commit is contained in:
agusmakmun
2016-06-11 03:16:04 +07:00
parent 2b3a8775d9
commit c93580f192
14 changed files with 146 additions and 65 deletions

View File

@@ -91,7 +91,15 @@
<link rel="stylesheet" href="/static/css/main.css">
<!-- Google Analytics -->
{% include analytics.html %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
@@ -105,7 +113,13 @@
</div>
{% endif %}
{% include social_links.html %}
<div class="social">
<ul>
{% for link in site.social %}
<li><a href="{{ link.link }}" target="_blank"><i class="fa {{ link.icon }}"></i></a></li>
{% endfor %}
</ul>
</div>
<div class="search" id="js-search">
<input type="text" placeholder="(sitemap)~$ type to search" class="search__input form-control" id="js-search__input">
@@ -114,9 +128,9 @@
<hr />
<strong>Navigation</strong><br />
&raquo; <a href="/">Home</a> <br />
&nbsp;&raquo; <a href="/">Home</a> <br />
{% for i in site.urls %}
&raquo; <a class="about" href="{{ i.url }}">{{ i.text }}</a><br />
&nbsp;&raquo; <a class="about" href="{{ i.url }}">{{ i.text }}</a><br />
{% endfor %}
</div>

View File

@@ -33,14 +33,14 @@ layout: default
{% endif %}
{% endfor %}
{% if p_url == nil %}{% assign p_url = i.url %}{% endif %}
{% if p_url %}<a href="{{ p_url }}">{% endif %}
{% if p_url %}<a class="project-detail" href="{{ p_url }}">{% endif %}
<h3 class="project-headlines">{{ i.name }}</h3>
{% if p_url %} </a> {% endif %}
<div class="project-content">
<div class="tag-holder">
{% if i.tags %}
{% for j in i.tags %}
<span class="tags tag-filter" data-tag="{{ j | downcase }}"><a href="#">{{ j }}</a></span>
<span class="tags tag-filter" data-tag="{{ j | downcase }}"><a href="#{{ j }}">{{ j }}</a></span>
{% endfor %}
{% endif %}
</div>
@@ -48,7 +48,7 @@ layout: default
</div>
<div class="project-footer">
{% if i.url %}
<a href="{{ i.url }}" class="project-link">View</a>
<a href="{{ i.url }}" class="project-link" target="_blank"><i class="fa fa-globe"></i> View</a>
{% endif %}
<span class="project-timeline">{{ i.date }}</span>
</div>