Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| argonchanges [2025/08/04 13:59] – rajit | argonchanges [2025/08/06 11:24] (current) – rajit | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Small change to Argon template ====== | ====== Small change to Argon template ====== | ||
| - | I added an option to the nice Argon dokuwiki template to get rid of the left sidebar. Here are the changes I made: | + | I added an option to the nice Argon [[https:// |
| - | - Changes to '' | + | - Changes to '' |
| * Top of the file, below original line 10, add the line: <code php> | * Top of the file, below original line 10, add the line: <code php> | ||
| - | $showLeftSidebar = !tpl_getConf(' | + | $showLeftSidebar = !tpl_getConf(' |
| - | * Below original line 132 (133 after the above change), after the '' | + | * Below line 133 (original line 132, after the '' |
| <?php if ($showLeftSidebar) { ?></ | <?php if ($showLeftSidebar) { ?></ | ||
| + | * Around line 198, after the code< | ||
| + | <!-- center content --> | ||
| + | <main class=" | ||
| + | <?php } else { ?> | ||
| + | <main class=" | ||
| + | <?php }?></ | ||
| + | - Changes to '' | ||
| + | * Add: <code php> | ||
| + | - Changes to '' | ||
| + | * Add: <code php> | ||
| + | - Changes to '' | ||
| + | * Update line 657 from < | ||
| + | .col-md-auto, | ||
| + | .col-md-auto, | ||
| + | * Add < | ||
| + | .col-md-115 { | ||
| + | flex: 0 0 97.5%; | ||
| + | max-width: 97.5%; | ||
| + | }</ | ||
| + | - Changes to '' | ||
| + | * Add: <code php> | ||
| + | * Similar changes should be made for other languages as well. | ||
| + | |||
| + | With these changes, a new option should appear in the template configuration settings that allows you to turn off the left sidebar. | ||
| + | |||
| + | In addition, we use the following [[https:// | ||