diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-09-02 15:31:18 +0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-09-02 15:31:18 +0800 |
commit | 1255eac7d9c0b0cdd364cde82e25ad99cb1471b1 (patch) | |
tree | cd8bd9ac43be633f89dd424a6dd13391351bc2a5 /source/template.html | |
parent | 24d78c8f76d091b44edc773e8465ea31431d0c20 (diff) | |
download | my_new_personal_website-1255eac7d9c0b0cdd364cde82e25ad99cb1471b1.tar.xz my_new_personal_website-1255eac7d9c0b0cdd364cde82e25ad99cb1471b1.zip |
Move nav-title and nav-author to :before
This is so that when CSS is disabled, the nav component is hidden
entirely instead of being displayed as two lines:
dl? cmplnts?
by Zhiming Wang
This for one makes the site look slightly nicer in text-based browsers,
e.g. w3m.
Diffstat (limited to '')
-rw-r--r-- | source/template.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/template.html b/source/template.html index 527e8375..f7e11237 100644 --- a/source/template.html +++ b/source/template.html @@ -35,8 +35,8 @@ $endif$ <body> <nav class="nav"> <a class="nav-icon" href="/" title="Home"><!--blog icon--></a> - <div class="nav-title"><a href="/" class="nav-link">dl? cmplnts?</a></div> - <div class="nav-author">by <a href="https://github.com/zmwangx" class="nav-link" target="_blank">Zhiming Wang</a></div> + <a class="nav-title" href="/"><!--blog title--></a> + <a class="nav-author" href="https://github.com/zmwangx" target="_blank"><!--blog author--></a> </nav> <article class="content"> $if(title)$ |