This commit is contained in:
Dirk Uys 2014-06-26 01:28:35 -03:00
Родитель c5d9620d88
Коммит 7e5c2d37ea
7 изменённых файлов: 54 добавлений и 35 удалений

Просмотреть файл

@ -1 +1,5 @@
title: A Jekyll course experiment
signups:
- name: The great unknown
image: https://pbs.twimg.com/profile_images/1728864434/p2pu-twitter-square_400x400.png
twitter: p2pu

Просмотреть файл

@ -28,7 +28,7 @@
<link rel="stylesheet" href="{{ site.baseurl }}/css/style.css" />
<!--<link rel="stylesheet" href="{{site.baseurl}}/css/site.css">-->
<link rel="stylesheet" href="{{site.baseurl}}/css/site.css">
<!--[if lte IE 8]><link rel="stylesheet" href="{{site.baseurl}}/css/ie/v8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="{{site.baseurl}}/css/ie/v9.css" /><![endif]-->
<script type="text/javascript" src="{{ site.baseurl }}/js/modernizr-2.6.2.min.js"></script>
@ -37,24 +37,17 @@
{% include navigation.html %}
{% if page.url == '/index.html' %}
{% include banner.html %}
{% endif %}
{{ content }}
{% include footer.html %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<!-- Google Analytics -->
{% if site.ga_tracking_code %}
{% include ga.html %}
{% endif %}
</body>
</html>

Просмотреть файл

@ -2,16 +2,7 @@
layout: base
---
<div class="row">
<div class="sidebar span4">
<ul class="nav nav-list">
{% for subpage in site.categories.content reversed %}
<li> <a href="{{site.baseurl}}{{ subpage.url }}">{{subpage.title}}</a></li>
{% endfor %}
</ul>
</div>
<div class="content span8">
<div class="content col-lg-12">
{{ content }}
</div>
</div>

Просмотреть файл

@ -3,18 +3,8 @@ layout: base
---
<div class="row">
<div class="sidebar span4">
<img src="{{site.baseurl}}{{site.data.course.image}}">
<ul class="nav nav-list">
{% for subpage in site.categories.content reversed %}
<li class="{% if subpage.title == page.title %}active{% endif %}" > <a href="{{site.baseurl}}{{ subpage.url }}">{{subpage.title}}</a></li>
{% endfor %}
</ul>
</div>
<div class="content span8">
<div class="content col-lg-12">
{{ content }}
</div>
</div>

Просмотреть файл

@ -1,4 +1,4 @@
.user-image {
.profile-picture {
max-width: 100px;
max-height: 100px;
}

45
index.html Normal file
Просмотреть файл

@ -0,0 +1,45 @@
---
layout: course_about
---
<!-- Banner -->
<section id="banner">
<div class="inner">
<header>
<h2>A Github Course Experiment</h2>
</header>
<p>This is <strong>an experimantal course</strong>, for you<br />
to learn life<br />
by <a href="http://p2pu.org">P2PU</a>.</p>
<!--footer>
<ul class="buttons vertical">
<li><a href="#tell-more" class="btn btn-transparent btn-lg fit scrolly">Tell me
more</a></li>
</ul>
</footer-->
</div>
</section>
<div class="container">
<div class="row">
<h2>What is this?</h2>
<p>This is an experiment in mixing the creation of a course and the running of a course in a way that would be hard to distinguish using Github pages</p>
<p>Things you may learn includes creating a site using Jekyll and GitHub pages, Markdown, theories of social learning and most importantly, some other great people!</p>
<h2>Who else is here?</h2>
<ul class="list-inline">
{% for user in site.data.course.signups %}
<li>
<a href="https://twitter.com/{{user.twitter}}">
<img class="img-circle profile-picture" src="{{user.image}}" alt="{{user.name}}">
</a>
</li>
{% endfor %}
</ul>
<h2>How do I sign up?</h2>
<p>To sign up to this course, you need to:</p>
<ol>
<li>Fork this repository on GitHub. You can do so by clicking <a href="https://github.com/p2pu/jekyll-course-experiment/fork">here</a></li>
<li>Next up you need to edit <a href="https://github.com/p2pu/jekyll-course-experiment/blob/gh-pages/_data/course.yml">_data/course.yml</a>. Add your name, image URL and Twitter handle.</li>
<li>Submit a pull request to get your changes merged into the main version of the course and have your mug show up here!</li>
</ol>
</div>
</div>

Просмотреть файл

@ -1,4 +0,0 @@
---
layout: course_about
---
# Your first course