A professional Jekyll website for cryptocurrency security tools and resources.
- ✅ Full English Content: All content and configuration in English
- ✅ Dark Theme Support: Toggle between light and dark themes with persistent preference
- ✅ Modern Responsive Layout: Professional header, footer, and navigation
- ✅ Blog System: Complete blogging functionality with posts, tags, and categories
- ✅ Core Pages: Home, About, Contact, and Blog pages
- ✅ SEO Optimized: Meta tags, sitemap, and robots.txt
- ✅ Code Syntax Highlighting: Beautiful code blocks with Rouge
- ✅ Accessibility Standards: ARIA labels and semantic HTML
- ✅ Professional Design: Clean, modern, and user-friendly interface
Before you begin, ensure you have the following installed:
- Ruby (version 2.5.0 or higher)
- RubyGems
- GCC and Make
brew install rubysudo apt-get install ruby-full build-essentialDownload and install from RubyInstaller
-
Clone the repository
git clone https://github.com/CryptoAttacker/tools.git cd tools -
Install dependencies
gem install bundler bundle install
-
Serve the site locally
bundle exec jekyll serve -
View in browser
Open your browser and navigate to
http://localhost:4000
.
├── _config.yml # Site configuration
├── _includes/ # Reusable components
│ ├── head.html # HTML head section
│ ├── header.html # Site header with navigation
│ └── footer.html # Site footer
├── _layouts/ # Page templates
│ ├── default.html # Base layout
│ ├── page.html # Page layout
│ └── post.html # Blog post layout
├── _posts/ # Blog posts
│ └── YYYY-MM-DD-title.md
├── _sass/ # SASS stylesheets
│ ├── base.scss # Base styles
│ ├── variables.scss # CSS variables for theming
│ ├── layout.scss # Layout styles
│ ├── pages.scss # Page-specific styles
│ └── syntax-highlighting.scss
├── assets/ # Static assets
│ ├── css/
│ │ └── main.scss # Main stylesheet
│ ├── js/
│ │ └── theme-toggle.js # Dark theme toggle
│ └── images/ # Image assets
├── index.html # Homepage
├── about.md # About page
├── contact.md # Contact page
├── blog.html # Blog listing page
├── 404.html # 404 error page
├── robots.txt # Search engine crawler rules
├── Gemfile # Ruby dependencies
└── README.md # This file
Edit _config.yml to customize your site:
title: CryptoAttacker Tools
description: Professional tools and resources for cryptocurrency security
author: CryptoAttacker
email: contact@cryptoattacker.com
url: "https://cryptoattacker.github.io"
baseurl: "/tools"Modify the navigation menu in _config.yml:
navigation:
- title: Home
url: /
- title: About
url: /about
- title: Blog
url: /blog
- title: Contact
url: /contactUpdate social media links in _config.yml:
social:
github: CryptoAttacker
twitter: cryptoattackerCreate a new file in _posts/ with the format YYYY-MM-DD-title.md:
---
layout: post
title: "Your Post Title"
date: 2024-01-15 10:00:00 +0000
categories: [category1, category2]
tags: [tag1, tag2]
author: Your Name
---
Your post content here...Create a new markdown file in the root directory:
---
layout: page
title: Your Page Title
permalink: /your-page/
description: Page description for SEO
---
Your page content here...The site includes a dark theme toggle with persistent preference storage:
- Toggle Button: Located in the navigation bar
- Automatic Detection: Respects system preferences by default
- Persistent: User's choice is saved in localStorage
- Smooth Transitions: CSS transitions for theme switching
Edit _sass/variables.scss to customize colors:
:root {
--bg-color: #ffffff;
--text-color: #333333;
--link-color: #2563eb;
// ... more variables
}
[data-theme="dark"] {
--bg-color: #1a1a1a;
--text-color: #e5e7eb;
--link-color: #60a5fa;
// ... more variables
}The site includes several SEO features:
- jekyll-seo-tag: Automatic meta tags
- Sitemap: Auto-generated XML sitemap
- robots.txt: Search engine crawler configuration
- Semantic HTML: Proper heading hierarchy and ARIA labels
- Open Graph: Social media sharing optimization
Code blocks are automatically highlighted using Rouge:
```python
def hello_world():
print("Hello, World!")
```Supported languages include Python, JavaScript, Ruby, HTML, CSS, and many more.
The site follows accessibility best practices:
- Semantic HTML5 elements
- ARIA labels on interactive elements
- Keyboard navigation support
- Focus indicators for keyboard users
- Color contrast ratios meeting WCAG AA standards
- Screen reader friendly content
-
Update
_config.yml:url: "https://cryptoattacker.github.io" baseurl: "/tools"
-
Push to GitHub:
git add . git commit -m "Deploy site" git push origin main
-
Enable GitHub Pages in repository settings
- Connect your GitHub repository to Netlify
- Build command:
jekyll build - Publish directory:
_site - Deploy!
Build the site and upload the _site directory:
bundle exec jekyll build
# Upload _site/ to your web serverCreate or edit files in _sass/ and they'll be automatically compiled.
Add JavaScript files to assets/js/ and include them in your layouts:
<script src="{{ '/assets/js/your-script.js' | relative_url }}"></script>The site uses Jekyll's default theme structure. You can:
- Modify existing SASS files in
_sass/ - Override layouts by creating files in
_layouts/ - Install a different Jekyll theme via Gemfile
Dependency errors:
bundle updatePort already in use:
bundle exec jekyll serve --port 4001CSS not updating:
bundle exec jekyll serve --force_pollingContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the MIT License.
- Documentation: Jekyll Documentation
- Issues: GitHub Issues
- Contact: contact@cryptoattacker.com
- Built with Jekyll
- Inspired by modern web design principles
- Dark theme implementation based on CSS custom properties
Made with ❤️ by CryptoAttacker