Commit 0f4cec8
committed
Enable downloading of codelib releases from GitHub
Modified codelib-tplt.html to use the new `use-github-for-downloads`
page variable to decide whether to make the download button in the
page header bar link to the current release page on GitHub instead of
a SourceForge direct download.
The SourceForge download remains the default if
`use-github-for-downloads` is set to false or is undefined.
The GitHub link is used when `use-github-for-downloads` is set to true.1 parent 5cac721 commit 0f4cec8
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | | - | |
23 | | - | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
0 commit comments