Giter Site home page Giter Site logo

kakawait / hugo-tranquilpeak-theme Goto Github PK

View Code? Open in Web Editor NEW
918.0 14.0 528.0 17.56 MB

A gorgeous responsive theme for Hugo blog framework

Home Page: https://tranquilpeak.kakawait.com

License: GNU General Public License v3.0

JavaScript 21.27% HTML 27.65% SCSS 50.46% Shell 0.62%
hugo tranquilpeak theme blog gorgeous-responsive-theme syntax-highlighting responsive hugo-theme blog-theme hacktoberfest

hugo-tranquilpeak-theme's Introduction

Tranquilpeak

Twitter Follow

A gorgeous responsive theme for Hugo blog framework.

Tranquilpeak

Alpha/Beta versions

ATTENTION during alpha or beta versions breaking changes are possible on config file.

You can track breaking changes label.

How can I migrate my current version? Please read CHANGELOG.md.

Summary

General

Features

General features:

  • Fully responsive
  • Optimized for tablets & mobiles
  • Configurable menu of the sidebar
  • Pages to filter tags, categories and archives
  • Background cover image
  • Beautiful about page
  • Support Open Graph protocol
  • Easily customizable (fonts, colors, layout elements, code coloration, etc..)
  • Support internationalization (i18)

Posts features:

  • Thumbnail image
  • Cover image
  • Responsive videos & images
  • Sharing options
  • Navigation menu
  • GitHub theme for code highlighting (customizable)
  • Image gallery
  • Tags for images (FancyBox), wide images, tabbed code blocks, highlighted text, alerts
  • Table of contents

Integrated services:

  • Disqus
  • Gitlak
  • Google analytics
  • Gravatar
  • Facebook Insights

Missing features from original Hexo version

  • Algolia (#8)
  • Pagination customization tagPagination, categoryPagination and archivePagination (#17)

ATTENTION following features will not be possible due to Hugo limitations

  • Archives pages by years /archives/2015
  • Archives pages by month /archives/2015/01

Quick start

Please read user documentation, it's short and useful to discover all features and possibilities of the theme, especially the writing posts section

For people who want to use the original version of Tranquilpeak without modifications (users)

Go to the directory where you have your Hugo site and run:

mkdir themes
cd themes
git clone https://github.com/kakawait/hugo-tranquilpeak-theme.git

After installing the Tranquilpeak theme successfully, we recommend you to take a look at the exampleSite directory. You will find a working Hugo site configured with the Tranquilpeak theme that you can use as a starting point for your site.

First, let's take a look at the config.toml. It will be useful to learn how to customize your site. Feel free to play around with the settings.

More information on user documentation to install and configure the theme

For people who want to create their own version of tranquilpeak (developers)

  1. Run git clone https://github.com/kakawait/hugo-tranquilpeak-theme.git
  2. Follow developer documentation to edit and build the theme

Demo

Check out Tranquilpeak theme in live : hugo-tranquilpeak-theme demo

Showcase

Checkout showcase https://tranquilpeak.kakawait.com/2015/06/who-is-using-tranquilpeak-hugo-theme/

How can I add my site to the showcase

Click here to add your blog into the showcase.

Please fill the following information:

  1. public url
  2. name (optional)
  3. description (optional)

Documentation

If it's your first time using Hugo, please check Hugo official documentation

For users

To install and configure the theme, consult the following documentation : user documentation

For developers

To understand the code, the workflow and edit the theme, consult the following documentation : developer documentation

Contributing

All kinds of contributions (enhancements, features, documentation & code improvements, bugs reporting) are welcome.

Read guidelines for contributing for more information.

Credits

Hugo version of Tranquilpeak is a based on original Hexo version https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak. This version is simply a port to Hugo static site generator.

License

hugo-tranquilpeak-theme is released under the terms of the GNU General Public License v3.0.

hugo-tranquilpeak-theme's People

Contributors

bep avatar blaubaer avatar dependabot[bot] avatar dojineko avatar dominhhai avatar duval1024 avatar ebouchut avatar jeremywho avatar johnsoncodehk avatar jose-oc avatar kakawait avatar kslhacks avatar kvaps avatar martin1001 avatar matthieugouel avatar mbravorus avatar nikin2 avatar petems avatar phillc avatar ricjhill avatar riton avatar ruevko avatar sascha-wolf avatar stiliajohny avatar tnir avatar toriumi0118 avatar xenlo avatar yamila-moreno avatar yihui avatar zacbook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hugo-tranquilpeak-theme's Issues

sidebar showing posts

My sidebar menu is showing my posts (I currently only have 2), any idea what is going on here? I'd just like to show the menu items with no posts. I have the default sidebar menu configuration.

sidebar

event widget or site

  • show events on a separate site or as a sidebar widget
  • datasource should be an caldav server

Failed to load translations in file "en.yaml"

I tried to build a site with this theme and was given the following error:

$ hugo -d ../libmb.github.io/ -t hugo-tranquilpeak-theme -D
Started building sites ...
Error: Error building site: Failed to load translations in file "en.yaml": failed to load en.yaml because yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `en-us.yaml` into []map[string]interface {}

I noticed that the en.yaml file did not contain valid yaml but looked like it was linking to the en-us.yaml file. I copied the contents of en-us.yaml to en.yaml and I was able to build my site.

Add prism.js support

Hi,

Is it possible to use another code block type ?

The one currently used isn't very "sexy".

Clean/Upgrade npm package

 async                  ^1.5.2  →   ^2.1.2
 jsdom                  ^8.1.0  →   ^9.8.3
 jquery                 ^2.2.4  →   ^3.1.1
 strip-indent           ^1.0.1  →   ^2.0.0
 eslint                ^2.11.1  →  ^3.10.2
 eslint-config-google   ^0.5.0  →   ^0.7.0
 grunt                  ^0.4.5  →   ^1.0.1
 grunt-bower           ^0.18.0  →  ^0.21.3
 grunt-contrib-clean    ~0.5.0  →   ~1.0.0
 grunt-contrib-concat   ^0.5.0  →   ^1.0.1
 grunt-contrib-copy     ~0.4.1  →   ~1.0.0
 grunt-contrib-cssmin  ^0.12.0  →   ^1.0.2
 grunt-contrib-uglify   ^0.7.0  →   ^2.0.0
 grunt-contrib-watch    ^0.6.1  →   ^1.0.0
 grunt-exec             ^0.4.6  →   ^1.0.1
 grunt-sails-linker    ^0.10.1  →   ^1.0.4
 grunt-sass              1.1.0  →    1.2.1
 grunt-sync             ^0.2.3  →   ^0.6.2
 include-all            ^0.1.6  →   ^2.0.0
 load-grunt-tasks       ~0.2.0  →   ~3.5.2

The following dependencies are satisfied by their declared version range, but the installed versions are behind. You can install the latest versions without modifying your package file by using npm update. If you want to update the dependencies in your package file anyway, use ncu -a/--upgradeAll.

 marked   ^0.3.5  →   ^0.3.6
 moment  ^2.13.0  →  ^2.16.0
 bower   ^1.3.12  →   ^1.8.0

Run ncu with -u to upgrade package.json

number of month is shown instead of day

I configure my preferred dateFormat in my config file and getting wrong output. I have change it from "1 January 2006" to "2 January 2006" and it works. It would be great if you could add an example into the docs. General Output without setting dateFormat is correct.

**config param **
dateFormat = "1 January 2006"

date of post
date: 2016-11-15

date in generate
11 November 2016

Main cover used as post cover.

Hi,

When using the coverImage inside the definition of a post, the post cover is indeed displayed on the post but the blog cover is also displayed.

Update FontAwesome

This is partially a question and partially a request. How can I update the FontAwesome version? I wanted to use an icon that is not present in the version included.
It would of course be nice if the most up-to-date version is automatically included.

fix lint error

/Volumes/diskE/Users/t5e/Projects/blog/hugo-tranquilpeak-theme/tasks/config/sails-linker.js
   9:26  error  Unexpected space before function parentheses  space-before-function-paren
  23:26  error  Unexpected space before function parentheses  space-before-function-paren
  37:26  error  Unexpected space before function parentheses  space-before-function-paren
  51:26  error  Unexpected space before function parentheses  space-before-function-paren

js URL of google analytics is invalid

correct code is like this:

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-1234-1', 'auto');
ga('send', 'pageview');

but actual code is like this:

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-1234-1', 'auto');
ga('send', 'pageview');

there was missing https in URL https://www.google-analytics.com/analytics.js

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.