Giter Site home page Giter Site logo

DHTech website

This is the website for DHTech.

The site is implemented with Hugo and uses the Hugo Clarity theme.

Content management instructions

To have a page show up in the "featured posts" in the sidebar, simply add featured: true to the page metadata.

Setup instructions

Hugo setup

To set the site up locally for development or content editing, first follow the instructions to install Hugo. You can check that Hugo is installed with:

hugo version

This should result in output something like this:

hugo v0.110.0+extended darwin/amd64 BuildDate=unknown

The Clarity theme is currently installed as a Hugo module instead of a git submodule. Installing modules requires the Go language to be installed; we may instead want to use hugo mod vendor to write and check-in all modules into a local _vendor directory so that installing Go locally is not required for contributing to the site.

To run the site locally for development:

hugo server

Creating a new post

To create a new post on the command line, run:

hugo new -k post content/blog/YYYY-MM-DD-short-title.md 

To auto-fill in YYYY-MM-DD for the current date, you can use

hugo new -k post content/blog/`date +'%Y-%m-%d`-short-title.md 

The short-title or "slug" portion will be used for the URL, unless overridden in page parameters. In general, slugs should be lowercase and use dashes (kebab case).

News and announcements should be created under content/news and blog posts should be created under content/blog.

Static files such as images, slides, PDFs should be added to the top-level static/ folder; post images are generally under static/images/posts.

DHtech's Projects

dh-tech.github.io icon dh-tech.github.io

The international grass-roots community of Digital Humanities software engineers.

undate-python icon undate-python

A Python library for working with fuzzy, partial, or otherwise uncertain dates

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.