CoderWiki: Page Titles [Overcomers]

User Tools

Site Tools


wikitech_page_titles

CoderWiki: Page Titles

To return to the Wiki Tech Notes index, click here.

Page titles:

This DokuWiki handles page titles, both in the browser title bar and in the page content, as follows:

1) Added the plugin “pagetitle”.

2) Required setting:

In "conf/dokuwiki.php":
$conf['useheading'] = 'navigation';

3) Required CSS code:

In "conf/userstyle.css":
 
.dokuwiki h1.pagetitle {
    color            : #ffd722 ;
    font-size        : 22pt    ;
    margin-bottom    : 24pt    ;
    text-align       : center  ;
}

4) Add a line similar to the following at the top of each normal content page:

<title>Put a short title here</title>

Note: Titles should be kept reasonably short as they take up space in the breadcrumbs list as well as in the title bar.

To return to the Wiki Tech Notes index, click here.

wikitech_page_titles.txt · Last modified: 2020/10/14 21:37 by poikilos