hanuman 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd81fee4f32eefda5b54e40e4e6eb2513bb03d6c
4
- data.tar.gz: ff7b1c41329a8e0b57dcc1f244a84c48a276bc7a
3
+ metadata.gz: ce08870e1b72b9779352d9cdda2c3f81014fad0e
4
+ data.tar.gz: eef0b9399645aa00845db730fd9871452f0f2204
5
5
  SHA512:
6
- metadata.gz: 0a6c3cc0316a81987e9a8bed9fa7851c32565d448273b20e2f7ea64eff9d73583e466570f0afd6d7e62d7b4defbcbfd3ced072a3bbfc677ed6fe0e5db456d0ee
7
- data.tar.gz: a2a7fa2eaf352a3d5e69bd26eee54ed657d9b5cd2a835ca9e1842af2073f4b06613de2bb8699dc9d7a64dfbfa59c574472922c747a68409016f964b9318dd9e7
6
+ metadata.gz: 387ac5a2cdbd2a31ead504db3b9c9f35f2e15fa5300d35adcfee69eb90fbc309403ab92cc4b5ce12dfd93f2541f9c0fbe128b95442eec483c0b22115ee7334ec
7
+ data.tar.gz: 4cb4cb7c15011a069e6cf6c34e07c61d7f752b82b4b25f64afec7aa99b4ad17648f485f10e789f527f78b5d4016de9d43194f57f5933e27b26bb43ceccd2f438
data/README.md CHANGED
@@ -1,9 +1,16 @@
1
1
  # HANUMAN Jekyll Theme
2
2
 
3
+ [![Build Status](https://travis-ci.org/samanyougarg/hanuman.svg?branch=master)](https://travis-ci.org/samanyougarg/hanuman)
4
+
3
5
  Hanuman is a minimal yet powerful Jekyll theme for your blogs and websites.
4
6
 
5
7
  It is built using the open source AMP Start framework and can be customized as per your requirements.
6
8
 
9
+ ## Live Demo
10
+ ## [Hanuman](https://samanyougarg.com/hanuman)
11
+ ![Hanuman](/Screenshots/hanuman.jpg "Hanuman Preview")
12
+
13
+
7
14
  ## Features
8
15
 
9
16
  - Minimal
@@ -29,7 +36,48 @@ There are different ways to install the theme -
29
36
  3. Add your posts to the _posts directory.
30
37
  4. Deploy to Github Pages or your own server.
31
38
 
32
- **Deploying to Github Pages**
39
+ ### 2. Ruby Gem Method
40
+ Add this line to your Jekyll site's `Gemfile`:
41
+
42
+ ```ruby
43
+ gem "hanuman"
44
+ ```
45
+
46
+ And add this line to your Jekyll site's `_config.yml`:
47
+
48
+ ```yaml
49
+ theme: hanuman
50
+ ```
51
+
52
+ And then execute:
53
+
54
+ $ bundle
55
+
56
+ Or install it yourself as:
57
+
58
+ $ gem install hanuman
59
+
60
+ ### 3. Jekyll Remote Theme
61
+ 1. Create or update your Gemfile with the following -
62
+
63
+ ```ruby
64
+ source "https://rubygems.org"
65
+ gem "github-pages", group: :jekyll_plugins
66
+ gem "jekyll-remote-theme"
67
+ ```
68
+
69
+ 2. Update the bundled gems using `bundle` command.
70
+
71
+ 3. Add `remote_theme: "hanuman"` to your `_config.yml`.
72
+
73
+ 4. Add `jekyll-remote-theme` to the plugins array of your `_config.yml` -
74
+
75
+ ```yaml
76
+ plugins:
77
+ - jekyll-remote-theme
78
+ ```
79
+
80
+ ## Deploying to Github Pages
33
81
 
34
82
  There are 2 methods you can use to deploy the site to Github Pages -
35
83
 
@@ -46,30 +94,56 @@ There are 2 methods you can use to deploy the site to Github Pages -
46
94
  Now you just need to push the files. Travis will generate the HTML files and automatically push them to your gh-pages branch.
47
95
  This is the setup I am using.
48
96
 
49
- ### 2. Ruby Gem Method
50
- Add this line to your Jekyll site's `Gemfile`:
97
+ ## Usage
51
98
 
52
- ```ruby
53
- gem "hanuman"
54
- ```
99
+ ### _config.yml
100
+ Update _config.yml with your respective settings like updating your site's name, description etc...
55
101
 
56
- And add this line to your Jekyll site's `_config.yml`:
102
+ ### Styling
103
+ AMP has a limitation that you can only use inline css.
104
+ All the CSS for this theme is in the styles.scss file in the includes directory.
57
105
 
58
- ```yaml
59
- theme: hanuman
60
- ```
106
+ #### Changing the Default Color
107
+ In the styles.scss file in the includes directory, you can change the hex value to the color you would like your site to use.
61
108
 
62
- And then execute:
109
+ ### Author Information
110
+ Author information is present in the author.yml file in the _data folder. You can update the fields of that file as per your requirements.
63
111
 
64
- $ bundle
112
+ ### Sidenav
113
+ Sidenav can be updated from the navigation.yml file in the _data folder.
65
114
 
66
- Or install it yourself as:
115
+ ## Writing Posts
116
+ You can write posts just as you would in Jekyll, the only difference being that AMP has some strict guidelines on including external content.
67
117
 
68
- $ gem install hanuman
118
+ You cannot use Markdown format or normal HTML tags. AMP provides its own custom tags for images, videos etc...
69
119
 
70
- ## Usage
120
+ ### Examples -
121
+
122
+ **Images**
123
+ `<amp-img src="welcome.jpg" alt="Welcome" height="400" width="800"></amp-img>`
124
+
125
+ **Videos**
126
+ `<amp-youtube data-videoid="mGENRKrdoGY" layout="responsive" width="480" height="270"></amp-youtube>`
127
+
128
+ [See Full AMP Documentation.](https://www.ampproject.org/docs/)
129
+
130
+ ### Using AMP Components
131
+ Some AMP components require you to specify external scripts before using them.
132
+ You can specify these scripts in the head.html file in the includes directory after the already imported scripts and then use these components in any post.
133
+
134
+ ## Validating your page with AMP
135
+ AMP provides built-in validator to validate your pages so that they can rendered quickly.
136
+
137
+ You can access this validator by opening the Developer Console in your browser and adding #development=1 to any url of your site.
138
+
139
+ Example -
140
+ http://localhost:4000/#development=1
141
+
142
+ If you have errors on your page, AMP will list those for you in the console. If you do not have any errors, you'll get a message "AMP Validation Successful" on your console.
71
143
 
72
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
144
+ ## Enabling Google Analytics
145
+ 1. Set up your Analytics Tracking ID in _config.yml.
146
+ 2. Remove {% comment %} and {% endcomment %} tags in the default.html file in layouts directory.
73
147
 
74
148
  ## Contributing
75
149
 
@@ -82,6 +156,8 @@ To submit a pull request -
82
156
  3. Create a new branch from the master branch.
83
157
  4. Open a pull request on Github describing what was fixed or added.
84
158
 
159
+ ## Thanks
160
+ Hanuman is based on [amplify](https://github.com/ageitgey/amplify) jekyll theme. Thank You.
85
161
 
86
162
  ## License
87
163
 
@@ -504,7 +504,6 @@ code {
504
504
  font-size: 15px;
505
505
  border: 1px solid #e8e8e8;
506
506
  border-radius: 3px;
507
- background-color: #eeeeff;
508
507
  }
509
508
 
510
509
  code {
@@ -526,6 +525,7 @@ pre {
526
525
  }
527
526
 
528
527
  html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects; text-decoration: none; color: $theme-color;}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}.h1{font-size:3rem}.h2{font-size:2rem}.h3{font-size:1.5rem}.h4{font-size:1.125rem}.h5{font-size:.875rem}.h6{font-size:.75rem}.font-family-inherit{font-family:inherit}.font-size-inherit{font-size:inherit}.text-decoration-none{text-decoration:none}.bold{font-weight:700}.regular{font-weight:400}.italic{font-style:italic}.caps{text-transform:uppercase;letter-spacing:.2em}.left-align{text-align:left}.center{text-align:center}.right-align{text-align:right}.justify{text-align:justify}.nowrap{white-space:nowrap}.break-word{word-wrap:break-word}.line-height-1{line-height:1rem}.line-height-2{line-height:1.125rem}.line-height-3{line-height:1.5rem}.line-height-4{line-height:2rem}.list-style-none{list-style:none}.underline{text-decoration:underline}.truncate{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-reset{list-style:none;padding-left:0}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.table{display:table}.table-cell{display:table-cell}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-auto{overflow:auto}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.left{float:left}.right{float:right}.fit{max-width:100%}.max-width-1{max-width:24rem}.max-width-2{max-width:32rem}.max-width-3{max-width:48rem}.max-width-4{max-width:64rem}.border-box{box-sizing:border-box}.align-baseline{vertical-align:baseline}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.m0{margin:0}.mt0{margin-top:0}.mr0{margin-right:0}.mb0{margin-bottom:0}.ml0,.mx0{margin-left:0}.mx0{margin-right:0}.my0{margin-top:0;margin-bottom:0}.m1{margin:.5rem}.mt1{margin-top:.5rem}.mr1{margin-right:.5rem}.mb1{margin-bottom:.5rem}.ml1,.mx1{margin-left:.5rem}.mx1{margin-right:.5rem}.my1{margin-top:.5rem;margin-bottom:.5rem}.m2{margin:1rem}.mt2{margin-top:1rem}.mr2{margin-right:1rem}.mb2{margin-bottom:1rem}.ml2,.mx2{margin-left:1rem}.mx2{margin-right:1rem}.my2{margin-top:1rem;margin-bottom:1rem}.m3{margin:1.5rem}.mt3{margin-top:1.5rem}.mr3{margin-right:1.5rem}.mb3{margin-bottom:1.5rem}.ml3,.mx3{margin-left:1.5rem}.mx3{margin-right:1.5rem}.my3{margin-top:1.5rem;margin-bottom:1.5rem}.m4{margin:2rem}.mt4{margin-top:2rem}.mr4{margin-right:2rem}.mb4{margin-bottom:2rem}.ml4,.mx4{margin-left:2rem}.mx4{margin-right:2rem}.my4{margin-top:2rem;margin-bottom:2rem}.mxn1{margin-left:-.5rem;margin-right:-.5rem}.mxn2{margin-left:-1rem;margin-right:-1rem}.mxn3{margin-left:-1.5rem;margin-right:-1.5rem}.mxn4{margin-left:-2rem;margin-right:-2rem}.ml-auto{margin-left:auto}.mr-auto,.mx-auto{margin-right:auto}.mx-auto{margin-left:auto}.p0{padding:0}.pt0{padding-top:0}.pr0{padding-right:0}.pb0{padding-bottom:0}.pl0,.px0{padding-left:0}.px0{padding-right:0}.py0{padding-top:0;padding-bottom:0}.p1{padding:.5rem}.pt1{padding-top:.5rem}.pr1{padding-right:.5rem}.pb1{padding-bottom:.5rem}.pl1{padding-left:.5rem}.py1{padding-top:.5rem;padding-bottom:.5rem}.px1{padding-left:.5rem;padding-right:.5rem}.p2{padding:1rem}.pt2{padding-top:1rem}.pr2{padding-right:1rem}.pb2{padding-bottom:1rem}.pl2{padding-left:1rem}.py2{padding-top:1rem;padding-bottom:1rem}.px2{padding-left:1rem;padding-right:1rem}.p3{padding:1.5rem}.pt3{padding-top:1.5rem}.pr3{padding-right:1.5rem}.pb3{padding-bottom:1.5rem}.pl3{padding-left:1.5rem}.py3{padding-top:1.5rem;padding-bottom:1.5rem}.px3{padding-left:1.5rem;padding-right:1.5rem}.p4{padding:2rem}.pt4{padding-top:2rem}.pr4{padding-right:2rem}.pb4{padding-bottom:2rem}.pl4{padding-left:2rem}.py4{padding-top:2rem;padding-bottom:2rem}.px4{padding-left:2rem;padding-right:2rem}.col{float:left}.col,.col-right{box-sizing:border-box}.col-right{float:right}.col-1{width:8.33333%}.col-2{width:16.66667%}.col-3{width:25%}.col-4{width:33.33333%}.col-5{width:41.66667%}.col-6{width:50%}.col-7{width:58.33333%}.col-8{width:66.66667%}.col-9{width:75%}.col-10{width:83.33333%}.col-11{width:91.66667%}.col-12{width:100%}@media (min-width:40.06rem){.sm-col{float:left;box-sizing:border-box}.sm-col-right{float:right;box-sizing:border-box}.sm-col-1{width:8.33333%}.sm-col-2{width:16.66667%}.sm-col-3{width:25%}.sm-col-4{width:33.33333%}.sm-col-5{width:41.66667%}.sm-col-6{width:50%}.sm-col-7{width:58.33333%}.sm-col-8{width:66.66667%}.sm-col-9{width:75%}.sm-col-10{width:83.33333%}.sm-col-11{width:91.66667%}.sm-col-12{width:100%}}@media (min-width:52.06rem){.md-col{float:left;box-sizing:border-box}.md-col-right{float:right;box-sizing:border-box}.md-col-1{width:8.33333%}.md-col-2{width:16.66667%}.md-col-3{width:25%}.md-col-4{width:33.33333%}.md-col-5{width:41.66667%}.md-col-6{width:50%}.md-col-7{width:58.33333%}.md-col-8{width:66.66667%}.md-col-9{width:75%}.md-col-10{width:83.33333%}.md-col-11{width:91.66667%}.md-col-12{width:100%}}@media (min-width:64.06rem){.lg-col{float:left;box-sizing:border-box}.lg-col-right{float:right;box-sizing:border-box}.lg-col-1{width:8.33333%}.lg-col-2{width:16.66667%}.lg-col-3{width:25%}.lg-col-4{width:33.33333%}.lg-col-5{width:41.66667%}.lg-col-6{width:50%}.lg-col-7{width:58.33333%}.lg-col-8{width:66.66667%}.lg-col-9{width:75%}.lg-col-10{width:83.33333%}.lg-col-11{width:91.66667%}.lg-col-12{width:100%}}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}@media (min-width:40.06rem){.sm-flex{display:-webkit-box;display:-ms-flexbox;display:flex}}@media (min-width:52.06rem){.md-flex{display:-webkit-box;display:-ms-flexbox;display:flex}}@media (min-width:64.06rem){.lg-flex{display:-webkit-box;display:-ms-flexbox;display:flex}}.flex-column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.items-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.items-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.items-baseline{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.items-stretch{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.self-start{-ms-flex-item-align:start;align-self:flex-start}.self-end{-ms-flex-item-align:end;align-self:flex-end}.self-center{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.self-baseline{-ms-flex-item-align:baseline;align-self:baseline}.self-stretch{-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch}.justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.justify-around{-ms-flex-pack:distribute;justify-content:space-around}.content-start{-ms-flex-line-pack:start;align-content:flex-start}.content-end{-ms-flex-line-pack:end;align-content:flex-end}.content-center{-ms-flex-line-pack:center;align-content:center}.content-between{-ms-flex-line-pack:justify;align-content:space-between}.content-around{-ms-flex-line-pack:distribute;align-content:space-around}.content-stretch{-ms-flex-line-pack:stretch;align-content:stretch}.flex-auto{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;min-height:0}.flex-none{-webkit-box-flex:0;-ms-flex:none;flex:none}.order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.order-last{-webkit-box-ordinal-group:100000;-ms-flex-order:99999;order:99999}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}.z1{z-index:1}.z2{z-index:2}.z3{z-index:3}.z4{z-index:4}.border{border-style:solid;border-width:1px}.border-top{border-top-style:solid;border-top-width:1px}.border-right{border-right-style:solid;border-right-width:1px}.border-bottom{border-bottom-style:solid;border-bottom-width:1px}.border-left{border-left-style:solid;border-left-width:1px}.border-none{border:0}.rounded{border-radius:3px}.circle{border-radius:50%}.rounded-top{border-radius:3px 3px 0 0}.rounded-right{border-radius:0 3px 3px 0}.rounded-bottom{border-radius:0 0 3px 3px}.rounded-left{border-radius:3px 0 0 3px}.not-rounded{border-radius:0}.hide{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}@media (max-width:40rem){.xs-hide{display:none}}@media (min-width:40.06rem) and (max-width:52rem){.sm-hide{display:none}}@media (min-width:52.06rem) and (max-width:64rem){.md-hide{display:none}}@media (min-width:64.06rem){.lg-hide{display:none}}.display-none{display:none}*{box-sizing:border-box}body{background:#fff;color:#4a4a4a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Arial,sans-serif;min-width:315px;overflow-x:hidden;font-smooth:always;-webkit-font-smoothing:antialiased}main{max-width:700px;margin:0 auto}p{padding:0;margin:0}.ampstart-accent{color:$theme-color}#content:target{margin-top:calc(0px - 3.5rem);padding-top:3.5rem}.ampstart-title-lg{font-size:3rem;line-height:3.5rem;letter-spacing:.06rem}.ampstart-title-md{font-size:2rem;line-height:2.5rem;letter-spacing:.06rem}.ampstart-title-sm{font-size:1.5rem;line-height:2rem;letter-spacing:.06rem}.ampstart-subtitle,body{line-height:1.5rem;letter-spacing:normal}.ampstart-subtitle{color:$theme-color;font-size:1rem}.ampstart-byline,.ampstart-caption,.ampstart-hint,.ampstart-label{font-size:.875rem;color:#4f4f4f;line-height:1.125rem;letter-spacing:.06rem}.ampstart-label{text-transform:uppercase}.ampstart-footer,.ampstart-small-text{font-size:.75rem;line-height:1rem;letter-spacing:.06rem}.ampstart-card{box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 1px 1px -1px rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.h1,h1{font-size:3rem;line-height:3.5rem}.h2,h2{font-size:2rem;line-height:2.5rem}.h3,h3{font-size:1.5rem;line-height:2rem}.h4,h4{font-size:1.125rem;line-height:1.5rem}.h5,h5{font-size:.875rem;line-height:1.125rem}.h6,h6{font-size:.75rem;line-height:1rem}h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-weight:400;letter-spacing:.06rem}a,a:active,a:visited{color: $theme-color;}.ampstart-btn{font-family:inherit;font-weight:inherit;font-size:1rem;line-height:1.125rem;padding:.7em .8em;text-decoration:none;white-space:nowrap;word-wrap:normal;vertical-align:middle;cursor:pointer;background-color:$theme-color;color:#fff;border:1px solid #fff}.ampstart-btn:visited{color:#fff}.ampstart-btn-secondary{background-color:#fff;color:#000;border:1px solid #000}.ampstart-btn-secondary:visited{color:#000}.ampstart-btn:active .ampstart-btn:focus{opacity:.8}.ampstart-btn[disabled],.ampstart-btn[disabled]:active,.ampstart-btn[disabled]:focus,.ampstart-btn[disabled]:hover{opacity:.5;outline:0;cursor:default}.ampstart-dropcap:first-letter{color:#000;font-size:3rem;font-weight:700;float:left;overflow:hidden;line-height:3rem;margin-left:0;margin-right:.5rem}.ampstart-initialcap{padding-top:1rem;margin-top:1.5rem}.ampstart-initialcap:first-letter{color:$theme-color;font-size:3rem;font-weight:700;margin-left:-2px}.ampstart-pullquote{border:none;border-left:4px solid #000;font-size:1.5rem;padding-left:1.5rem}.ampstart-byline time{font-style:normal;white-space:nowrap}.amp-carousel-button-next{background-image:url('data:image/svg+xml;charset=utf-8,<svg width="18" height="18" viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg"><title>Next</title><path d="M25.557 14.7L13.818 2.961 16.8 0l16.8 16.8-16.8 16.8-2.961-2.961L25.557 18.9H0v-4.2z" fill="#FFF" fill-rule="evenodd"/></svg>')}.amp-carousel-button-prev{background-image:url('data:image/svg+xml;charset=utf-8,<svg width="18" height="18" viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg"><title>Previous</title><path d="M33.6 14.7H8.043L19.782 2.961 16.8 0 0 16.8l16.8 16.8 2.961-2.961L8.043 18.9H33.6z" fill="#FFF" fill-rule="evenodd"/></svg>')}.ampstart-dropdown{min-width:200px}.ampstart-dropdown.absolute{z-index:100}.ampstart-dropdown.absolute>section,.ampstart-dropdown.absolute>section>header{height:100%}.ampstart-dropdown>section>header{background-color:#000;border:0;color:#fff}.ampstart-dropdown>section>header:after{display:inline-block;content:"+";padding:0 0 0 1.5rem;color:$theme-color}.ampstart-dropdown>[expanded]>header:after{content:"–"}.absolute .ampstart-dropdown-items{z-index:200}.ampstart-dropdown-item{background-color:#000;color:$theme-color;opacity:.9}.ampstart-dropdown-item:active,.ampstart-dropdown-item:hover{opacity:1}.ampstart-footer{background-color:#fff;color:#000;padding-top:5rem;padding-bottom:5rem}.ampstart-footer .ampstart-icon{fill:$theme-color}.ampstart-footer .ampstart-social-follow li:last-child{margin-right:0}.ampstart-image-fullpage-hero{color:#fff; background: #424242}.ampstart-fullpage-hero-heading-text,.ampstart-image-fullpage-hero .ampstart-image-credit{-webkit-box-decoration-break:clone;box-decoration-break:clone;background:$theme-color;padding:0 1rem .2rem}.ampstart-image-fullpage-hero>amp-img{max-height:calc(100vh - 3.5rem)}.ampstart-image-fullpage-hero>amp-img img{-o-object-fit:cover;object-fit:cover}.ampstart-fullpage-hero-heading{font-size: 3rem; line-height:1.5rem;}.ampstart-fullpage-hero-cta{background:transparent}.ampstart-readmore{background:-webkit-linear-gradient(bottom,rgba(0,0,0,.65),transparent);background:linear-gradient(0deg,rgba(0,0,0,.65) 0,transparent);color:#fff;margin-top:5rem;padding-bottom:3.5rem}.ampstart-readmore:after{display:block;content:"⌄";font-size:2rem}.ampstart-readmore-text{background:$theme-color}@media (min-width:52.06rem){.ampstart-image-fullpage-hero>amp-img{height:60vh}}.ampstart-image-heading{color:#fff;background:-webkit-linear-gradient(bottom,rgba(0,0,0,.65),transparent);background:linear-gradient(0deg,rgba(0,0,0,.65) 0,transparent)}.ampstart-image-heading>*{margin:0}amp-carousel .ampstart-image-with-heading{margin-bottom:0}.ampstart-image-with-caption figcaption{color:#4f4f4f;line-height:1.125rem}amp-carousel .ampstart-image-with-caption{margin-bottom:0}.ampstart-input{max-width:100%;width:300px;min-width:100px;font-size:1rem;line-height:1.5rem}.ampstart-input [disabled],.ampstart-input [disabled]+label{opacity:.5}.ampstart-input [disabled]:focus{outline:0}.ampstart-input>input,.ampstart-input>select,.ampstart-input>textarea{width:100%;margin-top:1rem;line-height:1.5rem;border:0;border-radius:0;border-bottom:1px solid #4a4a4a;background:none;color:#4a4a4a;outline:0}.ampstart-input>label{color:$theme-color;pointer-events:none;text-align:left;font-size:.875rem;line-height:1rem;opacity:0;-webkit-animation:.2s;animation:.2s;-webkit-animation-timing-function:cubic-bezier(.4,0,.2,1);animation-timing-function:cubic-bezier(.4,0,.2,1);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ampstart-input>input:focus,.ampstart-input>select:focus,.ampstart-input>textarea:focus{outline:0}.ampstart-input>input:focus::-webkit-input-placeholder,.ampstart-input>select:focus::-webkit-input-placeholder,.ampstart-input>textarea:focus::-webkit-input-placeholder{color:transparent}.ampstart-input>input:focus::-moz-placeholder,.ampstart-input>select:focus::-moz-placeholder,.ampstart-input>textarea:focus::-moz-placeholder{color:transparent}.ampstart-input>input:focus:-ms-input-placeholder,.ampstart-input>select:focus:-ms-input-placeholder,.ampstart-input>textarea:focus:-ms-input-placeholder{color:transparent}.ampstart-input>input:focus::placeholder,.ampstart-input>select:focus::placeholder,.ampstart-input>textarea:focus::placeholder{color:transparent}.ampstart-input>input:not(:placeholder-shown):not([disabled])+label,.ampstart-input>select:not(:placeholder-shown):not([disabled])+label,.ampstart-input>textarea:not(:placeholder-shown):not([disabled])+label{opacity:1}.ampstart-input>input:focus+label,.ampstart-input>select:focus+label,.ampstart-input>textarea:focus+label{-webkit-animation-name:a;animation-name:a}@-webkit-keyframes a{to{opacity:1}}@keyframes a{to{opacity:1}}.ampstart-input>label:after{content:"";height:2px;position:absolute;bottom:0;left:45%;background:$theme-color;-webkit-transition:.2s;transition:.2s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);visibility:hidden;width:10px}.ampstart-input>input:focus+label:after,.ampstart-input>select:focus+label:after,.ampstart-input>textarea:focus+label:after{left:0;width:100%;visibility:visible}.ampstart-input>input[type=search]{-webkit-appearance:none;-moz-appearance:none;appearance:none}.ampstart-input>input[type=range]{border-bottom:0}.ampstart-input>input[type=range]+label:after{display:none}.ampstart-input>select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.ampstart-input>select+label:before{content:"⌄";line-height:1.5rem;position:absolute;right:5px;zoom:2;top:0;bottom:0;color:$theme-color}.ampstart-input-chk,.ampstart-input-radio{width:auto;color:#4a4a4a}.ampstart-input input[type=checkbox],.ampstart-input input[type=radio]{margin-top:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border:1px solid $theme-color;vertical-align:middle;margin-right:.5rem;text-align:center}.ampstart-input input[type=radio]{border-radius:20px}.ampstart-input input[type=checkbox]:not([disabled])+label,.ampstart-input input[type=radio]:not([disabled])+label{pointer-events:auto;-webkit-animation:none;animation:none;vertical-align:middle;opacity:1;cursor:pointer}.ampstart-input input[type=checkbox]+label:after,.ampstart-input input[type=radio]+label:after{display:none}.ampstart-input input[type=checkbox]:after,.ampstart-input input[type=radio]:after{position:absolute;top:0;left:0;bottom:0;right:0;content:" ";line-height:1.4rem;vertical-align:middle;text-align:center;background-color:#fff}.ampstart-input input[type=checkbox]:checked:after{background-color:$theme-color;color:#fff;content:"✓"}.ampstart-input input[type=radio]:checked{background-color:#fff}.ampstart-input input[type=radio]:after{top:3px;bottom:3px;left:3px;right:3px;border-radius:12px}.ampstart-input input[type=radio]:checked:after{content:"";font-size:3rem;background-color:$theme-color}.ampstart-input>label,_:-ms-lang(x){opacity:1}.ampstart-input>input:-ms-input-placeholder,_:-ms-lang(x){color:transparent}.ampstart-input>input::placeholder,_:-ms-lang(x){color:transparent}.ampstart-input>input::-ms-input-placeholder,_:-ms-lang(x){color:transparent}.ampstart-input>select::-ms-expand{display:none}.ampstart-headerbar{background-color:$theme-color;color:#fff;z-index:999;box-shadow:0 0 5px 2px rgba(0,0,0,.1)}.ampstart-headerbar+:not(amp-sidebar),.ampstart-headerbar+amp-sidebar+*{margin-top:3.5rem}.ampstart-headerbar-nav .ampstart-nav-item{padding:0 1rem;background:transparent;opacity:.8}.ampstart-headerbar-nav{line-height:3.5rem}.ampstart-nav-item:active,.ampstart-nav-item:focus,.ampstart-nav-item:hover{opacity:1}.ampstart-navbar-trigger:focus{outline:none}.ampstart-nav a,.ampstart-navbar-trigger,.ampstart-sidebar-faq a{cursor:pointer;text-decoration:none}.ampstart-nav .ampstart-label{color:inherit}.ampstart-navbar-trigger{line-height:3.5rem;font-size:2rem}.ampstart-headerbar-nav{-webkit-box-flex:1;-ms-flex:1;flex:1}.ampstart-nav-search{-webkit-box-flex:0.5;-ms-flex-positive:0.5;flex-grow:0.5}.ampstart-headerbar .ampstart-nav-search:active,.ampstart-headerbar .ampstart-nav-search:focus,.ampstart-headerbar .ampstart-nav-search:hover{box-shadow:none}.ampstart-nav-search>input{border:none;border-radius:3px;line-height:normal}.ampstart-nav-dropdown{min-width:200px}.ampstart-nav-dropdown amp-accordion header{background-color:#fff;border:none}.ampstart-nav-dropdown amp-accordion ul{background-color:#fff}.ampstart-nav-dropdown .ampstart-dropdown-item,.ampstart-nav-dropdown .ampstart-dropdown>section>header{background-color:#fff;color:#000}.ampstart-nav-dropdown .ampstart-dropdown-item{color:$theme-color}.ampstart-sidebar{background-color:#fff;color:$theme-color;min-width:300px;width:300px}.ampstart-sidebar .ampstart-icon{fill:$theme-color}.ampstart-sidebar-header{line-height:3.5rem;min-height:3.5rem}.ampstart-sidebar .ampstart-dropdown-item,.ampstart-sidebar .ampstart-dropdown header,.ampstart-sidebar .ampstart-faq-item,.ampstart-sidebar .ampstart-nav-item,.ampstart-sidebar .ampstart-social-follow{margin:0 0 2rem}.ampstart-sidebar .ampstart-nav-dropdown{margin:0}.ampstart-sidebar .ampstart-navbar-trigger{line-height:inherit}.ampstart-navbar-trigger svg{pointer-events:none}.ampstart-related-article-section{border-color:#4a4a4a}.ampstart-related-article-section .ampstart-heading{color:#4a4a4a;font-weight:400}.ampstart-related-article-readmore{color:$theme-color;letter-spacing:0}.ampstart-related-section-items>li{border-bottom:1px solid #4a4a4a}.ampstart-related-section-items>li:last-child{border:none}.ampstart-related-section-items .ampstart-image-with-caption{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:0}.ampstart-related-section-items .ampstart-image-with-caption>amp-img,.ampstart-related-section-items .ampstart-image-with-caption>figcaption{-webkit-box-flex:1;-ms-flex:1;flex:1}.ampstart-related-section-items .ampstart-image-with-caption>figcaption{padding-left:1rem}@media (min-width:40.06rem){.ampstart-related-section-items>li{border:none}.ampstart-related-section-items .ampstart-image-with-caption>figcaption{padding:1rem 0}.ampstart-related-section-items .ampstart-image-with-caption>amp-img,.ampstart-related-section-items .ampstart-image-with-caption>figcaption{-ms-flex-preferred-size:100%;flex-basis:100%}}.ampstart-social-box{display:-webkit-box;display:-ms-flexbox;display:flex}.ampstart-social-box>amp-social-share{background-color:$theme-color}.ampstart-icon{fill:$theme-color}
528
+
529
529
  .related {
530
530
  background-color: #f5f5f5;
531
531
  margin: 1rem;
@@ -135,15 +135,15 @@ layout: default
135
135
  <amp-img width="100" height="100" class="author-thumb-post" layout="responsive" src="{{ site.baseurl }}{{site.data.author["author"]["assets"]}}" alt="Author image"/></amp-img>
136
136
  {% endif %}
137
137
  <a href=""><h4 class="author-name">{{site.data.author["author"]["name"]}}</h4></a>
138
- <p class="mb4 px3">{{site.bio}}</p>
138
+ <p class="mb4 px3">{{site.data.author["author"]["bio"]}}</p>
139
139
  </div>
140
140
 
141
141
  <!-- Start Socialbox -->
142
142
  <div class="ampstart-social-box mb4">
143
143
  <amp-social-share type="twitter" aria-label="Share this on Twitter"></amp-social-share>
144
- <amp-social-share type="facebook" aria-label="Share this on Facebook" data-param-text="Hello world" data-param-href="https://example.com/?ref=URL" data-param-app_id="145634995501895"></amp-social-share>
144
+ <amp-social-share type="facebook" aria-label="Share this on Facebook" data-param-app_id="145393166088568"></amp-social-share>
145
145
  <amp-social-share type="gplus" aria-label="Share this on Google Plus"></amp-social-share>
146
- <amp-social-share type="email" aria-label="Share this with E-mail" data-param-subject="Hello World" data-param-body="What's up?"></amp-social-share>
146
+ <amp-social-share type="email" aria-label="Share this with E-mail"></amp-social-share>
147
147
  </div>
148
148
  <!-- End Socialbox -->
149
149
 
@@ -1,70 +1,65 @@
1
- /**
2
- * Syntax highlighting styles
3
- */
4
- .highlight {
5
- background: #fff;
6
-
7
- .highlighter-rouge & {
8
- background: #eef;
9
- }
10
-
11
- .c { color: #998; font-style: italic } // Comment
12
- .err { color: #a61717; background-color: #e3d2d2 } // Error
13
- .k { font-weight: bold } // Keyword
14
- .o { font-weight: bold } // Operator
15
- .cm { color: #998; font-style: italic } // Comment.Multiline
16
- .cp { color: #999; font-weight: bold } // Comment.Preproc
17
- .c1 { color: #998; font-style: italic } // Comment.Single
18
- .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
19
- .gd { color: #000; background-color: #fdd } // Generic.Deleted
20
- .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
21
- .ge { font-style: italic } // Generic.Emph
22
- .gr { color: #a00 } // Generic.Error
23
- .gh { color: #999 } // Generic.Heading
24
- .gi { color: #000; background-color: #dfd } // Generic.Inserted
25
- .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
26
- .go { color: #888 } // Generic.Output
27
- .gp { color: #555 } // Generic.Prompt
28
- .gs { font-weight: bold } // Generic.Strong
29
- .gu { color: #aaa } // Generic.Subheading
30
- .gt { color: #a00 } // Generic.Traceback
31
- .kc { font-weight: bold } // Keyword.Constant
32
- .kd { font-weight: bold } // Keyword.Declaration
33
- .kp { font-weight: bold } // Keyword.Pseudo
34
- .kr { font-weight: bold } // Keyword.Reserved
35
- .kt { color: #458; font-weight: bold } // Keyword.Type
36
- .m { color: #099 } // Literal.Number
37
- .s { color: #d14 } // Literal.String
38
- .na { color: #008080 } // Name.Attribute
39
- .nb { color: #0086B3 } // Name.Builtin
40
- .nc { color: #458; font-weight: bold } // Name.Class
41
- .no { color: #008080 } // Name.Constant
42
- .ni { color: #800080 } // Name.Entity
43
- .ne { color: #900; font-weight: bold } // Name.Exception
44
- .nf { color: #900; font-weight: bold } // Name.Function
45
- .nn { color: #555 } // Name.Namespace
46
- .nt { color: #000080 } // Name.Tag
47
- .nv { color: #008080 } // Name.Variable
48
- .ow { font-weight: bold } // Operator.Word
49
- .w { color: #bbb } // Text.Whitespace
50
- .mf { color: #099 } // Literal.Number.Float
51
- .mh { color: #099 } // Literal.Number.Hex
52
- .mi { color: #099 } // Literal.Number.Integer
53
- .mo { color: #099 } // Literal.Number.Oct
54
- .sb { color: #d14 } // Literal.String.Backtick
55
- .sc { color: #d14 } // Literal.String.Char
56
- .sd { color: #d14 } // Literal.String.Doc
57
- .s2 { color: #d14 } // Literal.String.Double
58
- .se { color: #d14 } // Literal.String.Escape
59
- .sh { color: #d14 } // Literal.String.Heredoc
60
- .si { color: #d14 } // Literal.String.Interpol
61
- .sx { color: #d14 } // Literal.String.Other
62
- .sr { color: #009926 } // Literal.String.Regex
63
- .s1 { color: #d14 } // Literal.String.Single
64
- .ss { color: #990073 } // Literal.String.Symbol
65
- .bp { color: #999 } // Name.Builtin.Pseudo
66
- .vc { color: #008080 } // Name.Variable.Class
67
- .vg { color: #008080 } // Name.Variable.Global
68
- .vi { color: #008080 } // Name.Variable.Instance
69
- .il { color: #099 } // Literal.Number.Integer.Long
70
- }
1
+ .highlight .hll { background-color: #373b41 }
2
+ .highlight { background: #1d1f21; color: #c5c8c6 }
3
+ .highlight .c { color: #969896 } /* Comment */
4
+ .highlight .err { color: #cc6666 } /* Error */
5
+ .highlight .k { color: #b294bb } /* Keyword */
6
+ .highlight .l { color: #de935f } /* Literal */
7
+ .highlight .n { color: #c5c8c6 } /* Name */
8
+ .highlight .o { color: #8abeb7 } /* Operator */
9
+ .highlight .p { color: #c5c8c6 } /* Punctuation */
10
+ .highlight .cm { color: #969896 } /* Comment.Multiline */
11
+ .highlight .cp { color: #969896 } /* Comment.Preproc */
12
+ .highlight .c1 { color: #969896 } /* Comment.Single */
13
+ .highlight .cs { color: #969896 } /* Comment.Special */
14
+ .highlight .gd { color: #cc6666 } /* Generic.Deleted */
15
+ .highlight .ge { font-style: italic } /* Generic.Emph */
16
+ .highlight .gh { color: #c5c8c6; font-weight: bold } /* Generic.Heading */
17
+ .highlight .gi { color: #b5bd68 } /* Generic.Inserted */
18
+ .highlight .gp { color: #969896; font-weight: bold } /* Generic.Prompt */
19
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
20
+ .highlight .gu { color: #8abeb7; font-weight: bold } /* Generic.Subheading */
21
+ .highlight .kc { color: #b294bb } /* Keyword.Constant */
22
+ .highlight .kd { color: #b294bb } /* Keyword.Declaration */
23
+ .highlight .kn { color: #8abeb7 } /* Keyword.Namespace */
24
+ .highlight .kp { color: #b294bb } /* Keyword.Pseudo */
25
+ .highlight .kr { color: #b294bb } /* Keyword.Reserved */
26
+ .highlight .kt { color: #f0c674 } /* Keyword.Type */
27
+ .highlight .ld { color: #b5bd68 } /* Literal.Date */
28
+ .highlight .m { color: #de935f } /* Literal.Number */
29
+ .highlight .s { color: #b5bd68 } /* Literal.String */
30
+ .highlight .na { color: #81a2be } /* Name.Attribute */
31
+ .highlight .nb { color: #c5c8c6 } /* Name.Builtin */
32
+ .highlight .nc { color: #f0c674 } /* Name.Class */
33
+ .highlight .no { color: #cc6666 } /* Name.Constant */
34
+ .highlight .nd { color: #8abeb7 } /* Name.Decorator */
35
+ .highlight .ni { color: #c5c8c6 } /* Name.Entity */
36
+ .highlight .ne { color: #cc6666 } /* Name.Exception */
37
+ .highlight .nf { color: #81a2be } /* Name.Function */
38
+ .highlight .nl { color: #c5c8c6 } /* Name.Label */
39
+ .highlight .nn { color: #f0c674 } /* Name.Namespace */
40
+ .highlight .nx { color: #81a2be } /* Name.Other */
41
+ .highlight .py { color: #c5c8c6 } /* Name.Property */
42
+ .highlight .nt { color: #8abeb7 } /* Name.Tag */
43
+ .highlight .nv { color: #cc6666 } /* Name.Variable */
44
+ .highlight .ow { color: #8abeb7 } /* Operator.Word */
45
+ .highlight .w { color: #c5c8c6 } /* Text.Whitespace */
46
+ .highlight .mf { color: #de935f } /* Literal.Number.Float */
47
+ .highlight .mh { color: #de935f } /* Literal.Number.Hex */
48
+ .highlight .mi { color: #de935f } /* Literal.Number.Integer */
49
+ .highlight .mo { color: #de935f } /* Literal.Number.Oct */
50
+ .highlight .sb { color: #b5bd68 } /* Literal.String.Backtick */
51
+ .highlight .sc { color: #c5c8c6 } /* Literal.String.Char */
52
+ .highlight .sd { color: #969896 } /* Literal.String.Doc */
53
+ .highlight .s2 { color: #b5bd68 } /* Literal.String.Double */
54
+ .highlight .se { color: #de935f } /* Literal.String.Escape */
55
+ .highlight .sh { color: #b5bd68 } /* Literal.String.Heredoc */
56
+ .highlight .si { color: #de935f } /* Literal.String.Interpol */
57
+ .highlight .sx { color: #b5bd68 } /* Literal.String.Other */
58
+ .highlight .sr { color: #b5bd68 } /* Literal.String.Regex */
59
+ .highlight .s1 { color: #b5bd68 } /* Literal.String.Single */
60
+ .highlight .ss { color: #b5bd68 } /* Literal.String.Symbol */
61
+ .highlight .bp { color: #c5c8c6 } /* Name.Builtin.Pseudo */
62
+ .highlight .vc { color: #cc6666 } /* Name.Variable.Class */
63
+ .highlight .vg { color: #cc6666 } /* Name.Variable.Global */
64
+ .highlight .vi { color: #cc6666 } /* Name.Variable.Instance */
65
+ .highlight .il { color: #de935f } /* Literal.Number.Integer.Long */
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanuman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samanyou Garg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-05 00:00:00.000000000 Z
11
+ date: 2017-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '12.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '12.3'
83
83
  description:
84
84
  email:
85
85
  - samanyugarg@gmail.com