Verified Commit 8129d609 authored by Roberto Bochet's avatar Roberto Bochet
Browse files

adapted layout files to new css

parent c36e3fe0
......@@ -2,15 +2,21 @@
layout: default
---
<div class="course_page">
{% if page.title_image %}
<img src="{{ page.title_image }}" alt="title"/>
{% else %}
<h1 class="postTitle">{{ page.title }}</h1>
{% endif %}
<div class="course-info">
<div class="container">
{% if page.title_image %}
<img src="{{ page.title_image }}" alt="title"/>
{% else %}
<h1 class="postTitle">{{ page.title }}</h1>
{% endif %}
{{content}}
{{content}}
<div class="disclaimer">Iniziativa realizzata con il contributo del Politecnico di Milano</div>
</div>
</div>
<div class="bg-blueish-gray course-schedule">
<h3>Schedule</h3>
<div class="schedule">
......@@ -37,6 +43,4 @@ layout: default
</div>
{% endfor %}
</div>
<div class="disclaimer">Iniziativa realizzata con il contributo del Politecnico di Milano</div>
</div>
\ No newline at end of file
</div>
......@@ -2,7 +2,8 @@
layout: default
---
<div class="home" id="home">
<div>
<div>
<h1 class="pageTitle">{{ page.pagetitle }}</h1>
{{ content }}
</div>
......
---
layout: default
---
<div class="post">
{% if page.image %}
<div class="featuredImage">
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.image }}" alt="" />
</div>
{% endif %}
<h1 class="postTitle">{{ page.title }}</h1>
<p class="meta">{{ page.date | date: '%B %d, %Y' }} | <span class="time">{{ page.content | number_of_words | divided_by:180 | plus: 1 }}</span> Minute Read</p>
{{ content }}
<div>
<div class="container">
{% if page.image %}
<div class="featuredImage">
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.image }}" alt=""/>
</div>
{% endif %}
<h1 class="postTitle">{{ page.title }}</h1>
<p class="meta">{{ page.date | date: '%B %d, %Y' }} | <span class="time">{{ page.content | number_of_words | divided_by:180 | plus: 1 }}</span>
Minute Read</p>
<!-- POST NAVIGATION -->
<div class="postNav clearfix">
{% if page.previous.url %}
<a class="prev{% if page.previous.image %} image{% endif %}" href="{{ page.previous.url | prepend: site.baseurl }}"><span>&laquo;&nbsp;{{ page.previous.title }}</span>
{% if page.previous.image %}
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.previous.image }}" alt="">
{% endif %}
</a>
{% endif %}
{% if page.next.url %}
<a class="next{% if page.next.image %} image{% endif %}" href="{{ page.next.url | prepend: site.baseurl }}"><span>{{ page.next.title }}&nbsp;&raquo;</span>
{% if page.next.image %}
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.next.image }}" alt="">
{% endif %}
</a>
{% endif %}
</div>
</div>
{{ content }}
<!-- POST NAVIGATION -->
<div class="postNav clearfix">
{% if page.previous.url %}
<a class="prev{% if page.previous.image %} image{% endif %}"
href="{{ page.previous.url | prepend: site.baseurl }}"><span>&laquo;&nbsp;{{ page.previous.title }}</span>
{% if page.previous.image %}
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.previous.image }}" alt="">
{% endif %}
</a>
{% endif %}
{% if page.next.url %}
<a class="next{% if page.next.image %} image{% endif %}" href="{{ page.next.url | prepend: site.baseurl }}"><span>{{ page.next.title }}&nbsp;&raquo;</span>
{% if page.next.image %}
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.next.image }}" alt="">
{% endif %}
</a>
{% endif %}
</div>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment