This is a 'theme' (or Layout) for Wolf CMS. It is designed to be a fairly simple drop-in responsive theme.
Features
A minimally tweaked version of Baseline, a simple boilerplate for the Skel responsive framework; MIT licensed. Please consult the full documentation for Skel-Baseline to further customize this layout.
Also note:
- main menu in the header;
- 'perpetual' ('rolling') navigation in sidebar/footer: always points up to parent page (if there is one), and down to any child pages (if there are any) from the current page;
- images resize with screen size;
- uses the Flexbox sticky-footer system (progressive enhancement).
- In your Wolf admin, go to
Files > themes
and upload the/baseline
folder (or use FTP to upload the/baseline
folder to your Wolf installation's/public/themes
directory). - Go the
Snippets
tab, and create new snippet calledbaselineExtraNav
(observe the camelCase). Copy/paste the contents of thebaselineExtraNav.php
file into the body of this snippet; make sure filter is set to--none--
. Save. - Go to the
Layouts
tab, and create a new layout calledBaseline
, with the Content-Type oftext/html
. Copy/paste the contents of thebaseline-layout.html
file into the body of this layout. Save. - Optionally, open go to the
Pages
tab, and open theArticles
for editing. Replace thesidebar
code with the contents of theArticles-sidebar.php
file. (This new code prevents the archive listing from appearing twice on this page in a default Wolf installation.) - Go to the
Pages
tab, and open theHome Page
for editing. Under theSettings
tab, chooseBaseline
from the Layout drop-down. Save.
Your site is now using the Baseline Layout!
Enjoy!
Nota bene! The path to the CSS files must be correctly set in /baseline/js/init.js
(set on six different lines). If your installation of Wolf is in the root directory of your website, it ought to work out-of-the-box. If Wolf is in a subdirectory, the path statements must be adjusted. By default, init.js
has this path statement:
href: '/public/themes/baseline/css/...
If Wolf was in the /wolf/
subdirectory, the statement should read:
href: '/wolf/public/themes/baseline/css/...
Also, the landing page markup is in style.css
:
#banner
hasbackground: #E2FBF4;
- the accent
color:
is#49bf9d;
Otherwise, most of the Wolf-specific CSS is in /baseline/css/wolf-styles.css
.
20141222 - first public release
Please use the Github repo's issue tracker to log any bugs or enhancement requests. Thank you!