|Jay 6d015ce062 backend development||5 days ago|
|_includes||4 weeks ago|
|_layouts||2 weeks ago|
|_sass||4 weeks ago|
|assets||1 month ago|
|blog||5 days ago|
|dev||2 weeks ago|
|pbx||2 weeks ago|
|404.md||1 month ago|
|Gemfile||1 month ago|
|Gemfile.lock||1 month ago|
|README.md||2 weeks ago|
|_config.yml||4 weeks ago|
|about.md||4 weeks ago|
|blog.md||1 month ago|
|compose.sh||4 weeks ago|
|dev.md||4 weeks ago|
|git.md||4 weeks ago|
|index.md||5 days ago|
|menu.md||4 weeks ago|
|pbx.md||4 weeks ago|
|placeholder.list||5 days ago|
|pushpost.sh||5 days ago|
|taglines.txt||4 weeks ago|
|tails.txt||4 weeks ago|
This is the main repository for pickmy.org's website. All the posts and custom code Jekyll uses to build the site.
The site is automatically built when I push stuff to the repository.
The VyprVPN page in /pbx is not generated by Jekyll. This is actually run by a different bash script and not part of this repository.
This uses jekyll-theme-console by b2a3e8 with a few modifications:
All other changes are made in the markdown. I broke CSS and most of my changes aren't working. Must fix sometime.
The concept of posts and pages the way they were with Wordpress are out the window. All posts are posts. All pages are posts.
I'm taking advantage of the fact I can make a folder, put a _posts folder under it, and Jekyll automatically categorizes those posts. This means there are three main types/categories of posts/pages:
Post images or external resources ARE NOT stored in this repository. You think I'm crazy?
Despite being a static site generator; pickmy.org has usually had some form of random text line on it's pages since it's inception. To this effect I have specified permalinks on everything using a new format so Jekyll outputs .php files.
taglines.txt and tails.txt is not the same one used on the site. That one is stored externally and symlinked when the site is built.
Currently (as of 10-SEP-2022), I am providing a list of IP's from VyprVPN that are attcking SIP servers. This is NOT generated by Jekyll directly. It exists as chunks of files that are catted together with iptables output in the middle. This automatically updates every 4 hours via CRON and the githook reincludes this file every time the site is rebuilt.
Compose.sh is a bash script becuase I'm lazy. It creates a file populated with front matter:
--- title: date: permalink: exceprt_seperator: ---
Post categories are determined by sub-folders automatically; in fact no posts exist in the default _posts folder for that reason. It also copies the file to the right spot based on what you tell it.
user@host:~/blogsite$ ./compose.sh blog Post Title Here
It's the blog category followed by the title. You don't have to enclose the title, the script automatically assumes every word after the first is the title.
Permalink is set to output .php extensions under /category/year/MON/day-title.php - modify how you need.