Added start/end logs for included html layouts and html included files.

This commit is contained in:
Panos Sakkos 2015-10-03 23:17:00 +02:00
parent 3a643b07cc
commit a0ee116695
18 changed files with 122 additions and 62 deletions

View file

@ -1,4 +1,5 @@
<!-- About Section --> <!-- About Start -->
<section id="{{ page.title }}" class="container content-section text-center"> <section id="{{ page.title }}" class="container content-section text-center">
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2"> <div class="col-lg-8 col-lg-offset-2">
@ -6,3 +7,5 @@
</div> </div>
</div> </div>
</section> </section>
<!-- About End -->

View file

@ -1,4 +1,5 @@
<!-- Career Section --> <!-- Career Start -->
<section id="{{ page.title }}" class="container content-section text-center"> <section id="{{ page.title }}" class="container content-section text-center">
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2"> <div class="col-lg-8 col-lg-offset-2">
@ -39,3 +40,5 @@
</div> </div>
</div> </div>
</section> </section>
<!-- Career End -->

View file

@ -1,5 +1,8 @@
<!-- Disqus Comments Start -->
{% if site.disqus-shortname %} {% if site.disqus-shortname %}
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript> <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{% endif %} {% endif %}
<!-- Disqus Comments End -->

View file

@ -1,4 +1,5 @@
<!-- Contact Section --> <!-- Contact Start -->
<section id="{{ page.title }}" class="container content-section text-center"> <section id="{{ page.title }}" class="container content-section text-center">
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2"> <div class="col-lg-8 col-lg-offset-2">
@ -31,3 +32,5 @@
</div> </div>
</div> </div>
</section> </section>
<!-- Contact End -->

View file

@ -1,9 +1,11 @@
<!-- Footer --> <!-- Footer Start -->
<footer>
<div class="container text-center">
<p>Copyright &copy; {{ site.author }} {{ site.time | date: "%Y" }}</p>
</div>
</footer>
<p><br><br><br><br><br><br></p> <footer>
<div class="container text-center">
<p>Copyright &copy; {{ site.author }} {{ site.time | date: "%Y" }}</p>
</div>
</footer>
<p><br><br><br><br><br><br></p>
<!-- Footer End -->

View file

@ -1,36 +1,40 @@
<!-- HEAD Start -->
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ site.description }}"> <meta name="description" content="{{ site.description }}">
<meta name="author" content="{{ site.author }}"> <meta name="author" content="{{ site.author }}">
<meta name="keywords" content="{{ site.keywords }}"> <meta name="keywords" content="{{ site.keywords }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl }}"> <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl }}">
{% assign fourofour = "/404.html"%} {% assign fourofour = "/404.html"%}
{% if page.url == {{fourofour}} | prepend: {{site.baseurl}} %} {% if page.url == {{fourofour}} | prepend: {{site.baseurl}} %}
<meta http-equiv="refresh" content="20; url={{site.baseurl}}/"> <meta http-equiv="refresh" content="20; url={{site.baseurl}}/">
{% endif %} {% endif %}
<title>{{ site.title }} {% if page.title %} | {{ page.title }}{% endif %}</title> <title>{{ site.title }} {% if page.title %} | {{ page.title }}{% endif %}</title>
<!-- Bootstrap Core CSS --> <!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Custom CSS --> <!-- Custom CSS -->
<link href="{{site.baseurl}}/css/grayscale.css" rel="stylesheet"> <link href="{{site.baseurl}}/css/grayscale.css" rel="stylesheet">
<link href="{{site.baseurl}}/css/timeline.css" rel="stylesheet"> <link href="{{site.baseurl}}/css/timeline.css" rel="stylesheet">
<!-- Custom Fonts --> <!-- Custom Fonts -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
{% if site.favicon %} {% if site.favicon %}
<link rel="shortcut icon" type="image/x-icon" href="{{site.baseurl}}{{ site.favicon }}"> <link rel="shortcut icon" type="image/x-icon" href="{{site.baseurl}}{{ site.favicon }}">
{% endif %} {% endif %}
</head> </head>
<!-- HEAD End -->

View file

@ -1,4 +1,5 @@
<!-- Intro Header --> <!-- Intro Start -->
<header class="intro"> <header class="intro">
<div class="intro-body"> <div class="intro-body">
<div class="container"> <div class="container">
@ -15,3 +16,5 @@
</div> </div>
</div> </div>
</header> </header>
<!-- Intro End -->

View file

@ -1,3 +1,5 @@
<!-- Javascript Start -->
<!-- jQuery --> <!-- jQuery -->
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
@ -76,3 +78,5 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
<!-- Javascript End -->

View file

@ -1,4 +1,5 @@
<!-- Blog Section --> <!-- Latest Post Preview Start -->
<section id="{{ page.title }}" class="container content-section text-center"> <section id="{{ page.title }}" class="container content-section text-center">
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2"> <div class="col-lg-8 col-lg-offset-2">
@ -19,3 +20,5 @@
</div> </div>
</div> </div>
</section> </section>
<!-- Latest Post Preview End -->

View file

@ -1,4 +1,5 @@
<!-- Navigation --> <!-- Navigation Start -->
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation"> <nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
@ -20,6 +21,7 @@
<li class="hidden"> <li class="hidden">
<a href="#page-top"></a> <a href="#page-top"></a>
</li> </li>
{% if page.section-type == "index" %} {% if page.section-type == "index" %}
<!-- Scroll to section for each page in index --> <!-- Scroll to section for each page in index -->
@ -47,10 +49,10 @@
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</ul> </ul>
</div> </div>
</div> </div>
</nav> </nav>
<!-- Navigation End -->

View file

@ -1,4 +1,4 @@
<!-- Pagination links --> <!-- Pagination Links Start -->
<div class="pagination"> <div class="pagination">
@ -16,3 +16,5 @@
<h4><a href="{{site.baseurl}}{{ paginator.next_page_path }}" class="next">Older Posts</a></h4> <h4><a href="{{site.baseurl}}{{ paginator.next_page_path }}" class="next">Older Posts</a></h4>
{% endif %} {% endif %}
</div> </div>
<!-- Pagination Links End -->

View file

@ -1,3 +1,5 @@
<!-- Share Buttons Start -->
<div> <div>
{% if site.fb-share %} {% if site.fb-share %}
<div style="float:left; padding: 0 5px; vertical-align:top"> <div style="float:left; padding: 0 5px; vertical-align:top">
@ -20,3 +22,5 @@
</div> </div>
{% endif %} {% endif %}
</div> </div>
<!-- Share Buttons End -->

View file

@ -1,5 +1,9 @@
<!-- Social Buttons Start -->
<ul class="list-inline social-buttons"> <ul class="list-inline social-buttons">
{% for network in site.social %} {% for network in site.social %}
<li><a href="{{site.baseurl}}{{ network.url }}" target="_blank"><i class="fa fa-{{ network.title }} fa-fw"></i></a></li> <li><a href="{{site.baseurl}}{{ network.url }}" target="_blank"><i class="fa fa-{{ network.title }} fa-fw"></i></a></li>
{% endfor %} {% endfor %}
</ul> </ul>
<!-- Social Buttons End -->

View file

@ -1,3 +1,5 @@
<!-- Blog Layout Start -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ site.lang }}"> <html lang="{{ site.lang }}">
@ -37,3 +39,5 @@
</body> </body>
</html> </html>
<!-- Blog Layout End -->

View file

@ -1,3 +1,5 @@
<!-- 404 Layout Start -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ site.lang }}"> <html lang="{{ site.lang }}">
@ -29,3 +31,5 @@
</body> </body>
</html> </html>
<!-- 404 Layout End -->

View file

@ -1,3 +1,5 @@
<!-- Index Layout Start -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ site.lang }}"> <html lang="{{ site.lang }}">
@ -5,35 +7,37 @@
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top"> <body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
{% include navigation.html %} {% include navigation.html %}
{% include header.html %} {% include header.html %}
{% for page in site.pages %} {% for page in site.pages %}
{% if page.section-type == "about" %} {% if page.section-type == "about" %}
{% include about.html %} {% include about.html %}
{% elsif page.section-type == "latest-post" %} {% elsif page.section-type == "latest-post" %}
{% include latest-post.html %} {% include latest-post.html %}
{% elsif page.section-type == "career" %} {% elsif page.section-type == "career" %}
{% include career.html %} {% include career.html %}
{% elsif page.section-type == "contact" %} {% elsif page.section-type == "contact" %}
{% include contact.html %} {% include contact.html %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% include footer.html %} {% include footer.html %}
{% include js.html %} {% include js.html %}
</body> </body>
</html> </html>
<!-- Index Layout End -->

View file

@ -1,3 +1,5 @@
<!-- Post Layout Start -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ site.lang }}"> <html lang="{{ site.lang }}">
@ -44,3 +46,5 @@
</body> </body>
</html> </html>
<!-- Post Layout End -->

View file

@ -1,3 +1,5 @@
<!-- Tag Layout Start -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ site.lang }}"> <html lang="{{ site.lang }}">
@ -44,3 +46,5 @@
</body> </body>
</html> </html>
<!-- Tag Layout End -->