https://github.com/bccp/website
source for bccp.berkeley.edu
https://github.com/bccp/website
Last synced: 10 months ago
JSON representation
source for bccp.berkeley.edu
- Host: GitHub
- URL: https://github.com/bccp/website
- Owner: bccp
- Created: 2015-02-10T01:47:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-05-22T17:54:48.000Z (about 1 year ago)
- Last Synced: 2025-05-22T19:06:03.642Z (about 1 year ago)
- Language: Python
- Size: 12.4 MB
- Stars: 1
- Watchers: 4
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
website
=======
Source for Nikola-built website for bccp.berkeley.edu.
With [nikola](http://getnikola.com) (v7.0+) installed:
- `nikola build` will build the site in the `output` directory.
- `nikola serve` will start a local webserver to preview the site.
The site uses a custom theme based on nikola's built-in bootstrap3
theme. The custom theme allows us to:
- use a drop-in bootstrap.css replacement from bootswatch.
- Tweak various aspects of the generated HTML, such as titles, links
and listings.
Logo
----
There are a few logo files in the `files` directory:
- `logo.svg`: An "Inkscape SVG" file, which is the main source.
- `logo_54.png`: A PNG generated by exporting the logo in Inkscape.
- `logo_square.svg`: Inkscape SVG file with just the logo part (no text).
- `logo_square_32.ico`: A favicon used in the site. Generated from the
by exporting the square logo to PNG in Inkscape then converting
using ImageMagick: `convert logo_square_32.png logo_square_32.ico`.
Subsites
--------
We are testing out a way to include static subsites for conferences. The current protocol
is to
- add the content of the subsite as a github repository. ('website-xxxxx')
- add a line in subsites.txt with four entries (separated by vertical line "|"
.. code::
repourl | sitename | sitetype | relpath
where sitetype can be `html` or `nikola`. relpath can be "." (for html) or "output" for nikola.
The bot on the server will clone and copy relpath to the subsite.