forked from robert/robertjohnson.work
add print page
This commit is contained in:
parent
9ff6380eac
commit
cc17f1bc8a
@ -8,7 +8,7 @@
|
|||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="">
|
<div class="wrapper">
|
||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
|
||||||
<div class="main-wrapper">
|
<div class="main-wrapper">
|
||||||
|
25
_layouts/print.html
Normal file
25
_layouts/print.html
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
#Add "layout: compress" here to compress the html code
|
||||||
|
---
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
|
||||||
|
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
|
||||||
|
<!--[if !IE]><!-->
|
||||||
|
<html lang="en">
|
||||||
|
<!--<![endif]-->
|
||||||
|
{% include head.html %}
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
{% include sidebar.html %}
|
||||||
|
|
||||||
|
<div class="main-wrapper">{{ content }}</div>
|
||||||
|
</div>
|
||||||
|
{% include scripts.html %}
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -4,7 +4,7 @@ body {
|
|||||||
color: $text-color-secondary;
|
color: $text-color-secondary;
|
||||||
background: $smoky-white;
|
background: $smoky-white;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
// padding: 30px;
|
padding: 30px;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
18
print.html
Normal file
18
print.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
layout: print
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
{% include career-profile.html %}
|
||||||
|
|
||||||
|
{% unless site.data.data.sidebar.education %}
|
||||||
|
{% include education.html %}
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
|
{% include experiences.html %}
|
||||||
|
|
||||||
|
{% include projects.html %}
|
||||||
|
|
||||||
|
{% include publications.html %}
|
||||||
|
|
||||||
|
{% include skills.html %}
|
Loading…
Reference in New Issue
Block a user