-
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1272 from swcarpentry/website-reorg-may2024
Website reorganization
- Loading branch information
Showing
696 changed files
with
320 additions
and
49,499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.