From cc17f1bc8a2c5e68182434ff6ed8bd1b19ef92f1 Mon Sep 17 00:00:00 2001 From: sharathdt Date: Mon, 8 Aug 2022 15:23:04 +0530 Subject: [PATCH] add print page --- _layouts/default.html | 2 +- _layouts/print.html | 25 +++++++++++++++++++++++++ _sass/_base.scss | 2 +- print.html | 18 ++++++++++++++++++ 4 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 _layouts/print.html create mode 100644 print.html diff --git a/_layouts/default.html b/_layouts/default.html index c4c3011..a4fecef 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,7 @@ {% include head.html %} -
+
{% include sidebar.html %}
diff --git a/_layouts/print.html b/_layouts/print.html new file mode 100644 index 0000000..0c03f24 --- /dev/null +++ b/_layouts/print.html @@ -0,0 +1,25 @@ +--- +#Add "layout: compress" here to compress the html code +--- + + + + + + + + {% include head.html %} + + +
+ {% include sidebar.html %} + +
{{ content }}
+
+ {% include scripts.html %} + + diff --git a/_sass/_base.scss b/_sass/_base.scss index 6ad1ace..0902cd7 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -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; } diff --git a/print.html b/print.html new file mode 100644 index 0000000..72ee7d4 --- /dev/null +++ b/print.html @@ -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 %}