-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display CV from PDF file #895
Comments
Seconding this--having the CV header button go straight to a PDF is much more streamlined. |
Rather than having CV as a separate tab, can we have the CV PDF icon near social integrations page? Like discord, google scholar etc |
The easiest solution is adding a Click to More an select CV and see the result. |
For now, I do not see a better implementation so I will be using your method.
This is more of a general idea for future releases of al-folio |
Thx Shubham, that looks nice.. |
Hey @DoHaiSon Could you share a code snippet on how to add the permalink? I can't find it on your GitHub profile |
Of course, I had a dropdown list named More. In this droplist, CV just a |
Hi @DoHaiSon, I encountered the same issue and figured out a way by looking at other Jekyll themes. Basically if you change the layout for the CV page, you could display a PDF of your CV with a PDF reader.
|
Thank for ur sharing. I saw this updated from ur page. That looks good. However, I realize that a .pdf content inside a page is worse than open new separate page for CV. The drawback is that it's not included the GG analytics js. |
It would be nice if we didn't have to use the dropdown menu and directly open the pdf file from CV tab |
In the meantime, I have proposed a redesign for the CV written in markdown. More info: #1339 |
Hey @jmrplens If possible, do you think there can be a pdf parser that approximately generates your .yml? then #1339 is still a good alternative |
@IamShubhamGupto It can be done, there would be hard work to do but there are options to implement it. In js: In Ruby: |
Not sure how I missed this comment before, but this is the solution I was looking for. Thank you so much @qinlicomm !! |
Hi guys, Thank you! Do you have any ideas on how to get the CV open in a new tab rather than the same tab? Currently, I am using the following code in cv.md:
|
Dear ahmedchaudhryy, In my case, I put my CV into a dropdown menu, I modified a bit on On the dropdown.md file, I added a small variable named
And then, I modify the
oke, that's all, you can check it out on my page: https://dohaison.github.io/ In your case, you don't use dropdown menu, so add a trigger and find out another part of I hope it will work for your case. |
@DoHaiSon |
I wanted the navigation bar Conflict: The following destination is shared by multiple files.
The written file may end up with unexpected contents. Therefore, I have taken a different approach and modified my website as below: Changes in the add the following lines below {% endfor -%}
{%- if site.cv_pdf %}
<!-- cv page -->
<li class="nav-item">
<a class="nav-link" href="{{ site.cv_pdf | prepend: 'assets/pdf/' | relative_url}}" target="_blank" rel="noopener noreferrer">cv
<span class="sr-only">(current)</span>
</a>
</li>
{%- endif %}
{%- if site.enable_darkmode %} Changes in the add There you go, the PDF will now open in a new tab and you can safely dispose the Bonus: CV in the social icons add this in your {%- if site.cv_pdf -%}
<a href="{{ site.cv_pdf | prepend: 'assets/pdf/' | relative_url}}" target="_blank" rel="noopener noreferrer" title="CV"><i class="ai ai-cv"></i></a>
{% endif %} |
Great! It works for me. BTW, if someone has |
Is your feature request related to a problem? Please describe.
Now, the CV page is including the icon of CV.pdf and the rest of things written by .md file.
I think it becomes superfluous. The CV often in pdf format, and why we have to transform it to .md file. It looks worse.
Describe the solution you'd like
I think an option that just show the CV page as page include a content (CV.pdf) is much better. Moreover, it's easier for everyone.
Additional context
al-folio version: latest
My github page: https://dohaison.github.io/
The text was updated successfully, but these errors were encountered: