Github page clones from TETRIS-2000 repositionnary

This commit is contained in:
adrienmalin
2018-08-21 12:49:26 +02:00
parent 591847e876
commit ffb2001a21
201 changed files with 21457 additions and 3073 deletions

37
_layouts/home.html Normal file
View File

@ -0,0 +1,37 @@
---
layout: page
---
<img src="https://github.com/adrienmalin/Tetris-2000/raw/gh-pages/screenshots/Tetris2000.png"/>
{% for post in site.posts limit:10 %}
<h2 class="post-title">
<a href="{{ post.url | relative_url }}">
{{ post.title }}
</a>
</h2>
<div class="post-meta">
<div class="post-time">
<i class="fa fa-calendar-alt"></i>
<time datetime='{{ post.date | date: "%Y-%m-%d" }}'>{{ post.date | date_to_string }}</time>
</div>
<ul>
{% for tag in post.tags %}
<li><a href="{{'/tag/' | append: tag | relative_url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
<div class="post-descr">
<p>
{{ post.description }}
</p>
</div>
{% endfor %}
<div class="post-footer">
<div class="column-full">
<h3><a href="{{ '/archive.html' | relative_url }}">Blog archive</a></h3>
</div>
</div>

21
_layouts/page.html Normal file
View File

@ -0,0 +1,21 @@
{% include header.html %}
<div class="wrapper">
<div class="content">
<div class="container container-center">
<div class="row">
<div class="col-md-8 offset-md-1">
<div class="card">
{{ content }}
</div>
</div>
<div class="col-md-3 hidden-xs">
{% include sidebar.html %}
</div>
</div>
</div>
</div>
{% include footer.html %}
</div>
</body>
</html>

47
_layouts/post.html Normal file
View File

@ -0,0 +1,47 @@
{% include header.html %}
<div class="wrapper">
<div class="content">
<div class="container container-center">
<div class="row">
<div class="col-md-8 offset-md-1">
<div class="article">
<div class="card">
<h1><a href="{{ page.url | relative_url }}">{{ page.title }}</a></h1>
<div class="post-meta">
<div class="post-time">
<i class="fa fa-calendar-alt"></i>
<time>{{ page.date | date_to_string }}</time>
</div>
<ul>
{% for tag in page.tags %}
<li><a href="{{ '/tag/' | append: tag | relative_url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
<div class="post-content">
{% if page.toc %}
{% include toc.html html=content class='toc' %}
{% endif %}
{{ content }}
{% include share.html %}
</div>
{% if page.comments %}
<div id="disqus_thread">
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
{% endif %}
</div>
</div>
</div>
<div class="col-md-3 hidden-xs">
{% include sidebar.html %}
</div>
</div>
</div>
{% include disqus-comments.html %}
</div>
{% include footer.html %}
</div>
</body>
</html>

22
_layouts/tag_index.html Normal file
View File

@ -0,0 +1,22 @@
---
layout: page
---
<div class="page-content wc-container">
<div class="post">
<h2 class="post_title">{{page.title}}</h2>
<ul>
{% for post in site.posts %}
{% for tag in post.tags %}
{% if tag == page.tag %}
<li class="archive_list">
<time>{{ post.date | date_to_string }}</time>
<a class="archive_list_article_link" href='{{ post.url | relative_url }}'>{{post.title}}</a>
<p>{{post.description}}</p>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
</div>
</div>