diff options
| author | Doge <guiqiqi187@gmail.com> | 2021-05-15 18:34:57 +0800 | 
|---|---|---|
| committer | Doge <guiqiqi187@gmail.com> | 2021-05-15 18:34:57 +0800 | 
| commit | 2a9eb5496009acc213aa5da453f1101ec2a0c723 (patch) | |
| tree | d2ad887767b5b039eb413054392cef522b51fd24 /layout/_partial | |
| parent | a5815b46faec029a4f74f61352c7f31cf2a6b1e5 (diff) | |
| download | chromate-2a9eb5496009acc213aa5da453f1101ec2a0c723.tar.gz chromate-2a9eb5496009acc213aa5da453f1101ec2a0c723.tar.bz2 chromate-2a9eb5496009acc213aa5da453f1101ec2a0c723.zip | |
Resize header page in not index pages
Diffstat (limited to 'layout/_partial')
| -rw-r--r-- | layout/_partial/header.ejs | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 46c5fc5..34097f7 100644 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -1,4 +1,8 @@ +<% if (is_post()) { %>  +<section class="hero is-medium auto-dark"> +<% } else { %>   <section class="hero is-large auto-dark"> +<% } %>      <div class="hero-head">          <header class="navbar" aria-label="main navigation">              <div class="container"> | 
