Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softchris/blog-structure
the structure my blog uses
https://github.com/softchris/blog-structure
Last synced: 22 days ago
JSON representation
the structure my blog uses
- Host: GitHub
- URL: https://github.com/softchris/blog-structure
- Owner: softchris
- License: mit
- Created: 2019-07-30T16:35:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T05:20:20.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T13:43:03.062Z (about 1 month ago)
- Language: Vue
- Size: 73.2 KB
- Stars: 15
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
home: true
heroImage: ./hero-image.jpg
heroText: Your name
tagline: your tags
actionText: To the blog →
actionLink: /articles/
features:
- title: Blog
details: I write on a lot of topics.
- title: Author
details: about my book
footer: some footer
---This is not a normal page but the landing page of your blog
## Install
You should have the `vue-cli` installed:
```
yarn global add vuepress # OR npm install -g vuepress
```Then install all dependencies
```
npm install
```## Build
To build your static site:
```
vuepress build
```This will create something deployable at `./vuepress/dist`
## Developing
```
vuepress dev
```This will server your site at `http://localhost:8080`
## Adding blog articles
To add articles, create them under `/pages` directory. Ensure all articles follow the frontmatter YAML of `/pages/article.md`
## Assets
place any images under `.vuepress/public` or refer to them where they are relative to the page they are used in `./image.jpg`