diff --git a/jekyll/Gemfile b/jekyll/Gemfile new file mode 100644 index 0000000..e5de555 --- /dev/null +++ b/jekyll/Gemfile @@ -0,0 +1,18 @@ +source "https://rubygems.org" + +gem "jekyll", "~> 4.3" +gem "minima", "~> 2.5" + +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", ">= 1", "< 3" + gem "tzinfo-data" +end + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin] + +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] \ No newline at end of file diff --git a/jekyll/README.md b/jekyll/README.md new file mode 100644 index 0000000..3f5ccc4 --- /dev/null +++ b/jekyll/README.md @@ -0,0 +1,88 @@ +# Jekyll Buttondown Example + +A static website built with Jekyll featuring an integrated Buttondown newsletter subscription form. + +## Getting Started + +### Prerequisites + +- Ruby 2.5 or higher +- RubyGems +- Bundler (`gem install bundler`) + +### Setup + +1. Clone this repository +2. Navigate to the Jekyll directory: + ```bash + cd jekyll + ``` + +3. Install dependencies: + ```bash + bundle install + ``` + +4. Update `_config.yml` and replace `{username}` with your Buttondown username: + ```yaml + buttondown_username: "your-actual-username" + ``` + +5. Run the development server: + ```bash + bundle exec jekyll serve + ``` + +6. Open http://localhost:4000 in your browser + +## Features + +- **Static Site Generation**: Jekyll converts Markdown files into a complete website +- **Newsletter Integration**: Buttondown subscription form embedded in every page +- **Blog Support**: Full blogging capabilities with posts, categories, and permalinks +- **Responsive Design**: Mobile-friendly layout +- **Client-side Form Handling**: JavaScript-powered form submission with status messages + +## Project Structure + +``` +jekyll/ +├── _config.yml # Jekyll configuration +├── _layouts/ +│ └── default.html # Main layout with newsletter form +├── _posts/ # Blog posts +│ └── 2025-07-22-welcome-to-jekyll.md +├── index.md # Homepage +├── about.md # About page +├── Gemfile # Ruby dependencies +└── README.md # This file +``` + +## Customization + +### Styling +Edit the ` + +
+