Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
image-analysis-training-resources
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bio-IT
image-analysis-training-resources
Commits
e1b907df
Verified
Commit
e1b907df
authored
5 years ago
by
Toby Hodges
Browse files
Options
Downloads
Patches
Plain Diff
use an assign to capture platform string
parent
0005aad4
No related branches found
Branches containing commit
No related tags found
1 merge request
!20
More advanced Jekyll setup
Pipeline
#9891
passed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/binarization.md
+5
-4
5 additions, 4 deletions
modules/binarization.md
with
5 additions
and
4 deletions
modules/binarization.md
+
5
−
4
View file @
e1b907df
...
...
@@ -85,20 +85,21 @@ Open an image and binarize it by applying a threshold.
{% assign first = true %}
{% endif %}
{% for platform in page.platforms %}
{% assign platstring = platform[0] %}
{% if first %}
<option
value=
"{{plat
form[0]
}}"
id=
"{{plat
form[0]
}}"
selected=
"selected"
>
{{plat
form[0]
}}
</option>
<option
value=
"{{plat
string
}}"
id=
"{{plat
string
}}"
selected=
"selected"
>
{{plat
string
}}
</option>
{% assign first = false %}
{% else %}
<option
value=
"{{plat
form[0]
}}"
id=
"{{plat
form[0]
}}"
>
{{plat
form[0]
}}
</option>
<option
value=
"{{plat
string
}}"
id=
"{{plat
string
}}"
>
{{plat
string
}}
</option>
{% endif %}
{% endfor %}
{% if page.platforms %}
</select>
{% endif %}
{% for platform in page.platforms %}
<div
id=
"{{plat
form[0]
}}"
>
<h4>
{{plat
form[0
]}}
</h4>
<div
id=
"{{plat
string
}}"
>
<h4>
{{plat
string
]}}
</h4>
{% assign includefile = platform[1] %}
{% capture my_include %}{% include {{includefile}} %}{% endcapture %}
...
...
This diff is collapsed.
Click to expand it.
Toby Hodges
@stamper
mentioned in commit
43d3eaab
·
5 years ago
mentioned in commit
43d3eaab
mentioned in commit 43d3eaab8b0ec2b9b2bfecb70028c9a843a72478
Toggle commit list
Toby Hodges
@stamper
mentioned in commit
ff10ae16
·
5 years ago
mentioned in commit
ff10ae16
mentioned in commit ff10ae16233513c9c5be67b2c856031f887926a1
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment