From f9d08843e323f5473c4ef5e45e988b7542262567 Mon Sep 17 00:00:00 2001 From: Ivan Davydov Date: Thu, 20 Mar 2025 18:00:01 +0300 Subject: Add Git support from a PR in the upstream and customize for my website --- .config | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 .config (limited to '.config') diff --git a/.config b/.config new file mode 100644 index 0000000..ea3b033 --- /dev/null +++ b/.config @@ -0,0 +1,154 @@ +# Blog title +global_title="Блог самохостера Lotigara" +# The typical subtitle for each blog +global_description="Заметки какого-то школьника на тему ИТ" +# The public base URL for this blog +global_url="https://www.lotigara.ru/blog" +# organise the blog in a git-repo +git_repo="true" +git_push_on_commit="true" +git_push_options="" + +# Your name +global_author="Ivan Davydov" +# You can use twitter or facebook or anything for global_author_url +global_author_url="https://www.lotigara.ru" +# Your email +global_email="lotigara@lotigara.ru" + +# CC by-nc-nd is a good starting point, you can change this to "©" for Copyright +global_license="CC-BY" + +# If you have a Google Analytics ID (UA-XXXXX) and wish to use the standard +# embedding code, put it on global_analytics +# If you have custom analytics code (i.e. non-google) or want to use the Universal +# code, leave global_analytics empty and specify a global_analytics_file +global_analytics="" +global_analytics_file="" + +# Leave this empty (i.e. "") if you don't want to use feedburner, +# or change it to your own URL +global_feedburner="" + +# Change this to your username if you want to use twitter for comments +global_twitter_username="" +# Default image for the Twitter cards. Use an absolute URL +global_twitter_card_image="" +# 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" + +# Change this to your disqus username to use disqus for comments +global_disqus_username="" + + +# Blog generated files +# index page of blog (it is usually good to use "index.html" here) +index_file="index.html" +number_of_index_articles="8" +# global archive +archive_index="all_posts.html" +tags_index="all_tags.html" + +# Non blogpost files. Bashblog will ignore these. Useful for static pages and custom content +# Add them as a bash array, e.g. non_blogpost_files=("news.html" "test.html") +non_blogpost_files=("") + +# site map file +blog_sitemap="sitemap.xml" +# feed file (rss in this case) +blog_feed="feed.rss" +number_of_feed_articles="10" +# "cut" blog entry when putting it to index page. Leave blank for full articles in front page +# i.e. include only up to first '
', or '----' in markdown +cut_do="cut" +# When cutting, cut also tags? If "no", tags will appear in index page for cut articles +cut_tags="yes" +# Regexp matching the HTML line where to do the cut +# note that slash is regexp separator so you need to prepend it with backslash +cut_line='
' +# save markdown file when posting with "bb post -m". Leave blank to discard it. +save_markdown="yes" +# prefix for tags/categories files +# please make sure that no other html file starts with this prefix +prefix_tags="tag_" +# personalized header and footer (only if you know what you're doing) +# DO NOT name them .header.html, .footer.html or they will be overwritten +# leave blank to generate them, recommended +header_file=".header.template" +footer_file=".footer.template" +# extra content to add just after we open the tag +# and before the actual blog content +body_begin_file=".body_begin.template" +# extra content to add just before we close +body_end_file="" +# extra content to ONLY on the index page AFTER `body_begin_file` contents +# and before the actual content +body_begin_file_index="" +# CSS files to include on every page, f.ex. css_include=('main.css' 'blog.css') +# leave empty to use generated +css_include=("/var/www/html/css/main.css" "/var/www/html/css/responsivity.css" "/var/www/html/css/theme.css" "/var/www/html/css/third-party.css") +# HTML files to exclude from index, f.ex. post_exclude=('imprint.html 'aboutme.html') +html_exclude=() + +# Localization and i18n +# "Comments?" (used in twitter link after every post) +template_comments="Comments?" +# "Read more..." (link under cut article on index page) +template_read_more="Читать далее..." +# "View more posts" (used on bottom of index page as link to archive) +template_archive="Больше заметок" +# "All posts" (title of archive page) +template_archive_title="Все заметки" +# "All tags" +template_tags_title="Все метки" +# "posts" (on "All tags" page, text at the end of each tag line, like "2. Music - 15 posts") +template_tags_posts="заметок" +template_tags_posts_2_4="заметки" # Some slavic languages use a different plural form for 2-4 items +template_tags_posts_singular="заметка" +# "Posts tagged" (text on a title of a page with index of one tag, like "My Blog - Posts tagged "Music"") +template_tag_title="Заметки с меткой" +# "Tags:" (beginning of line in HTML file with list of all tags for this article) +template_tags_line_header="Метки:" +# "Back to the index page" (used on archive page, it is link to blog index) +template_archive_index_page="Вернуться к начальной странице" +# "Subscribe" (used on bottom of index page, it is link to RSS feed) +template_subscribe="Подписаться" +# "Subscribe to this page..." (used as text for browser feed button that is embedded to html) +template_subscribe_browser_button="Подписаться на эту страницу..." +# "Tweet" (used as twitter text button for posting to twitter) +template_twitter_button="Tweet" +template_twitter_comment="<Type your comment here but please leave the URL so that other people can follow the comments>" + +# The locale to use for the dates displayed on screen +date_format="%B %d, %Y" +date_locale="ru_RU.UTF-8" +date_inpost="bashblog_timestamp" +# Don't change these dates +date_format_full="%a, %d %b %Y %H:%M:%S %z" +date_format_timestamp="%Y%m%d%H%M.%S" +date_allposts_header="%B %Y" +# Data format for sitemap +date_format_sitemap="%Y/%m/%d" + +# Perform the post title -> filename conversion +# Experts only. You may need to tune the locales too +# Leave empty for no conversion, which is not recommended +# This default filter respects backwards compatibility +convert_filename="iconv -f utf-8 -t ascii//translit | sed 's/^-*//' | tr [:upper:] [:lower:] | tr ' ' '-' | tr -dc '[:alnum:]-'" + +# URL where you can view the post while it's being edited +# same as global_url by default +# You can change it to path on your computer, if you write posts locally +# before copying them to the server +preview_url="$HOME/bashblog/preview" + +# Markdown location. Trying to autodetect by default. +# The invocation must support the signature 'markdown_bin in.md > out.html' +[[ -f Markdown.pl ]] && markdown_bin=./Markdown.pl || markdown_bin=$(which Markdown.pl 2>/dev/null || which markdown 2>/dev/null) + +### CUSTOM OPTIONS +title_file=".title.template" +protect_email="" -- cgit v1.2.3