-
Notifications
You must be signed in to change notification settings - Fork 38
Jinjafix #1272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Oa8choo2
wants to merge
6
commits into
main
Choose a base branch
from
jinjafix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Jinjafix #1272
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
630c7b3
fix jinja in sitepick
Oa8choo2 228f711
more j2lint fixes
Oa8choo2 ef7a481
more j2lint fixes
Oa8choo2 d20d247
fix linelenght in available_software.py
Oa8choo2 f6bf517
disable jinja rule in shell script
Oa8choo2 651477e
file extensions in lower-case
Oa8choo2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| {%- macro LinuxManualURL(OS, site) -%} | ||
| <!--- change url once deployed! ---> | ||
| [the chapter titled "Uploading/downloading/editing files", section "Symlinks for data/scratch" in the intro to Linux](localhost:8000/{{ site }}/{{ OS }}/intro-Linux/uploading_files/#symlinks-for-datascratch) | ||
| {% endmacro %} | ||
| {% macro LinuxManualURL(OS, site) %} | ||
| <!-- change url once deployed! --> | ||
| [the chapter titled "Uploading/downloading/editing files", section "Symlinks | ||
| for data/scratch" in the intro to Linux](localhost:8000/{{ site }}/{{ OS | ||
| }}/intro-Linux/uploading_files/#symlinks-for-datascratch) | ||
| {% endmacro %} |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| {%- macro nb(content) %} | ||
| {% macro nb(content) %} | ||
| <span style="white-space: nowrap;">{{ content }}</span> | ||
| {% endmacro %} | ||
| {% endmacro %} |
File renamed without changes.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| {% if site == leuven %} | ||
| [//]: # (Add include if needed) | ||
| {% elif site == antwerpen %} | ||
| {% include "antwerpen/available-modules.md" %} | ||
| {% include "antwerpen/available-modules.md" %} | ||
| {% elif site == brussel %} | ||
| [//]: # (Add include if needed) | ||
| {% elif site == gent %} | ||
| {% include "gent/available-modules.md" %} | ||
| {% include "gent/available-modules.md" %} | ||
| {% endif %} |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| {% macro sitepick(ant_home_url, gent_home_url, brussel_home_url, leuven_home_url) %} | ||
| # Please select your site: | ||
|
|
||
| {%- if ant_home_url %} | ||
| {% if ant_home_url %} | ||
| [Antwerpen]({{ ant_home_url }}){ .md-button } | ||
| {%- endif %} | ||
| {%- if gent_home_url %} | ||
| {% endif %} | ||
| {% if gent_home_url %} | ||
| [Gent]({{ gent_home_url }}){ .md-button } | ||
| {%- endif %} | ||
| {%- if brussel_home_url %} | ||
| {% endif %} | ||
| {% if brussel_home_url %} | ||
| [Brussel]({{ brussel_home_url }}){ .md-button } | ||
| {%- endif %} | ||
| {%- if leuven_home_url %} | ||
| {% endif %} | ||
| {% if leuven_home_url %} | ||
| [Leuven]({{ leuven_home_url }}){ .md-button } | ||
| {%- endif %} | ||
| {% endif %} | ||
| {% endmacro %} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Oa8choo2 Are you sure the
{%is perfectly equivalent?The
{%-does whitespace trimming I think, see also https://jinja.palletsprojects.com/en/stable/templates/#whitespace-control