digitalcraftsman / hugo-strata-theme

Port of HTML5UP's Strata theme to Hugo
Other
143 stars 92 forks source link

Disable pop-up images for portfolio images (recent work) #56

Open sofnys opened 5 years ago

sofnys commented 5 years ago

Hello,

This is a great theme, thank so much. I'd like to either disable the pop-up images for portfolio images (recent work) or have it link through a new page. Any ideas?

deann88 commented 5 years ago

I did just that. You could either change the js in /static/js (look for '.work-item a.image' .. and change alter this) or just change the class of the image class in the portfolio layout. In order to make it a link, you should add an href there as well. I am passing these from the config.yaml.

Programazing commented 5 years ago

@sofnys @deann88

I've forked this repo and started working on updating it if you're interested in an actively developed theme:

https://github.com/Programazing/hugo-strata-theme-II