GithubHelp home page GithubHelp logo

lechaps / cluboeno Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 218.49 MB

website about wine and wine tasting

Home Page: https://www.cluboeno.com

License: MIT License

HTML 29.30% CSS 66.16% JavaScript 1.89% Python 2.66%
hugo disqus gravatar toml writer theme formspree google-analytics wine wine-tasting wines

cluboeno's Introduction

Cluboeno

Cluboeno is a french blog about wines, spirits and other fun stuff

Installation

It's a static web site made with Hugo (www.gohugo.io)

  • Install Hugo
  • Download sources
  • Run Hugo

Nearly finished

In order to see your site in action, run Hugo's built-in local server.

$ hugo server

Now enter localhost:1313 in the address bar of your browser.

Hugo Theme : NederburgByLechaps

I use a personnal theme, this was ported from Hugo Nederburg (https://github.com/appernetic/hugo-nederburg-theme) Features add/modified :

  • french traduction
  • drop G+ link (Seriously, who know Google Plus now?)
  • about page have his own page (not the same as post page)
  • avatar from static image and not gravatar link(Seriously, who use Gravatar?)
  • more identation (Seriouly, who can read the original code ?)
  • minors fixes

Configuration

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 style customizations?

Create css/custom.css in your <<base dir>>/static folder and add all your custom styling.

Comments

The optional comments system is powered by Disqus. If you want to enable comments, create an account in Disqus and write down your shortname in the config file.

disqusShortname = "your-disqus-short-name"

You can disable the comments system by leaving the disqusShortname empty.

Make the contact form working

Since this page will be static, you can use formspree.io as proxy to send the actual email. Each month, visitors can send you up to one thousand emails without incurring extra charges. Begin the setup by following the steps below:

  1. Enter your email address under 'email' in the config.toml
  2. Upload the generated site to your server
  3. Send a dummy email yourself to confirm your account
  4. Click the confirm link in the email from formspree.io
  5. You're done. Happy mailing!

Multiple Writers Features

In order to support multiple writers, an extra key, "writers" is added, in config.toml. The format looks like the following:

  [params.writers."LeChaps"]
    link = "myLink"
    email = "me@me_again.cmo"
    avatar = "/img/my-icone.jpg"
    bio = ["Seriously, you know it'great!"]
    facebook      = "full lechaps profile url in facebook"
    twitter       = "full profile url in twitter"
    linkedin      = "full profile url in linkedin"
    stackoverflow = "full profile url in stackoverflow"
    instagram     = "full profile url in instagram"
    github        = "full profile url in github"
    pinterest     = "full profile url in pinterest"

Now you must have an author in the config for the author bio section to be visible. If you have a writer and set it in the markdown file it will override the author in the config. See the exampleSite folder for a working solution.

Tag management by Python scriptin

  • tags-dictionnary.json : contains all the tags research by the script and managed by hugo
  • tag-write.py : uses this script to create the tag line on md files lookinf for tags from dictionnary
  • tag-extract.py : use this script to extract and count all the tag from md

License

This port is released under the MIT License.

Thanks

  • Steve Francia for creating Hugo and the awesome community around the project.
  • goransv for creating this nice theme.
  • Joshua Paul Barnard for creating the backbone of the interactive wine aroma wheel

Sponsors

mmm, i don't have sponsors. But do i need them?

lechaps

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.