-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Luís Ferreira <lsferreira169@gmail.com>
- Loading branch information
Showing
11 changed files
with
179 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
--- | ||
layout: default | ||
permalink: /404.html | ||
--- | ||
|
||
<style type="text/css" media="screen"> | ||
.container { | ||
margin: 10px auto; | ||
max-width: 600px; | ||
text-align: center; | ||
} | ||
h1 { | ||
margin: 30px 0; | ||
font-size: 4em; | ||
line-height: 1; | ||
letter-spacing: -1px; | ||
} | ||
.container { | ||
margin: 10px auto; | ||
max-width: 600px; | ||
text-align: center; | ||
} | ||
h1 { | ||
margin: 30px 0; | ||
font-size: 4em; | ||
line-height: 1; | ||
letter-spacing: -1px; | ||
} | ||
</style> | ||
|
||
<div class="container"> | ||
<h1>404</h1> | ||
<div class="center container"> | ||
<h1>404</h1> | ||
|
||
<p><strong>Page not found :(</strong></p> | ||
<p>The requested page could not be found.</p> | ||
<p><strong>Page not found :(</strong></p> | ||
<p>The requested page could not be found.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
<!doctype html> | ||
<html class="no-js" lang="en"> | ||
{% include bootstrap.html %} | ||
|
||
<body> | ||
{% include header.html %} | ||
<div class="container"> | ||
{{ content }} | ||
</div> | ||
{% include footer.html %} | ||
{{ content }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,71 @@ | ||
--- | ||
layout: default | ||
layout: simple | ||
--- | ||
|
||
<div class="home"> | ||
{{ content }} | ||
{% unless page.content_after %} | ||
{{ content }} | ||
{% endunless %} | ||
|
||
{% if site.posts.size > 0 %} | ||
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2> | ||
<ul class="post-list"> | ||
{% for post in site.posts %} | ||
<li> | ||
{% assign date_format = site.fuzzy.date_format | default: "%b %-d, %Y" %} | ||
<span class="post-meta">{{ post.date | date: date_format }}</span> | ||
<h3> | ||
<a class="post-link" href="{{ post.url | relative_url }}"> | ||
{{ post.title | escape }} | ||
</a> | ||
</h3> | ||
{% if site.show_excerpts %} | ||
{{ post.excerpt }} | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% if site.posts.size > 0 %} | ||
<div class="col s12" id="cards"> | ||
<div class="section no-pad-bot"> | ||
<div class="container" id="greetings"> | ||
<div class="row center"> | ||
<h4 class="header col s12 light">{{ page.list_title | default: "Posts" }}</h4> | ||
{%- if page.list_subtitle -%} | ||
<p class="light grey-text">{{ page.list_subtitle | escape }}</p> | ||
{%- endif -%} | ||
</div> | ||
</div> | ||
</div> | ||
<ul class="post-list"> | ||
{% for post in site.posts %} | ||
<li> | ||
<div class="card grey lighten-5"> | ||
<div class="card-content"> | ||
{% assign date_format = site.fuzzy.date_format | default: "%b %-d, %Y" %} | ||
<span class="card-title"> | ||
<a class="post-link" href="{{ post.url | relative_url }}"> | ||
{{ post.title | escape }} | ||
</a> | ||
</span> | ||
{% if site.show_excerpts %} | ||
{{ post.excerpt }} | ||
{% endif %} | ||
</div> | ||
<div class="card-action"> | ||
<span class="post-meta">{{ post.date | date: date_format }}</span> | ||
{% if site.disqus_shortname %} | ||
<span class="post-meta right"><a data-disqus-identifier="{{post.url}}"></a></span> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
|
||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> | ||
{% endif %} | ||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> | ||
</div> | ||
{% endif %} | ||
|
||
{% if page.content_after and page.content_after==true %} | ||
{{ content }} | ||
{% endif %} | ||
{% if site.disqus_shortname %} | ||
<script type="text/javascript"> | ||
var disqus_shortname = "{{ site.disqus_shortname }}"; | ||
|
||
{% if jekyll.environment == "development" %} | ||
var disqus_developer = 1; | ||
{% endif %} | ||
|
||
(function () { | ||
var s = document.createElement('script'); s.async = true; | ||
s.type = 'text/javascript'; | ||
s.src = 'https://' + disqus_shortname + '.disqus.com/count.js'; | ||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); | ||
}()); | ||
</script> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
layout: simple | ||
--- | ||
<article class="post"> | ||
<header class="post-header"> | ||
<div class="section no-pad-bot"> | ||
<div class="container" id="greetings"> | ||
<div class="row center"> | ||
<h3 class="header col s12 light">{{ page.page_title | default: page.title | escape }}</h3> | ||
{%- if page.subtitle -%} | ||
<h5 class="light grey-text">{{ page.subtitle | escape }}</h5> | ||
{%- endif -%} | ||
</div> | ||
</div> | ||
</div> | ||
</header> | ||
|
||
<div class="col s12" id="cards"> | ||
<div class="card"> | ||
<div class="card-content"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
{% if page.comments and site.disqus_shortname %} | ||
<div class="card"> | ||
<div class="card-content"> | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
var disqus_shortname = "{{ site.disqus_shortname }}"; | ||
{% if jekyll.environment == "development" %} | ||
var disqus_developer = 1; | ||
{% endif %} | ||
|
||
var disqus_identifier = "{{ page.url }}"; | ||
|
||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!doctype html> | ||
<html class="no-js" lang="en"> | ||
{% include bootstrap.html %} | ||
|
||
<body> | ||
{% include header.html %} | ||
<div class="container"> | ||
{{ content }} | ||
</div> | ||
{% include footer.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: post | ||
title: "Some articles are just so short that we have to make the footer stick" | ||
subtitle: "Some subtitle substuff... cheese" | ||
categories: misc | ||
comments: true | ||
--- | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters