Compare commits
10 Commits
2a9649c8ac
...
f7e5bad3da
Author | SHA1 | Date | |
---|---|---|---|
|
f7e5bad3da | ||
|
22793763c0 | ||
|
7cf0e9a93b | ||
|
df13c510a2 | ||
|
ff7bbce0e0 | ||
|
ed358f7efc | ||
|
d3754adad2 | ||
|
f26206627c | ||
|
814bd3bcd5 | ||
|
8ee37a2818 |
26
.config
Normal file
26
.config
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# 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"
|
1450
Markdown.pl
Executable file
1450
Markdown.pl
Executable file
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,8 @@
|
||||||
bashblog
|
bashblog
|
||||||
========
|
========
|
||||||
|
|
||||||
|
[![MyBlog](https://raw.githubusercontent.com/caylakpenguen/bashblog/master/screenshot.png)](https://caylak.freemyip.com)
|
||||||
|
|
||||||
A single Bash script to create blogs.
|
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.
|
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
10
bb.sh
|
@ -966,7 +966,7 @@ make_rss() {
|
||||||
# generate headers, footers, etc
|
# generate headers, footers, etc
|
||||||
create_includes() {
|
create_includes() {
|
||||||
{
|
{
|
||||||
echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url/$index_file\">$global_title</a></h1>"
|
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 "<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> "
|
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"
|
} > ".title.html"
|
||||||
|
|
||||||
|
@ -1029,16 +1029,16 @@ create_css() {
|
||||||
ln -s "../style.css" "main.css"
|
ln -s "../style.css" "main.css"
|
||||||
elif [[ ! -f main.css ]]; then
|
elif [[ ! -f main.css ]]; then
|
||||||
echo 'body{font-family:Georgia,"Times New Roman",Times,serif;margin:0;padding:0;background-color:#F3F3F3;}
|
echo 'body{font-family:Georgia,"Times New Roman",Times,serif;margin:0;padding:0;background-color:#F3F3F3;}
|
||||||
#divbodyholder{padding:5px;background-color:#DDD;width:100%;max-width:874px;margin:24px auto;}
|
#divbodyholder{padding:8px;background-color:#608cdd;width:100%;max-width:874px;margin:24px auto;}
|
||||||
#divbody{border:solid 1px #ccc;background-color:#fff;padding:0px 48px 24px 48px;top:0;}
|
#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;}
|
.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:0px auto;padding-top:24px;padding-bottom:8px;}
|
.header{width:100%;max-width:800px;margin:50px auto;padding-top:24px;padding-bottom:8px;color:#00557f;}
|
||||||
.content{margin-bottom:5%;}
|
.content{margin-bottom:5%;}
|
||||||
.nomargin{margin:0;}
|
.nomargin{margin:0;}
|
||||||
.description{margin-top:10px;border-top:solid 1px #666;padding:10px 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;}
|
h3{font-size:20pt;width:100%;font-weight:bold;margin-top:32px;margin-bottom:0;color:#67597f;}
|
||||||
.clear{clear:both;}
|
.clear{clear:both;}
|
||||||
#footer{padding-top:10px;border-top:solid 1px #666;color:#333333;text-align:center;font-size:small;font-family:"Courier New","Courier",monospace;}
|
#footer{padding-top:10px;border-top:solid 2px #666;color:#333333;text-align:center;font-size:small;font-family:"Courier New","Courier",monospace;}
|
||||||
a{text-decoration:none;color:#003366 !important;}
|
a{text-decoration:none;color:#003366 !important;}
|
||||||
a:visited{text-decoration:none;color:#336699 !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;}
|
blockquote{background-color:#f9f9f9;border-left:solid 4px #e9e9e9;margin-left:12px;padding:12px 12px 12px 24px;}
|
||||||
|
|
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
resimler/avatar.png
Normal file
BIN
resimler/avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 485 KiB |
Loading…
Reference in New Issue
Block a user