Giter Site home page Giter Site logo

hugo-frais's Introduction

Hugo frais

A fresh and french single column theme for Hugo.

Screenshot

How to install

Inside the folder of your Hugo site run:

$ cd themes
$ git clone https://github.com/the2ne/hugo-frais

Then update your config.toml file:

theme = "hugo-frais"

For more information read the official setup guide of Hugo.

Configuration

You can define some social network like:

  • [params] author str : the author's website name;
  • [params] pseudo str : the author's online pseudonym;
  • [params] twitter str : Twitter account;
  • [params] github str : GitHub account;
  • [params] linkedin str : LinkedIn account;

This will activate menu items and meta Twitter Card.

./config.toml example:

[params]
    author = "Olivier Fredon"
    pseudo = "the2ne"
    twitter = "the2ne"
    github = "the2ne"
    linkedin = "the2ne"

You can also configure the headline of the index page:

[params]
	  indexHeadline = "This just in:"

which will substitute the "Yay!" in the default page.

Contributing

Did you found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or make directly a pull request.

License

This theme is released under the MIT license. For more information read the License.

Annotations

Thanks to:

  • Steve Francia for creating Hugo and the awesome community around the project.

hugo-frais's People

Contributors

the2ne avatar bep avatar jj avatar jessebmiller avatar melpomene avatar nonumeros avatar

Stargazers

Romain avatar Gabriel Falcão avatar Piotr Rusin avatar  avatar  avatar Dustin Matlock avatar James Robinson avatar n avatar dinamyc avatar

Watchers

n avatar  avatar

hugo-frais's Issues

Menu on mobile device

Make it responsive and create a collapsible navigation with button and drop down menu items.

Split the partial template : post-list

Home and list template are substantially identical
We need to set different content (title, summary or meta) and a different pagination size between this two template.
Actually, they both include the same partial template : "post-list" .

How to rebuild style.css?

Hi, I did some modifications to scss files but I saw that the style.css was not rebuilt automatically when doing a "hugo" or "hugo server".

How does it work? Am I supposed to build it myself or is it a special hugo command?

So far, I managed to install node-sass
npm install node-sass
which allowed me to run
npm run sass-build
but I could not find how to install postcss?

BTW, maybe those npm depencencies could be specified in the package.json ?

npm install node-sass -S ?

to have a devdependencies node

Also, it seems strange to me to include both source files in the thene (scss) and compiled one (css)

If you have explainations, I would be glad.

Thomas

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.