HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.19k stars 2.9k forks source link

Support Paged.JS for automatic hugo resume -> PDF conversion. #1561

Closed brimwats1 closed 4 years ago

brimwats1 commented 4 years ago

Feature Request

Is your feature request related to a problem? Please describe. I would really like to maintain a resume in markdown on hugo, and then be able to generate a PDF from that when needed.

Describe the solution you'd like The Pagedjs library seems to support this easily: https://www.pagedjs.org/ here's an example of what the button does (under the journal section of the main page: https://www.pagedjs.org/page-floats/

Describe alternatives you've considered The alternative is uploading a PDF

Additional context

@julientaq https://github.com/julientaq is the maintainer.

julientaq commented 4 years ago

Hi there!

I’m starting a Paged.js integration to Hugo asap so you’ll be able to print to PDF.

https://github.com/zzossig/hugo-theme-zzo/issues/151

julientaq commented 4 years ago

Hey folks, wanna try it out for me? Still pretty experimental, but i’d love to have your thoughts.

https://gitlab.pagedmedia.org/julientaq/pagedjs-hugo

If you follow the readme, you’ll get a print button that you can add to any page as part of the template. next step is to add a configurable option in the front matter to show it or not :)

brimwats1 commented 4 years ago

I can try it out later this week!

julientaq commented 4 years ago

I just updated it, so the print modal appears as soon as paged.js has finished.

gcushen commented 4 years ago

There's no need to perform PDF generation on the frontend in this manor and we already have requests to add this to the backend part of Academic (https://github.com/sourcethemes/academic-admin ) - feel free to contribute to that repo.