add print page

This commit is contained in:
sharathdt 2022-08-08 15:23:04 +05:30
parent 9ff6380eac
commit cc17f1bc8a
4 changed files with 45 additions and 2 deletions

View File

@ -8,7 +8,7 @@
{% include head.html %}
<body>
<div class="">
<div class="wrapper">
{% include sidebar.html %}
<div class="main-wrapper">

25
_layouts/print.html Normal file
View 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>

View File

@ -4,7 +4,7 @@ body {
color: $text-color-secondary;
background: $smoky-white;
font-size: 14px;
// padding: 30px;
padding: 30px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

18
print.html Normal file
View 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 %}