Skip to content

Commit

Permalink
Merge pull request #8 from hofstra/as-metadata
Browse files Browse the repository at this point in the history
Fixed project link and logic around missing info
  • Loading branch information
tezcatlipoca authored Oct 18, 2017
2 parents 29f8bff + acc1ffe commit 684253a
Show file tree
Hide file tree
Showing 14 changed files with 271 additions and 12 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages'
220 changes: 220 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.9)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
concurrent-ruby (1.0.5)
ethon (0.10.1)
ffi (>= 1.3.0)
execjs (2.7.0)
faraday (0.13.1)
multipart-post (>= 1.2, < 3)
ffi (1.9.18)
forwardable-extended (2.6.0)
gemoji (3.0.0)
github-pages (163)
activesupport (= 4.2.9)
github-pages-health-check (= 1.3.5)
jekyll (= 3.5.2)
jekyll-avatar (= 0.5.0)
jekyll-coffeescript (= 1.0.2)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.9.2)
jekyll-gist (= 1.4.1)
jekyll-github-metadata (= 2.9.3)
jekyll-mentions (= 1.2.0)
jekyll-optional-front-matter (= 0.2.0)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.1.0)
jekyll-redirect-from (= 0.12.1)
jekyll-relative-links (= 0.5.0)
jekyll-sass-converter (= 1.5.0)
jekyll-seo-tag (= 2.3.0)
jekyll-sitemap (= 1.1.1)
jekyll-swiss (= 0.4.0)
jekyll-theme-architect (= 0.1.0)
jekyll-theme-cayman (= 0.1.0)
jekyll-theme-dinky (= 0.1.0)
jekyll-theme-hacker (= 0.1.0)
jekyll-theme-leap-day (= 0.1.0)
jekyll-theme-merlot (= 0.1.0)
jekyll-theme-midnight (= 0.1.0)
jekyll-theme-minimal (= 0.1.0)
jekyll-theme-modernist (= 0.1.0)
jekyll-theme-primer (= 0.5.2)
jekyll-theme-slate (= 0.1.0)
jekyll-theme-tactile (= 0.1.0)
jekyll-theme-time-machine (= 0.1.0)
jekyll-titles-from-headings (= 0.4.0)
jemoji (= 0.8.1)
kramdown (= 1.13.2)
liquid (= 4.0.0)
listen (= 3.0.6)
mercenary (~> 0.3)
minima (= 2.1.1)
rouge (= 1.11.1)
terminal-table (~> 1.4)
github-pages-health-check (1.3.5)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
public_suffix (~> 2.0)
typhoeus (~> 0.7)
html-pipeline (2.7.1)
activesupport (>= 2)
nokogiri (>= 1.4)
i18n (0.9.0)
concurrent-ruby (~> 1.0)
jekyll (3.5.2)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-avatar (0.5.0)
jekyll (~> 3.0)
jekyll-coffeescript (1.0.2)
coffee-script (~> 2.2)
coffee-script-source (~> 1.11.1)
jekyll-default-layout (0.1.4)
jekyll (~> 3.0)
jekyll-feed (0.9.2)
jekyll (~> 3.3)
jekyll-gist (1.4.1)
octokit (~> 4.2)
jekyll-github-metadata (2.9.3)
jekyll (~> 3.1)
octokit (~> 4.0, != 4.4.0)
jekyll-mentions (1.2.0)
activesupport (~> 4.0)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
jekyll-optional-front-matter (0.2.0)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-readme-index (0.1.0)
jekyll (~> 3.0)
jekyll-redirect-from (0.12.1)
jekyll (~> 3.3)
jekyll-relative-links (0.5.0)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-seo-tag (2.3.0)
jekyll (~> 3.3)
jekyll-sitemap (1.1.1)
jekyll (~> 3.3)
jekyll-swiss (0.4.0)
jekyll-theme-architect (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-cayman (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-dinky (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-hacker (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-leap-day (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-merlot (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-midnight (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-minimal (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-modernist (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.5.2)
jekyll (~> 3.5)
jekyll-github-metadata (~> 2.9)
jekyll-seo-tag (~> 2.2)
jekyll-theme-slate (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-tactile (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-time-machine (0.1.0)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.4.0)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
jemoji (0.8.1)
activesupport (~> 4.0, >= 4.2.9)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
kramdown (1.13.2)
liquid (4.0.0)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.6)
mini_portile2 (2.3.0)
minima (2.1.1)
jekyll (~> 3.3)
minitest (5.10.3)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.8.1)
mini_portile2 (~> 2.3.0)
octokit (4.7.0)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.0)
forwardable-extended (~> 2.6)
public_suffix (2.0.5)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.5.2)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.3)
thread_safe (~> 0.1)
unicode-display_width (1.3.0)

PLATFORMS
ruby

DEPENDENCIES
github-pages

BUNDLED WITH
1.15.4
10 changes: 10 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## BUG

### Expected behavior

### Actual behavior

### Steps to reproduce behavior


## USER STORY
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Insert License Here
7 changes: 7 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## What this does
Addresses Issue #

## How to test
1. Go to {link}
2. Do {thing}
3. Observe {reaction}
20 changes: 15 additions & 5 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ <h2>{{ lab_feature.title }}</h2>
<div class="featured-set">
<div class="cards">
{% assign projects = site.categories.projects | where:"feature",true %}
{% for post in projects limit:3 sort: 'date' %}

{% assign sortedProjects = projects | sort: 'date' %}
{% for post in sortedProjects limit:3 %}
<a class="card" href="{{ post.url | prepend: site.baseurl }}">
{% assign image_url = post.image %}
{% unless post.image %}
Expand Down Expand Up @@ -74,7 +76,8 @@ <h2>{{ lab_feature.title }}</h2>
<a href="{{ site.baseurl }}/tools/"><div class="featured-category-header"><h1>The DRC Toolkit</h1></div></a>
<div class="cards">
{% assign tools = site.categories.tools | where:"feature",true %}
{% for post in tools limit:3 sort: 'date' %}
{% assign sortedTools = tools | sort: 'date' %}
{% for post in sortedTools limit:3 %}
<a class="card" href="{{ post.url | prepend: site.baseurl }}">
{% assign image_url = post.image %}
{% unless post.image %}
Expand Down Expand Up @@ -114,7 +117,9 @@ <h2>DREx 2017</h2>
<div class="featured-set">
<div class="cards">
{% assign posts = site.categories.news %}
{% for post in posts limit:3 sort: 'date' %}

{% assign sortedPosts = posts | sort: 'date' %}
{% for post in sortedPosts limit:3 %}
<a class="card" href="{{ post.url | prepend: site.baseurl }}">
<div class="card-header">
{{ post.title }}
Expand All @@ -136,7 +141,10 @@ <h2>DREx 2017</h2>
<a href="{{ site.baseurl }}/blog/"><div class="featured-category-header"><h1>Blog</h1></div></a>
<div class="cards">
{% assign posts = site.categories.blog %}
{% for post in posts limit:3 sort: 'date' %}
{% assign sortedPosts = posts | sort: 'date' %}
{% for post in sortedPosts limit:3 %}


<a class="card" href="{{ post.url | prepend: site.baseurl }}">
<div class="card-header">
{{ post.title }}
Expand All @@ -157,7 +165,9 @@ <h2>DREx 2017</h2>
<a href="{{ site.baseurl }}/interviews/"><div class="featured-category-header"><h1>Interviews</h1></div></a>
<div class="cards">
{% assign posts = site.categories.interviews %}
{% for post in posts limit:3 sort: 'date' %}

{% assign sortedPosts = posts | sort: 'date' %}
{% for post in sortedPosts limit:3 %}
<a class="card" href="{{ post.url | prepend: site.baseurl }}">
<div class="card-header">
{{ post.title }}
Expand Down
7 changes: 5 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,14 @@ <h3>{{ person.first_name }} {{ person.last_name }}</h3>
{% comment %}
{% if page.people!='' %}
<h2>Project Team:</h2>
<ul class="project-people">{% for person in site.data.people | sort: "last_name" %}{% if page.people contains person.id %}<li>{{ person.first_name }} {{ person.last_name }}</li>{% endif %}{% endfor %}</ul>
<ul class="project-people">
{% assign sortedPeople = site.data.people | sort: "last_name" %}
{% for person in sortedPeople %}
{% if page.people contains person.id %}<li>{{ person.first_name }} {{ person.last_name }}</li>{% endif %}{% endfor %}</ul>
{% endif %}
{% endcomment %}
{% endif %}
{% if page.project_url!='' %}
{% if page.project_url and page.project_url !="" and page.project_url !=nil %}
<div class="person">
<a href="{{ page.project_url }}" target="{{ page.title | slugify }}"><button>View Project</button></a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2013-03-25-digital-thinking.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Digital Thinking/Critical Thinking: Building the Humanities at Hofstra'
date: 2013-03-25 12:00:00 Z
categories:
- events
layout: event
layout: events
display_date: October 24-25, 2013
location: Hofstra University
link: http://hofstradrc.org/pdf/digithink.pdf
Expand Down
2 changes: 1 addition & 1 deletion _posts/2013-04-24-drex-2016.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: DRExChange 2016
date: 2013-04-24 12:00:00 Z
categories:
- events
layout: event
layout: events
display_date: March 23, 2016
location: Hofstra University
---
Expand Down
1 change: 1 addition & 0 deletions _posts/2015-01-01-octoroon.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ layout: post
feature: false
image: "/images/octoroon.jpg"
lead_person: '9'
project_url:
people:
- '9'
- '17'
Expand Down
3 changes: 2 additions & 1 deletion _posts/2015-01-02-digitalvanmander.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ author: Martha Hollander
feature: false
image: "/images/van-mander.jpg"
lead_person: '8'
project_url:
people:
- '8'
---
Expand Down Expand Up @@ -40,4 +41,4 @@ translation will be viewable on its own or alongside the Dutch text, along with
links to other primary and secondary sources, and images. Users will be able to read (and
download) the translation, and follow the original digitized text, the original edition, and
hyperlinks to images, notes, and other relevant material. There will also be an opportunity
for users to contribute to discourse about the text and translation.
for users to contribute to discourse about the text and translation.
3 changes: 2 additions & 1 deletion _posts/2015-01-25-accessscholar.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ layout: post
feature: false
image: "/images/access_scholar.png"
lead_person: '5'
project_url: http://hofstra.github.io/access-scholar/
people:
- '5'
---
Expand All @@ -27,4 +28,4 @@ AccessScholar will address the problem of this unrealized opportunity in several

* As a crowd-sourcing initiative, it will maintain a database of primary and secondary scholarly materials that (through OCR software, for example) individuals have made more accessible. Further, it will urge the institutions that hold the less accessible versions of those materials to update their databases to incorporate the more accessible versions.

Thus, visitors to AccessScholar will be able to learn about accessibility standards and best practices, find an institutional advocate for requests to make specific scholarly materials more accessible, and use or contribute to a repository of scholarly materials that have been made more accessible.
Thus, visitors to AccessScholar will be able to learn about accessibility standards and best practices, find an institutional advocate for requests to make specific scholarly materials more accessible, and use or contribute to a repository of scholarly materials that have been made more accessible.
1 change: 1 addition & 0 deletions _posts/2015-05-01-rslt.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ layout: post
image: "/images/rslt.png"
feature: true
lead_person: '2'
project_url: http://rslt.hofstradrc.org/
blurb: The RSLT project uses a version of HyperStudio’s Annotation Studio, adapted
at Hofstra, to highlight and categorize reasoning structures in legal texts, primarily
in judicial and administrative decision-making.
Expand Down
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
<div class="cards">
{% assign projects = site.categories.projects | where:"feature",true %}
{% assign published_projects = projects | where:"published",true %}
{% for post in published_projects limit:3 offset:1 sort: 'date' %}

{% assign sortedProjects = published_projects | sort: 'date' %}
{% for post in sortedProjects limit:3 offset:1 %}
<a class="card" href="{{ post.url | prepend: site.baseurl }}">
<div class="card-image">
{% if post.image %}
Expand Down

0 comments on commit 684253a

Please sign in to comment.