Compare commits

..

No commits in common. "f7e5bad3da50bb486b6b4bcf834e963ff009cdb0" and "2a9649c8ac89aa9d6c63d87a1df8d4bbbeb242cc" have entirely different histories.

7 changed files with 5 additions and 1483 deletions

26
.config
View File

@ -1,26 +0,0 @@
# Blog title
global_title="Çaylak My BASH Blogs"
# The typical subtitle for each blog
global_description="news, diary, journal, whatever"
# The public base URL for this blog
global_url="http://caylak.freemyip.com"
# Your name
global_author="CaylakPenguen"
# You can use twitter or facebook or anything for global_author_url
global_author_url="https://caylak.truvalinux.org.tr"
# Your email
global_email="caylak[a]penguen.tk"
global_github_username="caylakpenguen"
# Set to _blank if you want your github profile to open in a new tab/window. Default is _self
github_link_target="_self"
# Change this to your username if you want to use twitter for comments
global_twitter_username="caylakpenguen"
# Set this to false for a Twitter button with share count. The cookieless version
# is just a link.
# Set this to false for a Twitter button with share count. The cookieless version
# is just a link.
global_twitter_cookieless="true"
# Default search page, where tweets more than a week old are hidden
global_twitter_search="twitter"
#global_disqus_username="jakob-dalsgaard-blog"
global_twitter_card_image="resimler/avatar.png"

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,6 @@
bashblog
========
[![MyBlog](https://raw.githubusercontent.com/caylakpenguen/bashblog/master/screenshot.png)](https://caylak.freemyip.com)
A single Bash script to create blogs.
I created it because I wanted a very, very simple way to post entries to a blog by using a public folder on my server, without any special requirements and dependencies. Works on GNU/Linux, OSX and BSD.

10
bb.sh
View File

@ -966,7 +966,7 @@ make_rss() {
# generate headers, footers, etc
create_includes() {
{
echo "<img src="resimler/avatar.png" alt="avatar" border="0" align="right"> <h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url/$index_file\">$global_title</a></h1>"
echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url/$index_file\">$global_title</a></h1>"
echo "<div id=\"description\">$global_description <br/> <a href="all_posts.html">Post Archive</a> | <a href="https://caylak.truvalinux.org.tr/p/iletisim.html" target="_blank">Contact</a> </div> "
} > ".title.html"
@ -1029,16 +1029,16 @@ create_css() {
ln -s "../style.css" "main.css"
elif [[ ! -f main.css ]]; then
echo 'body{font-family:Georgia,"Times New Roman",Times,serif;margin:0;padding:0;background-color:#F3F3F3;}
#divbodyholder{padding:8px;background-color:#608cdd;width:100%;max-width:874px;margin:24px auto;}
#divbodyholder{padding:5px;background-color:#DDD;width:100%;max-width:874px;margin:24px auto;}
#divbody{border:solid 1px #ccc;background-color:#fff;padding:0px 48px 24px 48px;top:0;}
.headerholder{background-color:#f9f9f9;border-top:solid 1px #ccc;border-left:solid 1px #ccc;border-right:solid 1px #ccc;}
.header{width:100%;max-width:800px;margin:50px auto;padding-top:24px;padding-bottom:8px;color:#00557f;}
.header{width:100%;max-width:800px;margin:0px auto;padding-top:24px;padding-bottom:8px;}
.content{margin-bottom:5%;}
.nomargin{margin:0;}
.description{margin-top:10px;border-top:solid 1px #666;padding:10px 0;}
h3{font-size:20pt;width:100%;font-weight:bold;margin-top:32px;margin-bottom:0;color:#67597f;}
h3{font-size:20pt;width:100%;font-weight:bold;margin-top:32px;margin-bottom:0;}
.clear{clear:both;}
#footer{padding-top:10px;border-top:solid 2px #666;color:#333333;text-align:center;font-size:small;font-family:"Courier New","Courier",monospace;}
#footer{padding-top:10px;border-top:solid 1px #666;color:#333333;text-align:center;font-size:small;font-family:"Courier New","Courier",monospace;}
a{text-decoration:none;color:#003366 !important;}
a:visited{text-decoration:none;color:#336699 !important;}
blockquote{background-color:#f9f9f9;border-left:solid 4px #e9e9e9;margin-left:12px;padding:12px 12px 12px 24px;}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 KiB