Skip to content

Commit 3a874eb

Browse files
committed
Copied over site contents
0 parents  commit 3a874eb

101 files changed

Lines changed: 10224 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Aditya Raj
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md‎

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Eleventy + Stylus Blog theme
2+
3+
[![Netlify Status](https://api.netlify.com/api/v1/badges/a180e099-11d2-49d4-9697-910d56980343/deploy-status)](https://app.netlify.com/sites/eleventy-stylus-blog-theme/deploys)
4+
[![Build Status](https://travis-ci.com/ar363/eleventy-stylus-blog-theme.svg?branch=main)](https://travis-ci.com/ar363/eleventy-stylus-blog-theme)
5+
[![Vercel Status](https://vercel-badge-ar363.vercel.app/?app=eleventy-stylus-blog-theme)](https://github.com/ar363/eleventy-stylus-blog-theme/deployments/activity_log?environment=Production)
6+
7+
A theme repository that contains a blog built with [Eleventy](https://github.com/11ty/eleventy) and [Stylus](https://stylus-lang.com/)
8+
9+
## Features
10+
- 100% Lighthouse scores
11+
- Toggleable dark theme (PS. theme preference is also stored in `localStorage`)
12+
- Tags as taxonomy
13+
- Stylus CSS preprocessor
14+
- Integrated with Eleventy's official [navigation plugin](https://www.11ty.dev/docs/plugins/navigation/)
15+
- Also generates Atom RSS Feed with Eleventy's official [RSS plugin](https://www.11ty.dev/docs/plugins/rss/)
16+
- Sitemap generation
17+
- Non-post pages support (eg. About page, Contact page)
18+
- Modular type scale implemented in with Stylus
19+
20+
## Demos
21+
22+
- Vercel: https://eleventy-stylus-blog-theme.vercel.app/
23+
- Netlify: https://eleventy-stylus-blog-theme.netlify.app/
24+
- Github Pages: https://ar363.github.io/eleventy-stylus-blog-theme/
25+
26+
## Screenshots
27+
28+
Light theme
29+
![light theme website homepage screenshot](screenshot.png?raw=true)
30+
31+
Dark theme
32+
![dark theme website homepage screenshot](screenshot-dark.png?raw=true)
33+
34+
## Deploy this template to your own site
35+
36+
Get your site up and running with a few clicks
37+
38+
- [Deploy on Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/ar363/eleventy-stylus-blog-theme)
39+
- [Deploy on Vercel](https://vercel.com/import/project?template=ar363%2Feleventy-stylus-blog-theme)
40+
41+
## Prerequisites for local development
42+
[Node.js LTS](https://nodejs.org/en/)
43+
44+
## Getting started locally
45+
46+
1. Clone this repo
47+
```
48+
git clone https://github.com/ar363/eleventy-stylus-blog-theme my-blog
49+
```
50+
51+
2. Navigate to the blog directory
52+
```
53+
cd my-blog
54+
```
55+
56+
3. Install dependencies
57+
```
58+
npm i
59+
```
60+
4. Edit `_data/site.js` according to your site preferences
61+
62+
5. Also optionally modify `stylus/abstracts/variables.styl` according to your preference
63+
64+
To watch for changes in Eleventy and Stylus, use `npm run dev`
65+
66+
To build without watching for changes, use `npm run build`

0 commit comments

Comments
 (0)