mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-08 12:11:11 -06:00
Link header image to homepage
This commit is contained in:
@@ -589,4 +589,8 @@ blockquote {
|
||||
background-color: var(--c-black-background);
|
||||
padding: 5px;
|
||||
}
|
||||
.mobile-banner a img {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -392,7 +392,7 @@ class ModifyBuild
|
||||
|
||||
def build_header_html
|
||||
%Q{
|
||||
<div class="header"><img src="banner.png"></div>
|
||||
<div class="header"><a href="/"><img src="banner.png"></a></div>
|
||||
}
|
||||
end
|
||||
|
||||
@@ -782,7 +782,7 @@ class ModifyBuild
|
||||
def insert_mobile_header_graphic(text)
|
||||
doc = build_doc(text)
|
||||
content = doc.css(".TOC.menu")[0]
|
||||
content.after('<div class="mobile-banner"><img src="banner.png" /></div>')
|
||||
content.after('<div class="mobile-banner"><a href="/"><img src="banner.png" /></a></div>')
|
||||
doc.to_html
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user