Code Monkey home page Code Monkey logo

hugo-projecthub-template's Introduction

Hugo Site Template

Template for a hugo site that supports short pearls, project hubs, blog and search

Features

  • Bootstrap, responsive site.
  • Project Hubs.
  • Short tweets/gems/pearls of wisdom etc.
  • Articles
  • Blog entries
  • Local javascript browser based search across pages using Lunr

Home Page Project Hub Search Page

How-to

  • Clone
  • Change config.toml
  • Install Hugo
  • Change static/img/brand_tn.jpg to your logo image - 48x48!
  • Background image for home page is also there.
  • Run deploy.sh dev and navigate to the URL it prints. You can see your site.
  • Change first line in deploy.sh to rsync up the developed site to your Apache/nginx/IIS. For syncup, you just need to run deploy.sh with no arguments. It will build and upload.
  • Sample content is organized in sub-directories in content. Take a look at that.
  • Content can be .html or .md. Samples are there.
  • Delete placeholder content in pearls, post, project, articles etc and add your own. Or simply add draft=true to the front matter - that should keep the file but not show it on the site (theory, not tested!)
  • If you change search/start.html, you should know what you are doing!
  • Search for "TODO" and change to appropriate content. eg: Your github/linkedin/facebook etc.

Layouts

  • See layouts - it is fairly self explanatory.
  • Currently the links are all to CDN hosted bootstrap, font-awesome, jquery etc. Change in layouts/partials/header.includes.html to change to other swatches or your own local stuff. If you build your own bootstrap look and feel, files have to go in static - under css, img, js etc.

Not supported

  • Big one: Hugo theme configuration is not considered.
  • Only one level of project directories are supported.

Credits

hugo-projecthub-template's People

Contributors

vsbabu avatar

Watchers

James Cloos avatar  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.