From 8b89dc4156decbe5ef98981724d1cf1324adcab8 Mon Sep 17 00:00:00 2001 From: Benjamin Sanders Date: Tue, 8 Jul 2025 19:19:31 -0400 Subject: fixed up a post removing a plus sign --- _layouts/post.html | 2 +- _site/feed.xml | 2 +- _site/jekyll-nginx.sh | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 _site/jekyll-nginx.sh diff --git a/_layouts/post.html b/_layouts/post.html index c3410b0..ead5d1c 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,7 +7,7 @@ layout: default {% endif %}

{{ page.title }}

- x + {{ content }} \ No newline at end of file diff --git a/_site/feed.xml b/_site/feed.xml index ec28f95..795205b 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1,4 +1,4 @@ -Jekyll2025-07-04T14:31:29-04:00http://localhost:4000/feed.xmlSanders Technology GroupWeb design and technology agency serving Northeast Georgia with beautiful, effective websites and technology solutions.Sanders Technology Groupsales@sanderstg.comHappy Fourth of July2025-07-04T00:00:00-04:002025-07-04T00:00:00-04:00http://localhost:4000/happy-4th-julyHappy Fourth of July from Your Friendly Neighborhood IT Shop!

+Jekyll2025-07-08T19:13:19-04:00http://localhost:4000/feed.xmlSanders Technology GroupWeb design and technology agency serving Northeast Georgia with beautiful, effective websites and technology solutions.Sanders Technology Groupsales@sanderstg.comHappy Fourth of July2025-07-04T00:00:00-04:002025-07-04T00:00:00-04:00http://localhost:4000/happy-4th-julyHappy Fourth of July from Your Friendly Neighborhood IT Shop!

This post marks a special occasion for us – not just because it’s Independence Day, but also because it’s the launch of our newly designed website! We’re excited to welcome you to this fresh online space that we’ve built with speed, ease of use, and clarity in mind.

diff --git a/_site/jekyll-nginx.sh b/_site/jekyll-nginx.sh new file mode 100644 index 0000000..634449d --- /dev/null +++ b/_site/jekyll-nginx.sh @@ -0,0 +1,83 @@ +#!/bin/bash + +# Exit on errors +set -e + +# Variables +USER_HOME="/data" +SITE_NAME="stg-jekyll" +BARE_REPO="$USER_HOME/repos/$SITE_NAME.git" +SITE_DIR="$USER_HOME/sites/$SITE_NAME" +PUBLIC_DIR="$SITE_DIR/html" +DOMAIN="sanderstechnologygroup.com" +NGINX_CONF="/etc/nginx/sites-available/$DOMAIN.conf" + +# Update and install dependencies +sudo apt update +sudo apt install -y ruby-full build-essential zlib1g-dev git nginx + +# Setup Ruby environment in .bashrc if not already present +if ! grep -q 'export GEM_HOME' "$USER_HOME/.bashrc"; then + echo 'export GEM_HOME="$HOME/gems"' >> "$USER_HOME/.bashrc" + echo 'export PATH="$HOME/gems/bin:$PATH"' >> "$USER_HOME/.bashrc" +fi + +# Load environment +export GEM_HOME="$USER_HOME/gems" +export PATH="$USER_HOME/gems/bin:$PATH" + +# Install Jekyll and Bundler +gem install jekyll bundler + +# Create directories +mkdir -p "$BARE_REPO" "$SITE_DIR" "$PUBLIC_DIR" + +# Setup Git bare repo +cd "$BARE_REPO" +git init --bare + +# Create post-receive hook +cat > hooks/post-receive < /dev/null <