Basic HTML
To get a working page, you'll need some standard HTML:
Then you will need to load the CSS (somewhere in the <head>
tag is a good choice):
You may need to load the JS, especially if you use some plugins (just before the </body>
tag is great):
Then you can setup the basic template
Setting up the topbar
The topbar appears on every page. It's code is pretty simple:
This will show a bar on the complete width of the window, with your site's name on the left and some quick access links (for the user's convenience) on the right.
To use the quick links, you will need to specify the icons to use:
Adding a sidebar
The sidebar is not required so if you don't need it, just don't put it in your code
if you want to hide the content of a menu, simply use the following HTML code:
As you can see, there is a built-in search form. If don't want it, you can simply remove the HTML. Your sidebar may not look as pretty, but it won't break anything.
Putting your content
To put your page's main content in one place, it's pretty simple: