Giter Club home page Giter Club logo

psadil-academia's Introduction

academia-ipsum

A template for building an academic website with using Pelican Static Site Generator, powered by Python. Based on the academia theme. See it in action at http://people.umass.edu/whopper

Dependencies

An installation of Python. If you don't have python installed already installed, you can install the most recent Python release from here. Alternatively, you can install base python along with many commonly used packages by installing the Anaconda Python distribution.

Once you have installed Python, open a python shell and the install the Pelican and Markdown packages

pip3 install Pelican Markdown
# or simply pip, if you have Python 2.x

To take advantage of the Makefile for automated deployment options, make sure you have make intalled and accessible on your path.

Installation

The simplest way to get started is to download and extract the zip file for this repo. If you care about getting updates for the [academia] theme, then you should either clone or fork this repository (see these links for how-to's in case your are not familiar with these operations).

Customization

Once you have a copy of this repo on your computer, start customizing the content! It helps to read through the Pelican documentation before getting started, to have an idea about what all this is about, and to consult the documentation throughout your setup process.

To customize the site and add your own content, you should be familiar with Markdown. If you are not, see the syntax guide to get up to speed.

Pelicanconf

In the pelicanconf.py file, be sure to update the following settings to real values:

AUTHOR = 'First M. Last'
SITENAME = 'First M. Last'
SITESUBTITLE = 'Things and Stuff, Stuff and Things'
SITEURL = 'localhost:8000'
THEME = './academia'
AVATAR = 'blank_avatar.png'
## If you don't have a github page or don't want to share your email, etc.,
## you can delete the entire entry for that item to remove it from the sidebar
LINKS = (('cv', 'path/to/your/CV.pdf'),
         ('email', 'mailto:username@domain_name'),
         ('github', 'https://github.com/your_real_username'))

Files

The files misc/Fake_CV.pdf and img/blank_avatar.png are place holders you should replace with your own C#avatarV and picture.

Pages

There are 5 files in the content/pages directory: publications.md, presentations.md, code.md, courses.md, and home.md. The publications, presentations, code, and courses files are meant to be lists of publications, presentations, etc., with links to accompanying content. You should customize these boilerplate lists with your own content.

When linking to static content (e.g., pdfs, powerpoints, etc.,) from these pages, be sure to prefix the path to these files with {filename}, to ensure the links are correctly generated by Pelican.

The home.md file is special: its content is injected into the home page. It is recommended to keep the status option in the header for this file set to hidden, to avoid generating an extra entry for it in the navigation bar.

Blog

The files in the content/posts directory are used to create the blog posts. Two fake blog posts are included in the files blog1.md and blog2.md for demonstration purposes.

Producing Content

To see your site and test out changes, start up the development web server by running make devserver in the directory where your Pelican site is set up, and navigate your web browser to http://localhost:8000

For information on publishing your site, read the publishing docs

To sync local content

make rsync_upload

If you need to checkout the pages that were uploaded, use

psadil-academia's People

Contributors

wjhopper avatar psadil avatar

Stargazers

Alessandro Corbetta avatar

Watchers

James Cloos avatar Alessandro Corbetta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.