|
|
- ---
- layout: page
- title: Beautiful Jekyll
- subtitle: Build a beautiful and simple website in minutes
- fb-img: "http://deanattali.com/img/blog/beautiful-jekyll.png"
- ---
-
- <div class="main-explain-area jumbotron">
- <p>This website is powered by GitHub Pages/Jekyll and can be built in <strong>under 5 minutes</strong>. Literally.</p>
- <p>Head over to <a href="https://github.com/daattali/beautiful-jekyll#readme">the GitHub project</a>
- to get started.</p>
- <div class="get-started-wrap">
- <a class="btn btn-success btn-lg get-started-btn" href="https://github.com/daattali/beautiful-jekyll#readme">Get Started!</a>
- </div>
- <p>This template was designed to look great on both desktops and smaller (mobile) devices.</p>
- <p>Below are sample blog posts for illustration purposes.</p>
- <p>If you like this theme, please consider supporting me :)</p>
- <p align="center">
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EG5Q5483TTWCN">
- <img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" />
- </a>
- </p>
- </div>
-
- <div class="posts-list">
- {% for post in paginator.posts %}
- <article class="post-preview">
- <a href="{{ post.url | prepend: site.baseurl }}">
- <h2 class="post-title">{{ post.title }}</h2>
-
- {% if post.subtitle %}
- <h3 class="post-subtitle">
- {{ post.subtitle }}
- </h3>
- {% endif %}
- </a>
-
- <p class="post-meta">
- Posted on {{ post.date | date: "%B %-d, %Y" }}
- </p>
-
- <div class="post-entry">
- {{ post.content | truncatewords: 50 | strip_html | xml_escape}}
- <a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">Read More</a>
- </div>
-
- </article>
- {% endfor %}
- </div>
-
- {% if paginator.total_pages > 1 %}
- <ul class="pager main-pager">
- {% if paginator.previous_page %}
- <li class="previous">
- <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← Newer Posts</a>
- </li>
- {% endif %}
- {% if paginator.next_page %}
- <li class="next">
- <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts →</a>
- </li>
- {% endif %}
- </ul>
- {% endif %}
|