wil*_*art 5 github github-pages
我有一个 github 网页。如何制作一个纯粹显示 pdf 的页面?即我的简历?
澄清一下,我希望页面只填充 pdf,而不是任何标题等。
只需将您的 pdf 提交到您的存储库中,就可以像任何其他文件一样访问它。
例如,我的简历已提交到我的存储库https://github.com/xiongchiamiov/xiongchiamiov.github.com/blob/master/about/resume.pdf并可在网上获取: https: //changedmy.name /about/resume.pdf(我设置了 CNAME changedmy.name)。
你可以在你的index.html指向你的 github-pages 存储库中的 pdf 文件。
假设你的文件结构是这样的:-
index.html
- cv(folder)
-----cv.pdf (your cv)
Run Code Online (Sandbox Code Playgroud)
那么你的代码应该是这样的。
<html>
<body>
</body>
<script type="text/javascript">
document.location = "robin.github.io/cv/cv.pdf"
</script>
</html>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3634 次 |
| 最近记录: |