Giter Site home page Giter Site logo

darkk / hugo-theme-introduction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from victoriadrake/hugo-theme-introduction

0.0 3.0 0.0 725 KB

Minimal, single page, smooth scrolling theme for Hugo.

Home Page: http://themes.gohugo.io/hugo-theme-introduction/

License: Other

HTML 13.42% JavaScript 86.58%

hugo-theme-introduction's Introduction

A minimal, single page, smooth scrolling theme for Hugo.

Main page screenshot

Features:

  • Single scrolling home page
    • About section with profile photo
    • Contact section with option to show your local timezone
    • Optional Projects and Blog sections
  • Light and Dark themes
  • Browser friendly CSS fade-in effect for some pizzaz
  • Smooth scroll-to-section navigation
  • Responsive and fast

Quick start

Get the theme

From the root of your Hugo site:

$ cd themes
$ git clone https://github.com/hivickylai/hugo-theme-introduction.git introduction

Configure your site

From the exampleSite, copy config.toml to the root folder of your Hugo site and change the fields as you like.

Start with:

  1. Set your baseurl to your site's domain
  2. Set your blog's title and your first name
  3. Set your introduction header height (use "medium", "large", or "fullheight")
  4. Choose "light" or "dark" theme
  5. Set your avatar image
  6. Set your timezone, if you choose to show it
  7. Choose whether or not to show the Blog and Projects sections, and configure them to your liking
  8. Input your social site urls and font-awesome icon names - use as many as you like

Create About and Contact pages

Run:

$ hugo new about.md 
$ hugo new contact.md

Then edit the markdown files with the content you'd like shown in your main page's About and Contact sections.

Preview your site locally

Use Hugo's built-in server to see your site in action as you make changes.

$ hugo serve -t introduction

Visit localhost:1313 in your browser to see a live preview of your site.

Blog posts

To create a new blog post, run:

$ hugo new blog/your-post-title.md

Projects

To create a new project entry, run:

$ hugo new projects/your-project-name.md

Project front matter

Project parameters look like this:

---
title: "Design"
date: 2017-11-13T12:21:16-05:00
image: "img/plant.jpg"
external_link: ""
weight: 2
---

Projects are ordered on the main page by weight first, then by date.

The image will show up on the main page and in the project's details view. If you don't specify an image, the placeholderimg from your site's config.toml file will be used.

If you don't specify a title, only the photo will show. You can still add content to the file to "caption" the image, and this will show in the popup. (Great way to create a simple gallery!)

If you leave external_link empty, clicking on a project on your main page will pop up a window with the project's details. If you specify a url instead, clicking on the project on your main page will take you to that url.

License

This theme is released under the Creative Commons Attribution 3.0 license.

Contributing

Pull requests for bug fixes and suggestions are welcome.

Contributors are listed in CHANGELOG.md. Thank you so much! ๐Ÿ–ค

hugo-theme-introduction's People

Contributors

alanfran avatar chrislabarge avatar danieldiaz14 avatar kirederik avatar lucab85 avatar pmviva avatar

Watchers

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