Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made changes to allow use of spefic favicons #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ global_variables() {
# HTML files to exclude from index, f.ex. post_exclude=('imprint.html 'aboutme.html')
html_exclude=()

# add specific favicon
# a favicon is used as logo/icon the blog in the browser
# use the realtiv path to it and it must be an .ico file
favicon=""
# Localization and i18n
# "Comments?" (used in twitter link after every post)
template_comments="Comments?"
Expand Down Expand Up @@ -954,6 +958,7 @@ create_includes() {
echo '<html xmlns="http://www.w3.org/1999/xhtml"><head>'
echo '<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />'
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0" />'
echo "<link rel="icon" type="image/vnd.microsoft.icon" href="$favicon">"
printf '<link rel="stylesheet" href="%s" type="text/css" />\n' "${css_include[@]}"
if [[ -z $global_feedburner ]]; then
echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$template_subscribe_browser_button\" href=\"$blog_feed\" />"
Expand Down