crakjie / landing-page-hugo

Hugo landing page theme
MIT License
74 stars 59 forks source link

Update head.html #13

Closed alanef closed 8 years ago

alanef commented 8 years ago

Added capability to add 'local' css files using a parameter as suggest here https://discuss.gohugo.io/t/how-to-override-css-classes-with-hugo/3033/3

crakjie commented 8 years ago

Do you think this need an exemple in exempleSite ?

alanef commented 8 years ago

In the README.md yes.

Example site maybe

I did this because I wanted a background-color to the contact area rather than image

static/css/local.css

.contact { background-color: #b6b6b6; }

If you want me to update example & README let me know and I will and create a pull

alanef commented 8 years ago

for config.toml

[params] custom_css = ["css/local.css"]

crakjie commented 8 years ago

I think it's alway good to have things in docs. Maybe a line in the README.

But you can just add a commit to this PR, I think it's cleaner, don't you ?

alanef commented 8 years ago

OK I have added to README & the example site

alanef commented 8 years ago

Sorry about the list of commits as did them directly in github - probably bad form

crakjie commented 8 years ago

LGFM