Skip to content

Commit

Permalink
initial draft of adapted website
Browse files Browse the repository at this point in the history
  • Loading branch information
PeerHerholz committed Jan 8, 2025
1 parent 2f12bfc commit ec74858
Show file tree
Hide file tree
Showing 626 changed files with 159 additions and 12,744 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ jobs:
run_pytest:
docker:
- image: continuumio/miniconda3
working_directory: /tmp/src/NBCLab.github.io
working_directory: /tmp/src/CoCoAN.github.io
steps:
- checkout
- run:
name: Run tests
command: |
conda create -n py36_env python=3.6 numpy pytest matplotlib -yq
source activate py36_env
pytest /tmp/src/NBCLab.github.io
pytest /tmp/src/CoCoAN.github.io
workflows:
version: 2.1
build:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# TODOS

See Issues on [the site](https://github.com/NBCLab/nbclab.github.io).
See Issues on [the site](https://github.com/C0C0AN/CoCoAN.github.io).

# How to add content

Because the website code is hosted on GitHub, any lab member can contribute to the site. The general pattern will be: (1) Fork the repository to your own account; (2) Clone your fork to your laptop; (3) Make changes (e.g., add a new post to News or update your bio) to your local copy; (4) Test those changes by running a local version of the website; (5) If your changes don't break the website, commit your changes to your fork's remote; (6) Open a pull request from your fork to the main repository. Once the PR is open, the website administrator will review the changes and merge them into the main website.
Because the website code is hosted on GitHub, any team member can contribute to the site. The general pattern will be: (1) Fork the repository to your own account; (2) Clone your fork to your laptop; (3) Make changes (e.g., add a new post to News or update your bio) to your local copy; (4) Test those changes by running a local version of the website; (5) If your changes don't break the website, commit your changes to your fork's remote; (6) Open a pull request from your fork to the main repository. Once the PR is open, the website administrator will review the changes and merge them into the main website.

In order to contribute, you must have a GitHub account and you must set up Jekyll on your laptop (in order to demo your changes).

Expand Down Expand Up @@ -86,8 +86,8 @@ For example, an individual poster corresponds to one of the markdown files in `p
That poster has its own page, and there is a link to that page on the main "Posters" page (which is generated from `posters/index.html`).

The markdown files have two sections, a header with metadata and the content below.
How the post is formatted on the general page (e.g., how Taylor Salo's picture fits into the [Team webpage](https://nbclab.github.io/team/)) is determined by the `index.html` file mentioned above.
How the post is formatted on its own page (e.g., [Taylor Salo's member page](https://nbclab.github.io/team/taylor-salo)) is determined by the theme file for that post's category.
How the post is formatted on the general page (e.g., how Peer Herholz' picture fits into the [Team webpage](https://CoCoAN.github.io/team/)) is determined by the `index.html` file mentioned above.
How the post is formatted on its own page (e.g., [Peer Herholz' member page](https://CoCoAN.github.io/team/peer-herholz)) is determined by the theme file for that post's category.

## Themes

Expand Down Expand Up @@ -141,7 +141,7 @@ In order to reduce the amount of data we use with images, we have rules for imag

The [code for this site][0] was forked from Dr. Allan Drummond's lab website, which in turn took a great deal of inspiration from Dr. Travis Bedford's [lab website][1]. We have modified a lot of the code and added some fun features, but the core codebase is still largely taken from the Drummond lab's original repository. The code was openly shared on [GitHub][2] under the MIT license, so please feel free to adapt it for your own purposes. However, if you do use any of the code, please remember to cite the code to Dr. Drummond and to link back to his [site][3].

[0]: https://github.com/NBCLab/NBCLab.github.io
[0]: https://github.com/C0C0AN/CoCoAN.github.io
[1]: http://bedford.io
[2]: https://github.com/drummondlab/drummondlab.github.io
[3]: http://drummondlab.org/about.html
Expand Down
2 changes: 1 addition & 1 deletion _blog/archive/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: NBC Lab / Blog / Archive
title: CoCoAN team / Blog / Archive
categories:
- blog
---
Expand Down
4 changes: 2 additions & 2 deletions _blog/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
layout: default
title: Blog
description: The NBC lab blog
description: The CoCoAN team blog
group: navigation
navorder: 7
category: blog
---
{% include JB/setup %}

<div class="bigspacer"></div>
<div class="bigtitle text-center">The Lab Blog</div>
<div class="bigtitle text-center">The Team Blog</div>
<div class="smallspacer"></div>
<hr/>

Expand Down
10 changes: 5 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ future: true
# so be sure to set them if your theme uses them.
#
title : CoCoAN team
tagline: Cognitive and computational (Auditory) Neuroscience
tagline: Cognition and Computation in AI and Neuroscience
institution:
url: http://fiu.edu
name: Florida International University
url: http://northwestern.edu
name: Northwestern University
department:
url: http://cn.fiu.edu
name: Cognitive Neuroscience
url: https://communication.northwestern.edu/academics/communication-sciences-and-disorders/
name: Communication Sciences and Disorders
author :
name : Peer Herholz
email : [email protected]
Expand Down
8 changes: 1 addition & 7 deletions _data/collaborators.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
science_name,url
Boeving ER,https://www.researchgate.net/profile/Emily_Boeving
Eickhoff SB,https://orcid.org/0000-0001-6363-2759
Laird RW,https://physics.fiu.edu/faculty/robert-laird/
Brewe E,https://orcid.org/0000-0003-3480-7040
Hays J,https://www.researchgate.net/profile/Jason_Hays3
Musser ED,https://scholar.google.com/citations?user=YiOJHqIAAAAJ&hl=en
Stein EA,https://scholar.google.com/citations?user=3Oq-5VIAAAAJ&hl=en

5 changes: 1 addition & 4 deletions _data/undergraduates.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
name,science_name,url
Betsy Alas,,
Mariana Correa Pinillos,,
Jasline Fernandez,,
Monica Melendez,,

10 changes: 0 additions & 10 deletions _includes/themes/lab/member.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,6 @@
<div class="bigspacer"></div>
{% endif %}

{% if member.researchgate %}
<div class="smallhead">
<i class="ai ai-researchgate"></i>
<a class="social researchgate" href="https://www.researchgate.net/profile/{{ member.researchgate }}">
ResearchGate
</a>
</div>
<div class="bigspacer"></div>
{% endif %}

{% if member.impactstory %}
<div class="smallhead">
<i class="ai ai-impactstory"></i>
Expand Down
2 changes: 1 addition & 1 deletion _plugins/trackback.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def render(context)

url = Liquid::Template.parse(@markup).render context
if url =~ /^\//
url = "http://drummondlab.github.io" + url
url = "http://CoCoAN.github.io" + url
end
json_object = JSON.parse(open("http://urls.api.twitter.com/1/urls/count.json?url=#{url}").read)
count = json_object["count"]
Expand Down
2 changes: 1 addition & 1 deletion _plugins/tweet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def render(context)
parsed = Liquid::Template.parse(@markup).render context
url = parsed.split(/ /).first
if url =~ /^\//
url = "http://drummondlab.github.io" + url
url = "http://CoCoAN.github.io" + url
end
text = parsed.split(/ /).drop(1).join(' ')
html = ""
Expand Down
Binary file not shown.
Binary file removed assets/files/applications/nbclab-app-form.docx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/images/banners/Picture1b.png
Binary file not shown.
Binary file removed assets/images/banners/Picture2b.png
Binary file not shown.
Binary file removed assets/images/banners/Picture6a.png
Binary file not shown.
Binary file not shown.
Binary file removed assets/images/news/abcd_repronim.png
Binary file not shown.
Binary file removed assets/images/news/brainconn_hackathon.png
Binary file not shown.
Binary file removed assets/images/news/cis_building.png
Binary file not shown.
Binary file removed assets/images/news/default-news.png
Binary file not shown.
214 changes: 0 additions & 214 deletions assets/images/news/default-news.svg

This file was deleted.

Binary file removed assets/images/news/eeg.jpg
Binary file not shown.
Binary file removed assets/images/news/faculty_senate.png
Binary file not shown.
Binary file removed assets/images/news/gsaw_2024.png
Binary file not shown.
Binary file removed assets/images/news/jb_angie_graduation.jpg
Binary file not shown.
Binary file removed assets/images/news/laird-aimbe.jpg
Binary file not shown.
Binary file removed assets/images/news/masters-defense-announcement.tiff
Binary file not shown.
Binary file removed assets/images/news/neuroinformatics_2018.png
Binary file not shown.
Binary file removed assets/images/news/nic_brains.tiff
Binary file not shown.
Binary file removed assets/images/news/ohbm2021-banner.png
Binary file not shown.
Binary file removed assets/images/news/pic1-ace-event.jpg
Binary file not shown.
Binary file removed assets/images/news/pic2-ace-event.jpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/images/papers/addict-behav.png
Binary file not shown.
Binary file removed assets/images/papers/addict-biol.png
Binary file not shown.
Binary file removed assets/images/papers/alzheimers-dement-amst.png
Diff not rendered.
Binary file removed assets/images/papers/am-j-psychiatry.png
Diff not rendered.
Binary file removed assets/images/papers/annu-rev-neurosci.png
Diff not rendered.
Binary file removed assets/images/papers/aperture-neuro.png
Diff not rendered.
Binary file removed assets/images/papers/behav-brain-functions.png
Diff not rendered.
Binary file removed assets/images/papers/behav-brain-res.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed assets/images/papers/biol-psychiatry.png
Diff not rendered.
Binary file removed assets/images/papers/biol-psychol.png
Diff not rendered.
Binary file removed assets/images/papers/biorxiv.png
Diff not rendered.
Binary file removed assets/images/papers/brain-lang.png
Diff not rendered.
Binary file removed assets/images/papers/brain-struct-funct.png
Diff not rendered.
Binary file removed assets/images/papers/brain-topogr.png
Diff not rendered.
Binary file removed assets/images/papers/cereb-cortex.png
Diff not rendered.
Binary file removed assets/images/papers/cogn-affect-behav-neurosci.png
Diff not rendered.
Binary file removed assets/images/papers/cortex.png
Diff not rendered.
Diff not rendered.
Binary file removed assets/images/papers/default-paper.png
Diff not rendered.
Loading

0 comments on commit ec74858

Please sign in to comment.