diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-04-25 20:28:28 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-04-25 20:28:28 +0200 |
commit | dd3c8a4a11d886d5b440289c138e30cadf8dc1f2 (patch) | |
tree | 29161b6c56b702ef70a80dd6e0305c07142bdd95 /bb.sh | |
parent | 9ac5989932cfe06cd995dcdd1cfe5d5f0e03c7f0 (diff) | |
parent | 1f4d3dd2bf33aaf56f203e92b62914e694fca98f (diff) |
Merge pull request #105 from louwers/patch-1
Added support for images and made author field optional
Diffstat (limited to 'bb.sh')
-rwxr-xr-x | bb.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -438,7 +438,8 @@ create_html_page() { else echo "<div class=\"subtitle\">$(LC_ALL=$date_locale date +"$date_format" --date="$timestamp") — " fi - echo "$author</div>" + [[ -n $author ]] && echo " — $author" + echo "</div>" echo '<!-- text begin -->' # This marks the text body, after the title, date... fi cat "$content" # Actual content @@ -951,6 +952,7 @@ create_css() { #description{font-size:large;margin-bottom:12px;} h3{margin-top:42px;margin-bottom:8px;} h4{margin-left:24px;margin-right:24px;} + img{max-width:100%;} #twitter{line-height:20px;vertical-align:top;text-align:right;font-style:italic;color:#333;margin-top:24px;font-size:14px;}' > blog.css fi |