Source of the IIIF demos site (showcase.iiif.io)
-
bundle install
-
Run
$ .bundle exec jekyll serve --watch --drafts
to compile the site and run a dev server on http://localhost:4000.
This is tied to a commit to the master branch. If travis passes all of its tests it should deploy automatically.
- Much of the site data is in the YAML files in
_data/
make edits there. - Site level variables are set in
_config.yml
.
- Add an entry to the YAML file under
source/_data/showcase.yml
with the following format:
- name: Example Project
id: example-project
img_url: img/showcase/example-project.png
desc:
- >
Brief (max. ~30-50 words) description of your project here.
url: /showcase/example-project.html
- Add a file
example-project.html
to thesource/showcase
directory with the following content (adapted as necessary):
---
title: "Showcase : Example Project"
id: example-project
categories: [pages]
layout: sub-page
---
<section class="showcase showcase-item wrapper">
{% include showcase_return.html %}
<iframe src="https://example-project.com" frameborder="0"></iframe>
{% assign id = "example-project" %}
{% include sub-showcase_md.html %}
</section>
- Create a 500 x 500 pixel PNG (or JPEG or GIF) image named
example-project.png
that represents "Example Project" and add it to thesource/img/showcase
directory.