2021-11-30 17:58:03 +00:00
= Top bar
2021-07-24 21:04:14 +00:00
The **top bar** is present on every single page of the wiki. It is the primary navigation means.
On big screens, the top bar is spread onto two lines.
* First line
** Link to the [[/ | home page]]
** Search bar
** //If authorization is enabled,//
2022-01-02 19:00:20 +00:00
*** Link to your profile, //if logged in//
2021-07-24 21:04:14 +00:00
*** //If not logged in,//
**** Login link
**** Register link
* Second line, most used links. These are the defaults:
** Recent changes
** All hyphae
** Random
** Help
2022-04-09 08:30:11 +00:00
** Categories
2021-07-24 21:04:14 +00:00
On small screens, the authorization section and the most-used-links section are hidden behind a menu. Click the button to see them. If your browser does not support JavaScript, they are always shown.
2021-11-30 17:58:03 +00:00
== Using the top bar
2021-07-24 21:04:14 +00:00
Wiki administrators are meant to configure the top bar links. Here is what you should put there:
* Popular articles
* Lists of something
* Recent changes
* Whatever you want, but not too much, of course. The space is limited
2021-11-30 17:58:03 +00:00
== Configuring the links
2021-07-24 21:04:14 +00:00
//This section is for administrators only.//
To change the default link, you first have to choose a hypha where you will store the configuration. A good choice would be to store as a subhypha of an administrator's profile hypha. In `config.ini`, in the `[Hyphae]` section set the hypha:
```ini
...
[Hyphae]
HeaderLinksHypha = u/admin/header_links
...
```
Reload the wiki.
----
2022-04-09 08:30:11 +00:00
Edit the hypha. You can put any markup there. Only rocket links will be used for generating the top bar:
2021-07-24 21:04:14 +00:00
```myco
2022-04-09 08:30:11 +00:00
This paragraph is unused.
2022-02-01 10:53:13 +00:00
=> /recent-changes | Recent changes
2021-07-24 21:04:14 +00:00
=> Highlights
2022-02-01 10:53:13 +00:00
=> Philosophy | Our views on life
2021-07-24 21:04:14 +00:00
=> Essays
```
2022-01-02 19:00:20 +00:00
Now, for changes to take effect, a moderator or an administrator has to visit [[/update-header-links]].