doncabreraphone / victorhugo

The most popular search engine optimization plug-in for Hugo (a static site generator). Victor Hugo helps you write good SEO content for your blog, the easy way. UPDATE: I am currently in the process of making Victor Hugo a standalone tool that can be used with any static website, not just Hugo.
GNU General Public License v3.0
73 stars 7 forks source link

Misc problems #5

Open divinerites opened 4 years ago

divinerites commented 4 years ago

Ola Javier, just few things :

And more generally, are you thinking about adapting it for not only simple pages (blog) but also for the main index.html ? Because I have a web site on one page and it doesn't work (i did not dig yet in the code to find the problems).

Thanks anyway.

doncabreraphone commented 4 years ago

Hi, those were nice additions. I ended up by using both:

{{ if or (eq .Params.Victor_Hugo_clean "true") (eq .site.Params.Victor_Hugo_clean "true") }}{{ else }}

I'm adding it to the latest release. Updated the Readme too (nice catch...)

I have been thinking of doing the index.html. What do you purpose?

Cheers