Commit 6c710ba0 authored by Jun Matsushita's avatar Jun Matsushita

Allow contributors to be authors

parent 7324098b
......@@ -4,6 +4,33 @@ This is the source code using the Haskell Jekyll clone to generate the iilab.org
## Usage
If the Haskell code is changed:
```
stack build
```
If the templates or content is changed:
```
stack exec site watch
```
## Publish
To publish:
```
cp -R _site ../iilab.org-dist
cd ../iilab.org-dist
git -am commit "blah"
git push
```
To deploy:
```
ssh zeta.iilab.org
cd /opt/iilab
git pull
```
This diff is collapsed.
......@@ -5,6 +5,7 @@ $partial("templates/partials/header.html")$
$partial("templates/partials/home/work.html")$
$partial("templates/partials/home/services.html")$
$partial("templates/partials/home/team.html")$
$partial("templates/partials/home/contributors.html")$
$partial("templates/partials/home/partners.html")$
$partial("templates/partials/home/news.html")$
$partial("templates/partials/home/social.html")$
......
<div class="post format-gallery $post-format$">
<div class="date-wrapper">
<div class="date">
<span class="day">$day$</span>
......@@ -7,19 +7,19 @@
<span class="month">$year$</span>
</div><!-- /.date -->
</div><!-- /.date-wrapper -->
<div class="format-wrapper">
<a href="#owl-work"><i class="icon-picture"></i></a>
</div><!-- /.format-wrapper -->
<div class="post-content">
$if(authors)$
$for(authors)$
<p class="author"><a href="#author" title="Post author" data-rel="tooltip" data-placement="left">$name$</a></p>
<p class="author"><a href="#author" title="Post author" data-rel="tooltip" data-placement="left">$name$</a></p>
$endfor$
$endif$
<h1 class="post-title">$title$</h1>
<ul class="meta">
$if(blog)$
<li class="categories">Blog</li>
......@@ -33,7 +33,7 @@
<!--<li class="comments"><a href="#">24</a></li>
<li class="likes"><a href="#">73</a></li>-->
</ul><!-- /.meta -->
$if(less)$
$less$
$endif$
......@@ -54,22 +54,22 @@
<div class="post-contents">
$more$
</div>
</div><!-- /.post-content -->
</div><!-- /.post -->
$if(authors)$
$for(authors)$
<div id="author" class="post-author">
<figure>
<div class="author-image icon-overlay icn-link">
<a href="#"><img src="/images/persons/$key$.jpg" alt=""></a>
</div>
<figcaption class="author-details">
<h3>$name$ - $title$</h3>
<h3>$name$ $if(staff)$ - $title$ $endif$</h3>
<p>$description$</p>
<ul class="meta">
<!--<li class="author-posts"><a href="#">All posts by $name$</a></li>-->
......@@ -81,8 +81,8 @@
<li><a href="$github$"><i class="icon-s-github"></i></a></li>
</ul><!-- /.social -->
</figcaption>
</figure>
</div><!-- /.post-author -->
$endfor$
$endif$
\ No newline at end of file
</div><!-- /.post-author -->
$endfor$
$endif$
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment