This repository has been archived by the owner on Nov 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1249 from martinosorb/archive-blog
Archive blog
- Loading branch information
Showing
4 changed files
with
37 additions
and
61 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
This file was deleted.
Oops, something went wrong.
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,18 +1,39 @@ | ||
--- | ||
layout: page-fullwidth | ||
title: "Blog" | ||
layout: default | ||
title: "Blog Archive" | ||
permalink: "/blog/" | ||
redirect_from: | ||
- /blog/archives.html | ||
- /blog/archive/index.html | ||
--- | ||
<div class="row"> | ||
<div class="medium-8 columns"> | ||
<h2>Recent Blog Posts</h2> | ||
{% include list-posts entries='30' %} | ||
</div> | ||
<div class="medium-4 columns"> | ||
<h2>Comments</h2> | ||
<div id="recentcomments" class="dsq-widget"> | ||
<script type="text/javascript" src="http://software-carpentry.disqus.com/recent_comments_widget.js?num_items=5&hide_avatars=1&excerpt_length=200"></script> | ||
</div> | ||
<a class="twitter-timeline" href="https://twitter.com/swcarpentry" data-widget-id="410241789077909504">Tweets by @swcarpentry</a> | ||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | ||
<div id="blog-index" class="row"> | ||
<div class="medium-12 columns t30"> | ||
<h1>{{ page.title }}</h1> | ||
<p> | ||
The Software Carpentry blog is no longer updated regularly. | ||
You can find more information about what's happening in our community through | ||
<a href="https://carpentries.org/blog">The Carpentries blog</a>, | ||
a great resource that collates posts from Data Carpentry, | ||
Library Carpentry, and Software Carpentry, and | ||
publishes updates of general interest to the community. | ||
</p> | ||
<p> | ||
This page contains a list of posts from the legacy Software Carpentry blog | ||
for archival purposes. | ||
</p> | ||
{% if page.teaser %}<p class="teaser">{{ page.teaser }}</p>{% endif %} | ||
<dl class="accordion" data-accordion> | ||
{% for post in site.posts %} | ||
<dd class="accordion-navigation"> | ||
<a href="#panel{{ forloop.index }}"><span class="iconfont"></span> {% if post.subheadline %}{{ post.subheadline }} › {% endif %}<strong>{{ post.title }}</strong></a> | ||
<div id="panel{{ forloop.index }}" class="content"> | ||
{{ post.authors | join: ', ' }} / {{ post.date | date: '%Y-%m-%d' }} | ||
<br/> | ||
{% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.teaser %}{{ post.teaser | strip_html | escape }}{% elsif post.excerpt %}{{ post.excerpt | strip_html | escape }}{% endif %} | ||
<a href="{{ site.baseurl }}{{ post.url }}" title="Read {{ post.title | escape_once }}"><strong>{{ site.data.language.read_more }}</strong></a><br><br> | ||
</div> | ||
</dd> | ||
{% endfor %} | ||
</dl> | ||
</div> | ||
</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