Skip to content

Commit

Permalink
Merge pull request #1 from joeroe/main
Browse files Browse the repository at this point in the history
Add journals
  • Loading branch information
zackbatist authored Sep 18, 2024
2 parents 940d14f + ce5ff44 commit 6b2e3cc
Show file tree
Hide file tree
Showing 19 changed files with 212 additions and 27 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.5
21 changes: 7 additions & 14 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# gem "jekyll", "~> 4.3.4"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.

# Bootstrap Github Pages dependencies (including Jekyll)
gem "github-pages", "~> 232", group: :jekyll_plugins
# If you have any plugins, put them here!

# Default Jekyll theme
gem "minima", "~> 2.5"

# Jekyll plugins
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end
Expand Down
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ theme: minima
plugins:
- jekyll-feed

collections:
journals:
output: true

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
Expand Down
8 changes: 8 additions & 0 deletions _data/languages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
da: Danish
de: German
en: English
es: Spanish
fr: French
it: Italian
no: Norwegian
se: Swedish
6 changes: 6 additions & 0 deletions _includes/issn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% assign issn = include.issn %}

{{ issn }}
<small>
[<a href="https://doaj.org/toc/{{ issn }}" title="Look up '{{ issn }}' in the Directory of Open Access Journals">DOAJ</a>]
</small>
1 change: 1 addition & 0 deletions _includes/language.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ site.data.languages[include.lang] }}
10 changes: 10 additions & 0 deletions _journals/archaeology_international.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Archaeology International
model: diamond
peer_reviewed: yes
url: https://journals.uclpress.co.uk/ai/
issn: 2048-4194
publisher: UCL Press
languages:
- en
---
14 changes: 14 additions & 0 deletions _journals/archeologia_e_calcolatori.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Archeologia e Calcolatori
model: diamond
peer_reviewed: true
url: https://www.archcalc.cnr.it/
issn: 1120-6861
publisher: Consiglio Nazionale delle Ricerche
languages:
- fr
- en
- de
- it
- es
---
10 changes: 10 additions & 0 deletions _journals/danish_journal_of_archaeology.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Danish Journal of Archaeology
model: diamond
peer_reviewed: true
url: https://tidsskrift.dk/dja/index
issn: 2166-2290
publisher: National Museum of Denmark
languages:
- en
---
11 changes: 11 additions & 0 deletions _journals/gallia_préhistoire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Gallia Préhistoire
model: diamond
peer_reviewed: true
url: https://journals.openedition.org/galliap/
issn: 2109-9642
publisher: CNRS Editions
languages:
- fr
- en
---
11 changes: 11 additions & 0 deletions _journals/journal_of_neolithic_archaeology.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Journal of Neolithic Archaeology
model: diamond
peer_reviewed: true
url: http://www.jungsteinsite.de/
issn: 2197-649X
publisher: Kiel University
languages:
- de
- en
---
9 changes: 9 additions & 0 deletions _journals/mesolithic_miscellany.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Mesolithic Miscellany
model: diamond
peer_reviewed: false
url: https://sites.google.com/site/mesolithicmiscellany
issn: 0259-3548
languages:
- en
---
12 changes: 12 additions & 0 deletions _journals/neo-lithics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Neo-Lithics
model: diamond
peer_reviewed: false
url: https://journals.ub.uni-heidelberg.de/index.php/nl/index
issn: 2750-2910
publisher: ex oriente
languages:
- de
- en
- fr
---
11 changes: 11 additions & 0 deletions _journals/paléorient.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Paléorient
model: diamond
peer_reviewed: true
url: https://journals.openedition.org/paleorient/
issn: 1957-701X
publisher: CNRS Editions
languages:
- fr
- en
---
14 changes: 14 additions & 0 deletions _journals/primitive_tider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Primitive Tider
model: diamond
peer_reviewed: true
url: https://journals.uio.no/PT
issn: 2535-6194
publisher: University of Oslo
languages:
- no
- se
- da
- fi
- en
---
21 changes: 21 additions & 0 deletions _layouts/base.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{%- include head.html -%}

<body>

{%- include header.html -%}

<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
</div>
</main>

{%- include footer.html -%}

</body>

</html>

57 changes: 57 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
layout: base
---

<div class="home">
{%- if page.title -%}
<h1 class="page-heading">{{ page.title }}</h1>
{%- endif -%}

{{ content }}

{% assign journals = site.journals %}

{%- if journals.size > 0 -%}

<table>
<tr>
<th scope="col">Journal</th>
<th scope="col">Publisher</th>
<th scope="col">Languages</th>
<th scope="col">ISSN</th>
</tr>

{%- for journal in journals %}

<tr>
<td>
<cite>
<a href="{{ journal.url }}" title="{{ journal.title }} home page">
{{ journal.title }}
</a>
</cite>
</td>
<td>{{ journal.publisher }}</td>
<td>
{% assign languages = journal.languages %}
{%- if languages.size > 1 -%}
<ul style="list-style-type: none; margin: 0;">
{%- for lang in languages %}
<li>{% include language.html lang=lang %}</li>
{%- endfor %}
</ul>
{%- else -%}
{% include language.html lang=languages.first %}
{%- endif -%}
</td>
<td>{% include issn.html issn=journal.issn %}</td>
</tr>

{%- endfor %}

</table>

{%- endif -%}

</div>

13 changes: 0 additions & 13 deletions index.markdown

This file was deleted.

5 changes: 5 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: home
---

This is a list of [diamond open access](https://www.coalition-s.org/diamond-open-access/) archaeology journals.

0 comments on commit 6b2e3cc

Please sign in to comment.