Skip to content

Commit 47de46d

Browse files
author
ocaisa
authored
Merge pull request #22 from hpc-carpentry/Carpentries-specific-content
restore HPC content, remove Carpentries content
2 parents 75cb9cc + caccf82 commit 47de46d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+734
-3217
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ commands :
99
@grep -E '^##' Makefile | sed -e 's/## //g'
1010

1111
## serve : run a local server.
12-
serve :
12+
serve :
1313
${JEKYLL} serve --config _config.yml,_config_dev.yml --future
1414

1515
## site : build files but do not run a server.
16-
site :
16+
site :
1717
${JEKYLL} build
1818

1919
## install : install missing Ruby gems using bundle.

_config.yml

+63-88
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Github Pages does all the hard work of building the Jekyll site. Yay!
44
# Custom CNAME settings in this repository make carpentries.org redirect
55
# to the Github Pages page.
6-
#
6+
---
77
# ASCII-Font › http://patorjk.com/software/taag/#p=display&f=Slant&t=Phlow
88
#
99
# _____ _ __ _____ __ __ _
@@ -33,31 +33,37 @@ author: admin
3333
url: 'https://www.hpc-carpentry.org'
3434
baseurl: ''
3535
filesurl: 'https://www.hpc-carpentry.org/files'
36-
37-
carpentries_url: 'https://carpentries.org'
3836

39-
# Regional contacts
40-
contact_ca: "" # Canada
41-
contact_au: "" # Australia
42-
contact_nz: "" # New Zealand
43-
contact_uk: "" # United Kingdom
44-
contact_afr: "" # Africa
45-
contact_nordic: "" # Nordic Countries
37+
github_url : "https://github.com/hpc-carpentry"
38+
github_io_url : "http://hpc-carpentry.github.io"
39+
incubator_url : "https://github.com/carpentries-incubator"
40+
incubator_io : "https://carpentries-incubator.github.io"
41+
contact : "[email protected]"
42+
contact_dach : ""
43+
contact_nz : "[email protected]" # Megan Guidry, New Zealand
44+
contact_uk : ""
45+
contact_us : ""
46+
carpentries_url: 'https://carpentries.org'
4647

48+
amy_url : "https://amy.carpentries.org/workshops"
49+
dc_url : "http://datacarpentry.org"
50+
lc_url : "https://librarycarpentry.org"
51+
store_url : "http://www.cafepress.com/swcarpentry"
52+
pad_url : "http://pad.software-carpentry.org"
4753

4854
# Links to AMY and forms
4955

50-
wrf_landing: "https://amy.carpentries.org/forms/workshop/" # Landing page for the three forms
51-
wrf_request: "https://amy.carpentries.org/forms/request_workshop/" # Request a workshop
52-
wrf_inquiry: "https://amy.carpentries.org/forms/inquiry/" # inquire about workshop
53-
wrf_selforg: "https://amy.carpentries.org/forms/self-organised/" # Report self organized workshop
56+
wrf_landing: "https://amy.carpentries.org/forms/workshop/" # Landing page for the three forms
57+
wrf_request: "https://amy.carpentries.org/forms/request_workshop/" # Request a workshop
58+
wrf_inquiry: "https://amy.carpentries.org/forms/inquiry/" # inquire about workshop
59+
wrf_selforg: "https://amy.carpentries.org/forms/self-organised/" # Report self organized workshop
5460

5561
# Website repository
5662
website_github_repo: "https://github.com/hpc-carpentry/hpc-carpentry.github.io"
5763
gh_default_branch: "main"
5864

5965
# Website configuration links
60-
mailing_lists : "http://carpentries.topicbox.com/groups"
66+
mailing_lists: "http://carpentries.topicbox.com/groups"
6167

6268

6369
# This is for the editing function in _/includes/improve_content
@@ -92,47 +98,50 @@ paginate_path: "blog/page:num"
9298
markdown: kramdown
9399
kramdown:
94100
parse_block_html: true
95-
permalink: /blog/:year/:month/:title/
96-
highlight: rouge
97-
plugins_dir: [jekyll-paginate, jekyll-redirect-from]
101+
permalink: /blog/:year/:month/:title.html
102+
highlight: pygments
98103
excerpt_separator: "<!--more-->"
99-
include: ['.htaccess']
100-
# Exclude these files from your production _site
104+
include:
105+
- .htaccess
101106
exclude:
102-
- .sass-cache
103-
- Gemfile
104-
- Gemfile.lock
105-
- LICENSE
106-
- README.md
107-
- INSTALL.md
108-
- vendor/
107+
- .sass-cache
108+
- Gemfile
109+
- Gemfile.lock
110+
- LICENSE
111+
- README.md
112+
- INSTALL.md
113+
- Makefile
114+
- vendor/
115+
116+
# Build settings
117+
# - https://github.com/jekyll/jekyll-redirect-from
109118

110119
plugins:
120+
- jekyll-paginate
121+
- jekyll-redirect-from
111122
- jekyll-get-json
112123

113124
## external data sources
114125
jekyll_get_json:
115-
- data: all_badged_people
116-
json: 'https://feeds.carpentries.org/all_badged_people.json'
117-
- data: all_past_workshops
118-
json: 'https://feeds.carpentries.org/all_past_workshops.json'
119-
- data: all_upcoming_workshops
120-
json: 'https://feeds.carpentries.org/all_upcoming_workshops.json'
121-
- data: badges_stats
122-
json: 'https://feeds.carpentries.org/badges_stats.json'
123126
# - data: community_lessons
124127
# json: 'https://feeds.carpentries.org/community_lessons.json'
125128
- data: help_wanted_issues
126129
json: 'https://feeds.carpentries.org/help_wanted_issues.json'
127-
- data: newsletter
128-
json: 'https://feeds.carpentries.org/newsletter.json'
130+
# - data: all_badged_people
131+
# json: 'https://feeds.carpentries.org/all_badged_people.json'
132+
# - data: badges_stats
133+
# json: 'https://feeds.carpentries.org/badges_stats.json'
134+
# - data: all_past_workshops
135+
# json: 'https://feeds.carpentries.org/all_past_workshops.json'
136+
# - data: all_upcoming_workshops
137+
# json: 'https://feeds.carpentries.org/all_upcoming_workshops.json'
129138

130139

131140
# The language setting is used in /includes/header.html for html-settings
132141
language: "en"
133142

134143
# Use an incremental build (if supported, see https://jekyllrb.com/docs/configuration/incremental-regeneration/)
135-
incremental: true
144+
incremental: false
136145

137146
# Used › default.html front-matter and compress.html
138147
# Options › http://jch.penibelst.de
@@ -143,8 +152,6 @@ compress_html:
143152
profile: false
144153
ignore:
145154
envs: [development]
146-
147-
148155
#
149156
# ____ ____ ____
150157
# / __ \___ / __/___ ___ __/ / /_
@@ -157,11 +164,11 @@ compress_html:
157164
defaults:
158165
-
159166
scope:
160-
path: "" # an empty string here means all files in the project
167+
path: "" # an empty string here means all files in the project
161168
type: "pages"
162169
values:
163-
show_meta: false # Hide metadata for all pages
164-
# sidebar: # Possible values › left, right › by default there will be no sidebar
170+
show_meta: false # Hide metadata for all pages
171+
# sidebar: # Possible values › left, right › by default there will be no sidebar
165172
comments: false
166173
author: admin # Default author for pages
167174
edit_on_github: true
@@ -176,8 +183,6 @@ defaults:
176183
author: admin # Default author for posts
177184
edit_on_github: true
178185

179-
180-
181186
# _ __ _ __ _
182187
# / | / /___ __ __(_)___ _____ _/ /_(_)___ ____
183188
# / |/ / __ `/ | / / / __ `/ __ `/ __/ / __ \/ __ \
@@ -188,8 +193,6 @@ defaults:
188193
# Open _data/navigation.yml to adjust the left and right topbar navigation
189194
#
190195

191-
192-
193196
# _____ __________
194197
# / ___// ____/ __ \
195198
# \__ \/ __/ / / / /
@@ -201,8 +204,6 @@ defaults:
201204
# bing_webmastertools_id: ""
202205
# alexa_verify_id: ""
203206

204-
205-
206207
# ______ _
207208
# / ____/___ __ __(_)________ ____ _____
208209
# / /_ / __ `/ | / / / ___/ __ \/ __ \/ ___/
@@ -220,26 +221,9 @@ apple-touch-icon-114x114-precomposed: "apple-touch-icon-114x114.png"
220221
apple-touch-icon-76x76-precomposed: "apple-touch-icon-76x76.png"
221222
apple-touch-icon-72x72-precomposed: "apple-touch-icon-72x72.png"
222223
apple-touch-icon-precomposed: "apple-touch-icon.png"
223-
msapplication_tileimage: "mstile-150x150.png" # Size 144x144
224+
msapplication_tileimage: "mstile-150x150.png" # Size 144x144
224225
msapplication_tilecolor: "#ffffff"
225226

226-
227-
# ______ __ __
228-
# / ____/___ _________ / /_ ____ ____ / /__
229-
# / /_ / __ `/ ___/ _ \/ __ \/ __ \/ __ \/ //_/
230-
# / __/ / /_/ / /__/ __/ /_/ / /_/ / /_/ / ,<
231-
# /_/ \__,_/\___/\___/_.___/\____/\____/_/|_| Facebook-Optimization › http://j.mp/fb_optimize
232-
233-
# https://developers.facebook.com/docs/sharing/best-practices#images
234-
## image should be 1200x630 (1.91:1 ratio)
235-
# og_image: "HPC-Carpentry-opengraph.png"
236-
# og_locale: "en_EN"
237-
# og_type: "website"
238-
# og_title: "HPC Carpentry"
239-
# og_description: ""
240-
# og_url: "http://www.hpc-carpentry.org"
241-
242-
243227
# _____ _ __ __ ___ ___
244228
# / ___/____ _____(_)___ _/ / / |/ /__ ____/ (_)___ _
245229
# \__ \/ __ \/ ___/ / __ `/ / / /|_/ / _ \/ __ / / __ `/
@@ -249,7 +233,6 @@ msapplication_tilecolor: "#ffffff"
249233
# Open _data/socialmedia.yml to adjust the left and right topbar navigation
250234
#
251235

252-
253236
# ____ _
254237
# / __ \(_)________ ___ _______
255238
# / / / / / ___/ __ `/ / / / ___/
@@ -261,6 +244,16 @@ msapplication_tilecolor: "#ffffff"
261244

262245
disqus_shortname: hpc-carpentry
263246

247+
# ______ __ __
248+
# / ____/___ _________ / /_ ____ ____ / /__
249+
# / /_ / __ `/ ___/ _ \/ __ \/ __ \/ __ \/ //_/
250+
# / __/ / /_/ / /__/ __/ /_/ / /_/ / /_/ / ,<
251+
# /_/ \__,_/\___/\___/_.___/\____/\____/_/|_|
252+
#
253+
# Facebook-Optimize <http://j.mp/fb_optimize> is deprecated.
254+
# If you wish to connect a page, automatic posting may have been sorted out in
255+
# the upstream repository: check
256+
# <https://github.com/carpentries/carpentries.org/blob/main/_config.yml>
264257

265258
# _____
266259
# / ___/____ ___________
@@ -270,9 +263,8 @@ disqus_shortname: hpc-carpentry
270263
#
271264

272265
sass:
273-
sass_dir: _sass
274-
style: :compressed
275-
266+
sass_dir: _sass
267+
style: :compressed
276268

277269
# ___ __ __ _
278270
# / | ____ ____ _/ /_ __/ /_(_)_________
@@ -284,20 +276,3 @@ sass:
284276
# used in _includes/footer_scripts
285277

286278
google_analytics_tracking_id: UA-180687781-1
287-
288-
289-
290-
# _ _ _
291-
# | |_ __ ___ _| | __| |_ ___
292-
# | __/ _` \ \ /\ / / |/ /| __/ _ \
293-
# | || (_| |\ V V /| < | || (_) |
294-
# \__\__,_| \_/\_/ |_|\_(_)__\___/ More › https://www.tawk.to/knowledgebase/
295-
#
296-
# tawk.to is a free live chat app that lets you monitor and chat
297-
# with visitors on your website or from a free customizable page
298-
#
299-
# To load the script add tawkto: true in front matter of each page
300-
#
301-
# used in _includes/footer_scripts
302-
303-
# tawkto_embed_uri:

_config_dev.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
#
21
# This config-file is only needed for development. Instead of changing the url
32
# every time you work locally on the project, you start both config-files, overwriting
43
# the first one with the development variables needed.
54
#
65
# Start development with › $ jekyll serve --config _config.yml,_config_dev.yml
6+
---
7+
url : "http://localhost:4000"
8+
baseurl : ""
9+
filesurl: "http://localhost:4000/files"
10+
urlimg: "http://localhost:4000/images"
711

8-
url: 'http://localhost:4000'
9-
baseurl: ''
10-
filesurl: 'http://localhost:4000/files'
11-
urlimg: 'http://localhost:4000/images'
12-
13-
# See › https://github.com/jekyll/jekyll-gist#disabling-noscript-support
12+
# See https://github.com/jekyll/jekyll-gist#disabling-noscript-support
1413
gist:
1514
noscript: false
1615

_config_netlify.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
url: 'https://stupefied-einstein-5bde90.netlify.com'
2-
baseurl: ''
3-
filesurl: 'https://stupefied-einstein-5bde90.netlify.com/files'
4-
urlimg: 'https://stupefied-einstein-5bde90.netlify.com/images'
1+
---
2+
url: "https://stupefied-einstein-5bde90.netlify.com"
3+
baseurl: ""
4+
filesurl: "https://stupefied-einstein-5bde90.netlify.com/files"
5+
urlimg: "https://stupefied-einstein-5bde90.netlify.com/images"
56

67
# See › https://github.com/jekyll/jekyll-gist#disabling-noscript-support
78
gist:

_data/authors.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# 3. Change default post/page authors in config.yml
66
#
77
# Resource › http://blog.sorryapp.com/blogging-with-jekyll/2014/02/06/adding-authors-to-your-jekyll-site.html
8-
admin: # replace this with your info
8+
---
9+
admin: # replace this with your info
910
name: "The HPC Carpentry Team"
1011
siterole: "webmaster"
1112
uri: https://www.hpc-carpentry.org/

_data/communities.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# These data feed the community cards on the /volunteer/ page
2+
---
23
- name: Instructors
34
image: /images/areej.jpg
45
description: Instructors teach workshops and are trained in evidence-based pedagogical practices.

0 commit comments

Comments
 (0)