https://github.com/efforg/stop-sesta
https://github.com/efforg/stop-sesta
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/efforg/stop-sesta
- Owner: EFForg
- Created: 2017-08-24T23:45:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T19:11:05.000Z (over 7 years ago)
- Last Synced: 2025-02-22T13:57:04.477Z (over 1 year ago)
- Language: CSS
- Size: 1.84 MB
- Stars: 2
- Watchers: 13
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Install
1. Install Hugo
* On macOS: `brew install hugo`
* On Linux: install the [cross platform binary](https://gohugo.io/getting-started/installing/#quick-install) to get the latest version.
* Verify your installation by running `hugo version`. You should have version 0.26 or higher.
2. Install Node and npm
* ex. `brew install node` on macOS.
* Verify your installation by running `node -v` and `npm -v`.
3. `npm install` to install npm packages.
## Run locally
1. `npm start` to start the local server.
2. Visit `localhost:1313` in your browser.
## Editing the site
### Most of the HTML
The main site template is located at `layout/index.html`. It pulls in some partials from `layout/partials`.
### Logos
To add a logo:
1. Add it to `static/images/logos`.
2. Add a new entry to `data/logos` with the filename, org name, and org site url.
### Sass
The sass is located in the `sass` directory. Compiled sass goes in two places:
1. The `static/css` directory, which gets added directly to the site.
2. The `layouts/partials/ac_embed_styles.html` file. This is a little hack to let us inject the styles into the action center widget so we can style it more easily.
## Static assets
Static assets such as images and font files can be added to the `static` directory. They will be included in the public folder when the site is built.