Skip to content

Commit

Permalink
Merge pull request #45 from eic/policies
Browse files Browse the repository at this point in the history
feat: add our computing policies in the website (demo of external repo inclusion)
  • Loading branch information
mdiefent authored Mar 8, 2024
2 parents 76fe8f7 + d321a2c commit 4ce102a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 75 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "_policies"]
path = _policies
url = https://github.com/eic/policies
79 changes: 4 additions & 75 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,3 @@
name: The EIC Software Website
title: The EIC Software Website
description: The EIC Software Website
url: https://eic.github.io
#
excerpt_separator: <!--more-->
timezone: America/New_York
highlighter: rouge
#
markdown: kramdown
future: true
exclude: [vendor]

##################################################################################
# Important if we are not serving from the top folder - baseurl: /web #
# In that case, please make sure you use the "relative_path" directive #
# everywhere you include various site URLs in your pages. #
# #
# Currently serving from the top folder i.e. #
# in this case this does not apply until further notice. #
##################################################################################

# Custom helper variables:
blank: 'target="_blank"'


# Layout
tablepadding: ' '

# Decorative elements
eic_logo: /assets/images/site/EIClogo_small.png
splash: /assets/images/site/ion-collision-xparent-cropped.png

# Icons:
home_icon: /assets/images/site/icons/house-32.png
external_icon: /assets/images/site/icons/external-link-32.png

software_icon: /assets/images/site/icons/console-32.png
resources_icon: /assets/images/site/icons/cog-32.png
#activities_icon: /assets/images/site/icons/today-32.png
activities_icon: /assets/images/site/icons/light-bulb-5-32.png
organization_icon: /assets/images/site/icons/flow-chart-32.png
documentation_icon: /assets/images/site/icons/literature-32.png
about_icon: /assets/images/site/icons/light-bulb-5-32.png


# Development:
display_news: yes
#
plugins:
- jekyll-mentions
- jekyll-sitemap
- jekyll-redirect-from

#
collections:
software:
output: true
permalink: /software/:title.html
resources:
output: true
permalink: /resources/:title.html
activities:
output: true
permalink: /activities/:title.html
organization:
output: true
permalink: /organization/:title.html
documentation:
output: true
permalink: /documentation/:title.html
about:
output: true
permalink: /about/:title.html#
#
#
name: The EIC Software Website
title: The EIC Software Website
Expand Down Expand Up @@ -114,6 +39,7 @@ software_icon: /assets/images/site/icons/console-32.png
resources_icon: /assets/images/site/icons/cog-32.png
activities_icon: /assets/images/site/icons/light-bulb-5-32.png
organization_icon: /assets/images/site/icons/flow-chart-32.png
policies_icon: /assets/images/site/icons/cog-32.png
documentation_icon: /assets/images/site/icons/literature-32.png
about_icon: /assets/images/site/icons/light-bulb-5-32.png

Expand Down Expand Up @@ -143,6 +69,9 @@ collections:
documentation:
output: true
permalink: /documentation/:title.html
policies:
output: true
permalink: /policies/:title.html
about:
output: true
permalink: /about/:title.html
10 changes: 10 additions & 0 deletions _data/menus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@
# full: Get Involved
# div: yes

### Policies
#
- name: policies
full: Policies
submenus:
- name: simulation_production_strategy
full: Simulation Production Strategy
- name: source_code_management
full: Source Code Management

### Documentation
#
- name: documentation
Expand Down
1 change: 1 addition & 0 deletions _includes/layouts/autodrop_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{% when "resources" %} {% assign theCollection=site.resources %} {% assign icon=site.resources_icon %}
{% when "activities" %} {% assign theCollection=site.activities %} {% assign icon=site.activities_icon %}
{% when "organization" %}{% assign theCollection=site.organization %}{% assign icon=site.organization_icon %}
{% when "policies" %} {% assign theCollection=site.policies %} {% assign icon=site.policies_icon %}
{% when "documentation" %}{% assign theCollection=site.documentation %}{% assign icon=site.documentation_icon %}
{% when "about" %} {% assign theCollection=site.about %} {% assign icon=site.about_icon %}

Expand Down
1 change: 1 addition & 0 deletions _policies
Submodule _policies added at d10df8

0 comments on commit 4ce102a

Please sign in to comment.