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.11k stars 2.89k forks source link

Document adding a CV download button #478

Closed HughP closed 6 years ago

HughP commented 6 years ago

In my field, there is often still a need for a PDF version of one's CV/Resume. I am wondering how we might elegantly integrate such a feature into Hugo-Academic.

I have been working on my wife's CV/website and have implemented this design but wonder if there are other ideas/attempts out there.

small-cv-button contact-cv

I had to go through the task of creating my own SVG font and adding CSS to overide.css to get it to work. And the links are hard coded, instead of being set under [[params.social]] or under the personal information section of the config.toml Also I had to hard code the link in the contact section. It would be nice if this were an optional location and would automatically come from data already in config.toml.... I am personally curious how these variables in contact.md are set, I can't seem to find the path for making more/new variables and having the template engine set the variables. If someone wanted to make a tutorial, or skype or point me to some examples in hugo docs I'd be happy to code this myself. But right now I'm stuck at the HTML level.

netw0rkf10w commented 6 years ago

Nice. +1.

I personally added my CV to the navigation menu.

sajaldotco commented 6 years ago

I just add a link on footer, It's look like bellow image. link_

rahmati commented 6 years ago

Academicons 1.8.5 has a CV icon (https://jpswalsh.github.io/academicons/) but Hugo-academic is on 1.8.1. Is there a way to update the package version?

HughP commented 6 years ago

Is that CV icon for a CV service?

On Fri, Apr 13, 2018 at 2:27 PM, Amir Rahmati notifications@github.com wrote:

Academicons 1.8.5 has a CV icon (https://jpswalsh.github.io/academicons/) but Hugo-academic is on 1.8.1. Is there a way to update the package version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gcushen/hugo-academic/issues/478#issuecomment-381264781, or mute the thread https://github.com/notifications/unsubscribe-auth/AACdJgzDaJ95dZu_4qJpqi-yX5s9MR-oks5toRglgaJpZM4SROr3 .

rahmati commented 6 years ago

@HughP I don't think so. It's just a simple icon to represent the CV.

glciampaglia commented 6 years ago

FWIW, one simple and -- IMHO -- elegant alternative solution is just to add a header entry. See my own homepage for an example. In the config.toml, you just create a new entry in the menu items list, and use a relative link to the location of your CV file, like this:

# Navigation Links
#   To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
#     desired widget in your `content/home/` folder.
#   The weight parameter defines the order that the links will appear in.

[[menu.main]]
  name = "Home"
  url = "#about"
  weight = 1

[[menu.main]]
  name = "Publications"
  url = "#publications"
  weight = 2

[[menu.main]]
   name = "Resume"
   url = "/docs/cv-glc.pdf"
   weight = 2.5

[[menu.main]]
  name = "News"
  url = "#news"
  weight = 3
matteodefelice commented 6 years ago

@glciampaglia thanks for the suggestion but this method for me works only locally, when I upload on my gitlab page the link to the pdf is broken. Did you put the file cv-glc.pdf under /static/files?

glciampaglia commented 6 years ago

Yes, correct. /docs/cv-glc.pdf maps to static/docs/cv-glc.pdf

I deploy on my web host directly using rsync, so I cannot tell you whether gitlab requires a different setting, but essentially it should follow whatever rules are needed to deploy static files.

HTH

On Fri, May 11, 2018 at 4:59 PM Matteo De Felice notifications@github.com wrote:

@glciampaglia https://github.com/glciampaglia thanks for the suggestion but this method for me works only locally, when I upload on my gitlab page the link to the pdf is broken. Did you put the file cv-glc.pdf under /static/files?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/gcushen/hugo-academic/issues/478#issuecomment-388484187, or mute the thread https://github.com/notifications/unsubscribe-auth/ABb-LMg4ZqqIsTtRY7c75Uz42ZdrECsAks5txfvEgaJpZM4SROr3 .

-- Giovanni Luca Ciampaglia glciampagl@gmail.com ∙ Assistant Research Scientist IU Network Science Institute http://iuni.iu.edu/ ∙ glciampaglia.com News 🕫 WWW 2018 ∙ Alternate track on Journalism, Misinformation, and Fact Checking: https://www2018.thewebconf.org/call-for-papers/misinformation-cfp/

jananiravi commented 6 years ago

Actually, I use the academicicons CV suggested by @rahmati It works quite nicely with the current version of Hugo-academic. image

image