I have a github webpage. How to make a page displaying purely pdf? Ie my cv?
To clarify, I want the page to be filled only with pdf - no headings, etc.
Just copy your pdf file to your repo and it will be available, like any other file.
For example, my resume is dedicated to my repo at https://github.com/xiongchiamiov/xiongchiamiov.github.com/blob/master/about/resume.pdf and is available on the Internet at https://changedmy.name/about/resume .pdf (I have CNAME installed for changedmy.name).
changedmy.name
JS index.html, pdf, github-pages.
index.html
, : -
index.html - cv(folder) -----cv.pdf (your cv)
.
<html> <body> </body> <script type="text/javascript"> document.location = "robin.imtqy.com/cv/cv.pdf" </script> </html>
, PDF , iframe - https://github.com/mozilla/pdf.js.
, PDF , .
"" pdf, , , , , github.
:
<html lang="fr"> <head> <!-- note the meta tag --> <meta http-equiv="refresh" content="0; url=http://yourprofile.imtqy.com/cv.pdf" /> <meta charset="utf-8"> <title>Will CV</title> </head> <body> </body> </html>
. HTML-.
Github PDF.js PDF , . https://github.com/mozilla/pdf.js/blob/master/web/compressed.tracemonkey-pldi-09.pdf, iframe URL, (, https://render.githubusercontent.com/view/pdf?commit=b261203018f847c89e05bb4c03c820fad0c90672&enc_url=68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6d6f7a696c6c612f7064662e6a732f623236313230333031386638343763383965303562623463303363383230666164306339303637322f7765622f636f6d707265737365642e74726163656d6f6e6b65792d706c64692d30392e706466&nwo=mozilla%2Fpdf.js&path=web%2Fcompressed.tracemonkey-pldi-09.pdf&repository_id=1663468#13eff6e4-ecdb-4fe1-85e4-b7a468697e26)