diff --git a/.gitignore b/.gitignore index 5c531a0..a807db8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,20 @@ local/ # Ignore the Gemfile that is generated Gemfile.lock -# Ingore files created by npm -node_modules -package-lock.json \ No newline at end of file +# Ignore files created by npm +node_modules/ +package-lock.json + +# System and IDE files +.DS_Store +.vscode/ + +# Log and temporary files +*.log +tmp/ + +# Sensitive configuration +_config_docker.yml + +# Compiled or minified files +assets/js/main.min.js \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..dea4f97 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +spencerkiser.net \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 23c50b4..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,8 +0,0 @@ -Contributions are welcome! - -Please add issues and make pull requests. There are no stupid questions. All ideas are welcome. This is a volunteer project. Be excellent to each other. - -Bug reports and feature requests to the template should be [submitted via GitHub](https://github.com/academicpages/academicpages.github.io/issues/new/choose). For questions concerning how to style the template, please feel free to start a [new discussion on GitHub](https://github.com/academicpages/academicpages.github.io/discussions). - -Fork from master and go from there. Remember that this repository is intended to remain a generic, ready-to-fork template that demonstrates the features of academicpages. - diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 563ebc2..0000000 --- a/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# Base image: Ruby with necessary dependencies for Jekyll -FROM ruby:3.2 - -# Install dependencies -RUN apt-get update && apt-get install -y \ - build-essential \ - nodejs \ - && rm -rf /var/lib/apt/lists/* - -# Set the working directory inside the container -WORKDIR /usr/src/app - -# Copy Gemfile into the container (necessary for `bundle install`) -COPY Gemfile ./ - -# Install bundler and dependencies -RUN gem install bundler:2.3.26 && bundle install - -# Command to serve the Jekyll site -CMD ["jekyll", "serve", "-H", "0.0.0.0", "-w", "--config", "_config.yml,_config_docker.yml"] - diff --git a/README.md b/README.md index 81614ea..e69de29 100644 --- a/README.md +++ b/README.md @@ -1,89 +0,0 @@ -# Academic Pages -**Academic Pages is a GitHub Pages template for personal and professional portfolio-oriented websites.** - -![Academic Pages template example](images/homepage.png "Academic Pages template example") - -# Getting Started - -1. Register a GitHub account if you don't have one and confirm your e-mail (required!) -1. Click the "Use this template" button in the top right. -1. On the "New repository" page, enter your repository name as "[your GitHub username].github.io", which will also be your website's URL. -1. Set site-wide configuration and add your content. -1. Upload any files (like PDFs, .zip files, etc.) to the `files/` directory. They will appear at https://[your GitHub username].github.io/files/example.pdf. -1. Check status by going to the repository settings, in the "GitHub pages" section -1. (Optional) Use the Jupyter notebooks or python scripts in the `markdown_generator` folder to generate markdown files for publications and talks from a TSV file. - -See more info at https://academicpages.github.io/ - -## Running locally - -When you are initially working on your website, it is very useful to be able to preview the changes locally before pushing them to GitHub. To work locally you will need to: - -1. Clone the repository and made updates as detailed above. -1. Make sure you have ruby-dev, bundler, and nodejs installed - - On most Linux distribution and [Windows Subsystem Linux](https://learn.microsoft.com/en-us/windows/wsl/about) the command is: - ```bash - sudo apt install ruby-dev ruby-bundler nodejs - ``` - If you see error `Unable to locate package ruby-bundler`, `Unable to locate package nodejs `, run the following: - ```bash - sudo apt update && sudo apt upgrade -y - ``` - then try run `sudo apt install ruby-dev ruby-bundler nodejs` again. - - On MacOS the commands are: - ```bash - brew install ruby - brew install node - gem install bundler - ``` -1. Run `bundle install` to install ruby dependencies. If you get errors, delete Gemfile.lock and try again. - - If you see file permission error like `Fetching bundler-2.6.3.gem ERROR: While executing gem (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/3.2.0 directory.` or `Bundler::PermissionError: There was an error while trying to write to /usr/local/bin.` - Install Gems Locally (Recommended): - ```bash - bundle config set --local path 'vendor/bundle' - ``` - then try run `bundle install` again. If succeeded, you should see a folder called `vendor` and open `.gitignore` then add `vendor` inside it. - -1. Run `jekyll serve -l -H localhost` to generate the HTML and serve it from `localhost:4000` the local server will automatically rebuild and refresh the pages on change. - You may also try `bundle exec jekyll serve -l -H localhost` to ensure jekyll to use specific dependencies on your own local machine. - -If you are running on Linux it may be necessary to install some additional dependencies prior to being able to run locally: `sudo apt install build-essential gcc make` - -## Using Docker - -Working from a different OS, or just want to avoid installing dependencies? You can use the provided `Dockerfile` to build a container that will run the site for you if you have [Docker](https://www.docker.com/) installed. - -You can build and execute the container by running the following command in the repository: - -```bash -docker compose up -``` - -You should now be able to access the website from `localhost:4000`. - -# Maintenance - -Bug reports and feature requests to the template should be [submitted via GitHub](https://github.com/academicpages/academicpages.github.io/issues/new/choose). For questions concerning how to style the template, please feel free to start a [new discussion on GitHub](https://github.com/academicpages/academicpages.github.io/discussions). - -This repository was forked (then detached) by [Stuart Geiger](https://github.com/staeiou) from the [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/), which is © 2016 Michael Rose and released under the MIT License (see LICENSE.md). It is currently being maintained by [Robert Zupko](https://github.com/rjzupkoii) and additional maintainers would be welcomed. - -## Bugfixes and enhancements - -If you have bugfixes and enhancements that you would like to submit as a pull request, you will need to [fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) this repository as opposed to using it as a template. This will also allow you to [synchronize your copy](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) of template to your fork as well. - -Unfortunately, one logistical issue with a template theme like Academic Pages that makes it a little tricky to get bug fixes and updates to the core theme. If you use this template and customize it, you will probably get merge conflicts if you attempt to synchronize. If you want to save your various .yml configuration files and markdown files, you can delete the repository and fork it again. Or you can manually patch. - ---- -
- -![pages-build-deployment](https://github.com/academicpages/academicpages.github.io/actions/workflows/pages/pages-build-deployment/badge.svg) -[![GitHub contributors](https://img.shields.io/github/contributors/academicpages/academicpages.github.io.svg)](https://github.com/academicpages/academicpages.github.io/graphs/contributors) -[![GitHub release](https://img.shields.io/github/v/release/academicpages/academicpages.github.io)](https://github.com/academicpages/academicpages.github.io/releases/latest) -[![GitHub license](https://img.shields.io/github/license/academicpages/academicpages.github.io?color=blue)](https://github.com/academicpages/academicpages.github.io/blob/master/LICENSE) - -[![GitHub stars](https://img.shields.io/github/stars/academicpages/academicpages.github.io)](https://github.com/academicpages/academicpages.github.io) -[![GitHub forks](https://img.shields.io/github/forks/academicpages/academicpages.github.io)](https://github.com/academicpages/academicpages.github.io/fork) -
diff --git a/_config.yml b/_config.yml index e63251b..98488d7 100644 --- a/_config.yml +++ b/_config.yml @@ -8,14 +8,14 @@ # Basic Site Settings locale : "en-US" -site_theme : "default" -title : "Your Name / Site Title" +site_theme : "new" +title : "Spencer Kiser" title_separator : "-" -name : &name "Your Name" -description : &description "personal description" -url : https://academicpages.github.io # the base hostname & protocol for your site e.g. "https://[your GitHub username].github.io" +name : &name "Spencer Kiser" +description : &description "Personal site of Spencer Kiser" +url : https://spencerk.github.io # the base hostname & protocol for your site e.g. "https://[your GitHub username].github.io" baseurl : "" # the subpath of your site, e.g. "/blog" -repository : "academicpages/academicpages.github.io" +repository : "spencerk/spencerk.github.io" # Site Author - The following control what appear as part of the author content on the side bar. # If a field is blank the icon and link will not appear, otherwise it will be shown. @@ -23,21 +23,21 @@ repository : "academicpages/academicpages.github.io" author: # Biographic information avatar : "profile.png" - name : "Your Sidebar Name" + name : "Spencer Kiser" pronouns : # example: "she/her" - bio : "Short biography for the left-hand sidebar" - location : "Earth" - employer : "Red Brick University" - uri : # URL - email : "none@example.org" + bio : "Head of Software Development at the Metropolitan Museum of Art" + location : "New York, NY" + employer : "Metropolitan Museum of Art" + uri : # personal website - Update with your personal website URL + email : "hello@spencerkiser.net" # Academic websites arxiv : # URL - Update with the correct link to your profile - googlescholar : "https://scholar.google.com/citations?user=PS_CX0AAAAAJ" + googlescholar : "https://scholar.google.com/citations?user=z79kBIgAAAAJ" impactstory : # URL - orcid : "http://orcid.org/yourorcidurl" + orcid : semantic : # URL - pubmed : "https://www.ncbi.nlm.nih.gov/pubmed/?term=john+snow" + pubmed : researchgate : # URL scopus : # URL @@ -45,12 +45,16 @@ author: bitbucket : # Username - Update with your username on the site codepen : # Username dribbble : # Username - github : "academicpages" + github : kaggle : # Username stackoverflow : # User number or user number and name (i.e., use "1" or "1/jeff-atwood") # Social media - bluesky : "bsky.app" # Replace this with you Bluesky username + mastodon : "https://mas.to/@spenczar" + linkedin : "spencerkiser" + lastfm : "skiser" + soundcloud : "spenczar" + bluesky : "spnczr@bsky.social" # Replace this with you Bluesky username facebook : # Username flickr : # Username foursquare : # Username @@ -58,12 +62,8 @@ author: google_plus : # Username keybase : # Username instagram : # Username - lastfm : # Username - linkedin : # Username - mastodon : # URL medium : # URL pinterest : # Username - soundcloud : # Username steam : # Username telegram : # URL tumblr : # Username @@ -77,18 +77,18 @@ author: # Publication Category - The following the list of publication categories and their headings publication_category: - books: - title: 'Books' + # books: + # title: 'Books' manuscripts: - title: 'Journal Articles' + title: 'Articles' conferences: title: 'Conference Papers' # Site Settings -teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png" +teaser : "spincycle-teaser.jpg" # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png" breadcrumbs : false # true, false (default) words_per_minute : 160 -future : true +future : false read_more : "disabled" # if enabled, adds "Read more" links to excerpts talkmap_link : false #change to true to add link to talkmap on talks page comments: @@ -236,10 +236,10 @@ defaults: values: layout: single author_profile: true - read_time: true - comments: true - share: true - related: true + read_time: false + comments: false + share: false + related: false # _pages - scope: path: "" @@ -254,8 +254,8 @@ defaults: values: layout: single author_profile: true - share: true - comments: true + share: false + comments: false # _publications - scope: path: "" @@ -263,8 +263,8 @@ defaults: values: layout: single author_profile: true - share: true - comments: true + share: false + comments: false # _portfolio - scope: path: "" @@ -272,8 +272,8 @@ defaults: values: layout: single author_profile: true - share: true - comment: true + share: false + comment: false # _talks - scope: path: "" diff --git a/_data/navigation.yml b/_data/navigation.yml index ec7bf93..5c9a484 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -8,26 +8,24 @@ # Markdown formatted page while the second is generated using JSON. main: - - title: "Publications" - url: /publications/ + - title: "CV" + url: /cv/ + + - title: "Portfolio" + url: /portfolio/ + - title: "Talks" url: /talks/ + - title: "Publications" + url: /publications/ + - title: "Teaching" url: /teaching/ - - title: "Portfolio" - url: /portfolio/ - - - title: "Blog Posts" + - title: "Press" url: /year-archive/ - - title: "CV" - url: /cv/ - # - title: "CV" # url: /cv-json/ - - - title: "Guide" - url: /markdown/ diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 2de0584..be07b9f 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -15,15 +15,15 @@
{% if include.type == "grid" and teaser %} -
- -
+
+ +
{% endif %}

@@ -42,8 +42,6 @@

{{ post.type }}, {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

{% elsif post.collection == 'publications' %}

Published in {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

- {% elsif post.date %} -

{{ site.data.ui-text[site.locale].date_label | default: "Published:" }}

{% endif %} {% if post.excerpt and site.read_more != 'enabled' %} @@ -51,7 +49,17 @@

{% elsif post.excerpt and site.read_more == 'enabled' %}

{{ post.excerpt | markdownify | remove: '

' | remove: '

' }} Read more

{% endif %} - + {% if teaser and post.collection == 'portfolio' %} +
+ +
+ {% endif %} {% if post.citation and post.paperurl and post.slidesurl %}

Recommended citation: {{ post.citation }}
Download Paper | Download Slides

{% elsif post.citation and post.paperurl %} diff --git a/_includes/social-share.html b/_includes/social-share.html index 8472081..ac596ff 100644 --- a/_includes/social-share.html +++ b/_includes/social-share.html @@ -7,9 +7,6 @@