Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Website reorganization #1272

Merged
merged 31 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c5b9dc2
rm unnecessary person data file
maneesha May 3, 2024
75b9ff1
rm unused blog images
maneesha May 3, 2024
5eade82
rm more unused images
maneesha May 3, 2024
79eed1f
rm unused pages
maneesha May 3, 2024
c571a01
rebasing/merge conflicts
maneesha Jul 15, 2024
b5edaa0
move feed, humans, sitemap, etc to root
maneesha May 3, 2024
f944240
rm unnecessary feeds pages
maneesha May 3, 2024
5869442
remove all general content from homepage
maneesha May 3, 2024
acb38c9
use same includes workshops table template from carpentries site
maneesha May 3, 2024
a5b8712
make past/upcoming workshops use includes block
maneesha May 3, 2024
0dff03f
remove old graph images
maneesha May 3, 2024
7369837
move history content to home page
maneesha May 3, 2024
5568b1c
move about content to home page
maneesha May 3, 2024
97b6389
rm more unused image files
maneesha May 3, 2024
fbf0492
fix yaml frontmatter for workshop list pages
maneesha May 3, 2024
819c7db
start updating main nav menu
maneesha May 3, 2024
b007c56
add netlify config file
maneesha May 3, 2024
594a606
update workshops past/upcoming links in main nav menu
maneesha May 3, 2024
76f42e1
fix links to upcoming/past workshops
maneesha May 3, 2024
cf30d8e
rm services etc from footer
maneesha May 3, 2024
3e27c14
rm orgs from includes
maneesha May 3, 2024
a659295
rm projects from includes
maneesha May 3, 2024
0408faf
rm duplicate file
maneesha Jul 15, 2024
582e151
extra slashes in netlify urls
maneesha Jul 15, 2024
eab7b37
add build netlify file
maneesha Jul 15, 2024
b1687ed
update permissions on netlify script
maneesha Jul 15, 2024
46cbcef
fix infinite redirect loop
maneesha Jul 15, 2024
946e67e
add menu option to The Carpentries
maneesha Jul 15, 2024
15916d7
rm buy-things
maneesha Jul 15, 2024
828752f
rm additional reading
maneesha Jul 15, 2024
2fe4d47
rm link to previous video lessons
maneesha Jul 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 38 additions & 0 deletions _build_netlify.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash

URL="$1"

cat > _config_netlify.yml <<EOF

#
# This config-file is only needed for development. Instead of changing the url
# everytime you work locally on the project, you start both config-files, overwriting
# the first one with the development variables needed.
#
# Start development with › $ jekyll serve --config _config.yml,_config_dev.yml

url: '$URL'
baseurl: ''
filesurl: '$URL/files'
urlimg: '$URL/images'

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

sass:
# http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
style: :expanded
line_numbers: true
# trace_selectors: true
# debug_info: true
# FUTURE https://github.com/jekyll/jekyll-sass-converter/issues/12
sourcemap: true

# Disable when not in production
google_analytics_tracking_id: false

EOF

make get_remote
bundle exec jekyll build --config _config.yml,_config_netlify.yml --future --limit_posts 10
25 changes: 25 additions & 0 deletions _config_netlify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@


url: 'https://swcarpentry-website-preview.netlify.app/'
baseurl: ''
filesurl: 'https://swcarpentry-website-preview.netlify.app/files'
urlimg: 'https://swcarpentry-website-preview.netlify.app/images'

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

sass:
# http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
style: :expanded
line_numbers: true
# trace_selectors: true
# debug_info: true
# FUTURE https://github.com/jekyll/jekyll-sass-converter/issues/12
sourcemap: true

# Disable when not in production
google_analytics_tracking_id: false

# display future posts in PR previews
future: true
Loading
Loading