Skip to content

legacysurvey/legacysurvey

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

legacysurvey

Overview

Source for Nikola-built website for the Legacy Survey.

With nikola (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.

Deployment

To simplify the preparation of site for deployment, a Makefile handles several steps, so that this simple command prepares a TAR file that can be copied to NERSC:

make TAG=9.0.2

In this example, the output would be legacysurvey-9.0.2.tar.gz.

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.