Sidebar
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| components:titlebar:index [2025/02/18 14:05] – admin | components:titlebar:index [2025/07/19 14:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| In the default settings, this is the big blue bar with the site title (“nuropa” for this site) and the site’s tagline underneath: | In the default settings, this is the big blue bar with the site title (“nuropa” for this site) and the site’s tagline underneath: | ||
| - | < | + | < |
| As with many other components, also this one has multiple customisation options, which are explained here on this page: | As with many other components, also this one has multiple customisation options, which are explained here on this page: | ||
| Line 12: | Line 12: | ||
| What is shown as the main title here is configurable via the “'' | What is shown as the main title here is configurable via the “'' | ||
| + | |||
| + | ==== Site name ==== | ||
| The default setting is “Site name”, which shows the title specified in the '' | The default setting is “Site name”, which shows the title specified in the '' | ||
| + | |||
| + | ==== Page name ==== | ||
| An alternative is to use “Page name” which uses the //first headline// in your page as the title to be shown here. This works similar to DokuWiki’s own [[config: | An alternative is to use “Page name” which uses the //first headline// in your page as the title to be shown here. This works similar to DokuWiki’s own [[config: | ||
| - | This will then also hide the first ''< | + | This will then also hide the first '' |
| In case the page title can not be determined, this shows the pageId instead (e.g. “components: | In case the page title can not be determined, this shows the pageId instead (e.g. “components: | ||
| + | |||
| + | ==== Static file ==== | ||
| The option “Static file” finally allows to use a file hook instead of one of the pre-defined headlines. Use the file name “'' | The option “Static file” finally allows to use a file hook instead of one of the pre-defined headlines. Use the file name “'' | ||
| + | For example, the following snippet: | ||
| + | |||
| + | <file html5 title.html> | ||
| + | < | ||
| + | < | ||
| + | <p class=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Will end up looking like this: | ||
| + | < | ||
| + | |||
| + | Obviously, this makes more sense if it doesn’t just replicate one of the built-in options but if you design a headline that is specific to your site. | ||
| ===== Tagline ===== | ===== Tagline ===== | ||
| - | The tagline is configured via DokuWiki’s '' | + | The tagline is configured via DokuWiki’s '' |
| Line 33: | Line 52: | ||
| This is managed via the “'' | This is managed via the “'' | ||
| + | |||
| + | ===== See also ===== | ||
| + | |||
| + | * [[banner|Banner bar]] | ||