inkstream 0.1.2 → 0.1.4

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
  SHA256:
3
- metadata.gz: 6a9e843dcf7cefdbd637cda47a67c4665f4b94771b79785e25da1cb983236a66
4
- data.tar.gz: e8a9942bf4eeaa5da89579d648fb76744ab3687c736941899a30589e6f1f0502
3
+ metadata.gz: c64aa327fdb86f1c87a1453fc6ba215890bd846482d9cefe751351ba9b30eabf
4
+ data.tar.gz: 3996db1960094a582351be8fdf077f0637ebfcbf79db496db5d04e63e7223240
5
5
  SHA512:
6
- metadata.gz: e9a8effb5b55e8d4073f7de2bd5558102f6280eb841e92b388a26b41a1f30be8e4767dbfffdd6b3f470cd5969b77cf81a290ff6a7f2957d173086b3c8c35984a
7
- data.tar.gz: cc75fedf222238643045c9f984edadc9cf8c2b564defbab569fd0a97470025d91410166afeb462a8c374c3f81255ee0e75373075bfd4d5cf19305b0456209aa9
6
+ metadata.gz: 8f353d93f2f4d9b0f92a64e7b8a40cd2f67d0c826e189e21fefc525a2c66db6b41b9d68bf4e8c9aafa24e3a284f33aadc076a9a795cbcdbc98ef5f3813b9ff8d
7
+ data.tar.gz: 5be0b4a9f243b4599e14cef3c8f4a929a51bfc04fa6162fa5ca1453ed049ae17f69e71f848e1b5f2a9ef662f6e89ffbefaffae9c82fd5ad1b117ce0961045cc8
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # inkstream
1
+ # Inkstream [![Gem Version](https://badge.fury.io/rb/inkstream.svg)](https://badge.fury.io/rb/inkstream)
2
2
 
3
3
  Welcome to a brand new Jekyll theme!
4
4
 
data/_config.yml CHANGED
@@ -1,24 +1,150 @@
1
- ### Site Configuration ###
1
+ # =================================================================================
2
+ # Site Configuration
3
+ # =================================================================================
2
4
 
3
- # 1. Files excluded from Jekyll builds
5
+ title : blank # The site title (if blank, full name will be used instead)
6
+ full_name : Your Full Name # The full site name (if blank, title will be used instead)
7
+ email : 'your@gmail.com' # Your email address
8
+ lang : en # Site language (en for English)
9
+ encoding : utf-8 # Site encoding (utf-8 for Unicode)
10
+ icon : '/assets/favicon/favicon.ico' # Site favicon
11
+ logo : '/assets/logo/logo.jpg' # Site logo, also used in jekyll-seo-tag
12
+ home-bg : '/assets/images/home-bg.jpg' # Home background image
13
+ url : 'https://inkstream.netlify.app' # Site URL (if using a custom domain)
14
+ baseurl : '' # Site base URL (add if site is not at root)
15
+ repo : 'https://github.com/dev-mdirfan/inkstream' # Site repository, also used in jekyll-seo-tag
16
+ description : > # Site description and default description, also used in jekyll-seo-tag
17
+ A minimal, responsive, and fast Jekyll theme for personal blogs and portfolios.
18
+ keywords : > # For SEO
19
+ jekyll, theme, minimal, responsive, blog, portfolio, fast, seo, social, web, development
20
+ footer_text : '© 2021 Inkstream' # Footer text
21
+
22
+
23
+
24
+ # =================================================================================
25
+ # Theme Settings
26
+ # =================================================================================
27
+
28
+ # ---
29
+
30
+
31
+
32
+
33
+ # =================================================================================
34
+ # Social Integration
35
+ # =================================================================================
36
+
37
+ social_links: # Leave blank according to your need
38
+ linkedin_username : mdirfan57 # Your LinkedIn username
39
+ github_username : dev-mdirfan # Your GitHub username
40
+ twitter_username : mohdirfan57 # Your Twitter username
41
+ stackoveflow_username : 13520260/mohd-irfan # Your Stackoverflow username
42
+ codepen_username : mohdirfan57 # Your Codepen username
43
+
44
+ user:
45
+ name : Sarah Parker # Your name (required)
46
+ bio : 'A passionate web developer and designer.' # Short bio, You can also provide a links.
47
+ profession : 'Web Developer' # Your profession (optional)
48
+ location : 'India' # Your location (optional)
49
+ email : your@gmail.com # Your email address (optional)
50
+
51
+ download_resume: '/assets/resume/resume.pdf' # Add the path to your resume
52
+
53
+
54
+
55
+ # =================================================================================
56
+ # Jekyll Settings
57
+ # =================================================================================
58
+
59
+ # Markdown and syntax highlight
60
+ markdown: kramdown
61
+ highlighter: rouge
62
+ kramdown:
63
+ input: GFM
64
+ syntax_highlighter_opts:
65
+ css_class: "highlight"
66
+ span:
67
+ line_numbers: false
68
+ block:
69
+ line_numbers: false
70
+ start_line: 1
71
+
72
+ # Includes & excludes
73
+ include: ["_pages", "blog", "_posts"]
4
74
  exclude:
5
75
  - README.md
6
76
  - LICENSE
77
+ - CODE_OF_CONDUCT.md
7
78
  - CNAME
8
79
  - Gemfile
9
80
  - Gemfile.lock
10
81
  - inkstream.gemspec
11
82
  - .jekyll-cache
83
+ - /demo/
84
+ # - CONTRIBUTING.md
85
+ # - INSTALL.md
12
86
 
13
- # 2. Installed Gems
87
+ # Plugins
14
88
  plugins:
15
89
  - jekyll-paginate
16
90
  - jekyll-seo-tag
17
91
 
18
- # 3. Gem settings
19
- paginate: 5 # jekyll-paginate > items per page
20
- paginate_path: blog/:num # jekyll-paginate > blog page
21
- author: MohdIrfan # jekyll-seo-tag > default author
92
+ # Defaults
93
+ defaults:
94
+ - # Page settings
95
+ scope:
96
+ path: ""
97
+ type: "pages"
98
+ values:
99
+ layout: "page"
100
+ - # Post settings
101
+ scope:
102
+ path: ""
103
+ type: "posts"
104
+ values:
105
+ layout: "post"
106
+ -
107
+ scope:
108
+ path: ""
109
+ values:
110
+ image: '/assets/images/posts/default-post-img.jpg' # Default post image
111
+ # - # Sitemap settings
112
+ # scope:
113
+ # path: "assets"
114
+ # values:
115
+ # sitemap: false
116
+
117
+
118
+
119
+ # =================================================================================
120
+ # Site Navigation
121
+ # =================================================================================
122
+
123
+ # Nav Links
124
+ navigation_header:
125
+ -
126
+ title: Home
127
+ url: /
128
+ icon: home
129
+ -
130
+ title: Blog
131
+ url: /blog/
132
+ icon: blog
133
+ -
134
+ title: About Me
135
+ url: /about/
136
+ icon: user
137
+
138
+ navigation_footer:
139
+ -
140
+ title: Mohd Irfan
141
+ url: https://github.com/dev-mdirfan/
142
+
143
+ # Gem settings (jekyll-paginate, jekyll-seo-tag)
144
+ paginate : 5 # jekyll-paginate > items per page
145
+ paginate_path : blog/:num # jekyll-paginate > blog page
146
+ pinned : false # jekyll-seo-tag > pin the post to the top of the list
147
+ author : MohdIrfan # jekyll-seo-tag > default author
22
148
  twitter:
23
149
  username: mohdirfan57 # jekyll-seo-tag > Owners twitter username
24
150
  social: # jekyll-seo-tag > social overrides
@@ -44,36 +170,6 @@ collections:
44
170
  pin: true # Pin the post to the top of the list
45
171
  image: 'https://picsum.photos/2560/600?image=866'
46
172
 
47
- # 6. Jekyll defaults
48
- defaults:
49
- - scope:
50
- path: ''
51
- values:
52
- image: '/assets/images/posts/default-post-img.jpg' # Default image for sharing
53
- - scope:
54
- path: ''
55
- type: 'posts'
56
- values:
57
- layout: post # Set the default layout for posts
58
- - scope:
59
- path: ''
60
- type: 'pages'
61
- values:
62
- layout: page # Set the default layout for pages
63
-
64
- # 7. Site settings
65
- encoding: utf-8 # Make sure the encoding is right
66
- lang: en # Set the site language
67
- title: 'Inkstream' # Site name or title, also used in jekyll-seo-tag
68
- logo: '/assets/logo/logo.jpg' # Site logo, also used in jekyll-seo-tag
69
- description: 'Inkstream is a sleek and modern Jekyll theme tailored for bloggers seeking a seamless platform to express their ideas and stories. With its elegant design and intuitive features, Inkstream facilitates the continuous flow of content creation, empowering users to share their thoughts effortlessly.' # Site description and default description, also used in jekyll-seo-tag
70
- url: 'https://inkstream.netlify.app' # Site url, also used in jekyll-seo-tag
71
- baseurl: ''
72
- repo: 'https://github.com/dev-mdirfan/inkstream' # Site repository, also used in jekyll-seo-tag
73
- email: 'mdirfan5702@gmail.com'
74
- # short_name: "Al" # The web application short name, defaults to the site title
75
- css_inline: false # Will insert all styles into a single <style> block in the <head> element and remove the style <link> reference
76
-
77
173
  # 8. Site favicons & manifest icons
78
174
  favicons: # Favicons are also used in the manifest file. Syntax is 'size: path'
79
175
  '16': '/assets/favicon/favicon-16x16.png'
@@ -85,39 +181,7 @@ favicons: # Favicons are also used in the manifest file. Syntax is 'size: path'
85
181
  webmanifest: '/assets/favicon/site.webmanifest'
86
182
  safari: '/assets/favicon/safari-pinned-tab.svg'
87
183
 
88
- # 9. Site navigation
89
- navigation_header:
90
- - title: Home
91
- url: /
92
- icon: home
93
- - title: Blog
94
- url: /blog/
95
- icon: blog
96
- - title: About Me
97
- url: /about/
98
- icon: user
99
184
 
100
- navigation_footer:
101
- - title: Mohd Irfan
102
- url: https://github.com/dev-mdirfan/
103
-
104
- # 10. Your Personal Info (Social links - Appears in sidebar)
105
- author:
106
- name: Sarah Parker # Your name (required)
107
- bio: 'A passionate web developer and designer.' # Short bio or description, You can also provide a link to the about page. (required)
108
- profession: 'Web Developer' # Your profession (optional)
109
- location: 'India' # Your location (optional)
110
- email: your@gmail.com # Your email address (optional)
111
- social_links: # Set the urls then uncomment and comment out as desired
112
- Twitter: https://twitter.com/mohdirfan57
113
- LinkedIn: https://www.linkedin.com/in/mdirfan57
114
- GitHub: https://github.com/dev-mdirfan
115
- Stackoverflow: https://stackoverflow.com/users/13520260/mohd-irfan
116
- Codepen: https://codepen.io/mohdirfan57
117
- download_resume: '/assets/resume/resume.pdf' # Add the path to your resume
118
- # sharing_links: # Appear at the bottom of single blog posts, add as desired. The value can be 'true' or the desired button colour
119
- # Twitter: '#0d94e7'
120
- # facebook: '#3B5998'
121
185
  # Email: true
122
186
 
123
187
  # # Load custom fonts from fonts.google.com etc
@@ -0,0 +1,41 @@
1
+ <!-- Metadata -->
2
+ <meta charset="{{ site.encoding | default: 'utf-8' }}">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
5
+ <meta name="description" content="{{ site.description | default: 'A sleek and modern Jekyll theme tailored for bloggers seeking a seamless platform to express their ideas and stories.' }}">
6
+ <meta name="author" content="{{ site.author.name }}">
7
+ <!-- Favicons -->
8
+ {% if site.favicons or site.avatarurl %}{% include site-favicons.html %}{% endif %}
9
+
10
+
11
+ {% if page.indexing == false %}
12
+ <meta name="robots" content="noindex">
13
+ {% endif %}
14
+
15
+ {% if page.collectionpage %}
16
+ {% seo title=false %}
17
+
18
+ {% assign collectiondata = site.collections | where: "label", page.collectionpage | first %}
19
+ <!-- Title -->
20
+ <title>{{ collectiondata.title }} | {{ site.title }}</title>
21
+ <meta property="og:title" content="{{ collectiondata.title }}">
22
+ <meta name="description" content="{{ collectiondata.description }}">
23
+ <meta property="og:description" content="{{ collectiondata.description }}">
24
+ {% else %}
25
+ {% seo %}
26
+ {% endif %}
27
+
28
+ <!-- FontAwesome JS-->
29
+ <!-- {% include site-fonts.html %} -->
30
+ <script src="https://use.fontawesome.com/releases/v5.7.1/js/all.js"
31
+ integrity="sha384-eVEQC9zshBn0rFj4+TU78eNA19HMNigMviK/PU/FFjLXqa/GKPgX58rvt5Z8PLs7" crossorigin="anonymous">
32
+ </script>
33
+
34
+
35
+ {% if site.css_inline == true %}
36
+ {% include site-styles.html %}
37
+ {% else %}
38
+ <!-- CSS -->
39
+ <link id="theme-style" rel="stylesheet" href="{{ '/assets/css/styles.css' | relative_url }}">
40
+ {% endif %}
41
+ <!-- End of _includes/head.html -->
@@ -1,7 +1,7 @@
1
1
  <nav class="nav">
2
2
  <ul class="list list--nav">
3
3
  {% for item in site.html_pages %}
4
- {% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" %}
4
+ {% unless item.title == false or item.url contains "/page" or item.url contains "/404" %}
5
5
  <li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
6
6
 
7
7
  {% if item.url contains '://' %}
@@ -0,0 +1,38 @@
1
+ <div class="blog-comments-section">
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ /**
5
+ * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT
6
+ * THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR
7
+ * PLATFORM OR CMS.
8
+ *
9
+ * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
10
+ * https://disqus.com/admin/universalcode/#configuration-variables
11
+ */
12
+ /*
13
+ var disqus_config = function () {
14
+ // Replace PAGE_URL with your page's canonical URL variable
15
+ this.page.url = PAGE_URL;
16
+
17
+ // Replace PAGE_IDENTIFIER with your page's unique identifier variable
18
+ this.page.identifier = PAGE_IDENTIFIER;
19
+ };
20
+ */
21
+
22
+ (function () { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
23
+ var d = document, s = d.createElement('script');
24
+
25
+ // IMPORTANT: Replace 3wmthemes with your forum shortname!
26
+ s.src = 'https://3wmthemes.disqus.com/embed.js';
27
+
28
+ s.setAttribute('data-timestamp', +new Date());
29
+ (d.head || d.body).appendChild(s);
30
+ })();
31
+ </script>
32
+ <noscript>
33
+ Please enable JavaScript to view the
34
+ <a href="https://disqus.com/?ref_noscript" rel="nofollow">
35
+ comments powered by Disqus.
36
+ </a>
37
+ </noscript>
38
+ </div><!--//blog-comments-section-->
@@ -1,9 +1,47 @@
1
+ {% if page.url == "/blog/" %}
2
+ {% for post in site.posts %}
3
+ {% if post.pinned == true %}
4
+ {% capture words %}
5
+ {{ post.content | number_of_words }}
6
+ {% endcapture %}
7
+ <div class="card my-4 shadow-lg">
8
+ <div class="d-flex justify-content-between">
9
+ <!-- pinned -->
10
+ <small class="text-muted position-absolute" style="top: 10px; left: 10px; z-index: 1;">
11
+ <span class="badge-warning rounded">📌 <strong>Pinned</strong> &nbsp;</span>
12
+ </small>
13
+ <img class="card-img-top" src="{{ post.image | relative_url }}" alt="{{ post.title }}"
14
+ style="width: 250px; object-fit: cover;">
15
+ <div class="card-body">
16
+ <h3 class="card-title">
17
+ <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
18
+ </h3>
19
+ <p class="card-text">{{ post.excerpt | markdownify | truncatewords: 42 }}</p>
20
+ <a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-primary">Read more &rarr;</a>
21
+ </div>
22
+ </div>
23
+
24
+ <div class="card-footer text-muted d-flex justify-content-between">
25
+ <span class="date">Published on {{ post.date | date: "%b %-d, %Y" }}</span>
26
+ <span class="comment"><a href="#">4 comments</a></span>
27
+ <span class="time align-content-end">
28
+ <i class="fas fa-clock fa-fw mr-1"></i>
29
+ {{ words | divided_by: 180 | append: ' min read' }} &bull;
30
+ {{ words }} words
31
+ </span>
32
+ </div>
33
+ </div>
34
+ {% endif %}
35
+ {% endfor %}
36
+ {% endif %}
37
+
1
38
  {% if paginator.posts %}
2
39
  {% for page in paginator.posts %}
40
+ {% unless page.pinned %}
3
41
  {% capture words %}
4
42
  {{ page.content | number_of_words }}
5
43
  {% endcapture %}
6
- <div class="card shadow-sm my-4">
44
+ <div class="card my-4 shadow-lg">
7
45
  <div class="d-flex justify-content-between">
8
46
  <img class="card-img-top" src="{{ page.image | relative_url }}" alt="{{ page.title }}"
9
47
  style="width: 250px; object-fit: cover;">
@@ -21,11 +59,11 @@
21
59
  <span class="comment"><a href="#">4 comments</a></span>
22
60
  <span class="time align-content-end">
23
61
  <i class="fas fa-clock fa-fw mr-1"></i>{{ words | divided_by: 180 | append: ' min read' }} &bull; {{ words
24
- }}
25
- words
62
+ }} words
26
63
  </span>
27
64
  </div>
28
65
  </div>
66
+ {% endunless %}
29
67
  {% endfor %}
30
68
  {% include post-pagination.html %}
31
69
  {% else %}
@@ -56,4 +94,5 @@
56
94
  </div>
57
95
  </div>
58
96
  {% endfor %}
97
+ {% include post-pagination.html %}
59
98
  {% endif %}
@@ -0,0 +1 @@
1
+ <script src="{{ 'assets/plugins/bootstrap/js/bootstrap.min.js' | relative_url }}"></script>
@@ -0,0 +1 @@
1
+ <script src="{{ 'assets/plugins/jquery-3.3.1.min.js' | relative_url }}"></script>
@@ -0,0 +1 @@
1
+ <script src="{{'assets/plugins/popper.min.js' | relative_url }}"></script>
@@ -9,47 +9,29 @@
9
9
  <div id="navigation" class="collapse navbar-collapse flex-column">
10
10
  <!-- Profile Section Start -->
11
11
  <div class="profile-section pt-3 pt-lg-0">
12
- <img class="profile-image mb-3 rounded-circle mx-auto" src="{{ site.logo | relaive_url }}" alt="image">
13
- <h3 class="blog-name pt-2 mb-3"><a href="{{ site.navigation_header[0].url }}">{{ site.title }}'s
14
- Blog</a></h3>
12
+ <a href="{{ site.navigation_header[0].url }}">
13
+ <img class="profile-image mb-3 rounded-circle mx-auto" src="{{ site.logo | relaive_url }}" alt="image">
14
+ </a>
15
+ <h3 class="blog-name pt-2 mb-3">
16
+ <a href="{{ site.navigation_header[0].url }}">{{ site.user.name }}'s Blog</a>
17
+ </h3>
15
18
 
19
+ <!-- Bio Section Start-->
16
20
  <div class="bio mb-3">
17
- Hi, my name is {{ site.author.name }}.
21
+ Hi, my name is {{ site.user.name }}.
18
22
  <p>
19
- {{ site.author.bio }}
23
+ {{ site.user.bio }}
20
24
  </p>
21
- <p>I am a {{ site.author.profession }}.</p>
25
+ <p>I am a {{ site.user.profession }}.</p>
22
26
  <p>
23
27
  <strong>Email: &nbsp;</strong><a href="mailto:{{ site.email }}">
24
- {{ site.author.email }}
28
+ {{ site.user.email }}
25
29
  </a>
26
30
  </p>
27
31
  </div>
28
- <!-- Bio Section Start-->
29
32
  <ul class="social-list list-inline py-3 mx-auto">
30
- <!-- Social List -->
31
- {% if site.social_links.Twitter %}
32
- <li class="list-inline-item"><a href="{{ site.social_links.Twitter }}"><i
33
- class="fab fa-twitter fa-fw"></i></a></li>
34
- {% endif %}
35
- {% if site.social_links.LinkedIn %}
36
- <li class="list-inline-item"><a href="{{ site.social_links.LinkedIn }}"><i
37
- class="fab fa-linkedin-in fa-fw"></i></a></li>
38
- {% endif %}
39
- {% if site.social_links.Github %}
40
- <li class="list-inline-item"><a href="{{ site.social_links.GitHub }}"><i
41
- class="fab fa-github-alt fa-fw"></i></a></li>
42
- {% endif %}
43
- {% if site.social_links.Stackoverflow %}
44
- <li class="list-inline-item"><a href="{{ site.social_links.Stackoverflow }}"><i
45
- class="fab fa-stack-overflow fa-fw"></i></a></li>
46
- {% endif %}
47
- {% if site.social_links.Codepen %}
48
- <li class="list-inline-item"><a href="{{ site.social_links.Codepen }}"><i
49
- class="fab fa-codepen fa-fw"></i></a></li>
50
- {% endif %}
33
+ {% include social.html %}
51
34
  </ul>
52
- <!-- Bio Section end-->
53
35
  <hr style="background: white;">
54
36
  </div>
55
37
  <!-- Profile Section End-->
@@ -0,0 +1,36 @@
1
+ <!-- Social List -->
2
+ {% if site.social_links.linkedin_username %}
3
+ <li class="list-inline-item">
4
+ <a href="https://www.linkedin.com/in/{{ site.social_links.linkedin_username }}" target="_blank">
5
+ <i class="fab fa-linkedin-in fa-fw"></i>
6
+ </a>
7
+ </li>
8
+ {% endif %}
9
+ {% if site.social_links.github_username %}
10
+ <li class="list-inline-item">
11
+ <a href="https://github.com/{{ site.social_links.github_username }}" target="_blank">
12
+ <i class="fab fa-github-alt fa-fw"></i>
13
+ </a>
14
+ </li>
15
+ {% endif %}
16
+ {% if site.social_links.twitter_username %}
17
+ <li class="list-inline-item">
18
+ <a href="https://twitter.com/{{ site.social_links.twitter_username }}" target="_blank">
19
+ <i class="fab fa-twitter fa-fw"></i>
20
+ </a>
21
+ </li>
22
+ {% endif %}
23
+ {% if site.social_links.stackoverflow_username %}
24
+ <li class="list-inline-item">
25
+ <a href="https://stackoverflow.com/users/{{ site.social_links.stackoverflow_username }}" target="_blank">
26
+ <i class="fab fa-stack-overflow fa-fw"></i>
27
+ </a>
28
+ </li>
29
+ {% endif %}
30
+ {% if site.social_links.codepen_username %}
31
+ <li class="list-inline-item">
32
+ <a href="https://codepen.io/{{ site.social_links.codepen_usernamen }}" target="_blank">
33
+ <i class="fab fa-codepen fa-fw"></i>
34
+ </a>
35
+ </li>
36
+ {% endif %}
@@ -2,61 +2,17 @@
2
2
  <html lang="{{ site.lang | default: 'en' }}">
3
3
 
4
4
  <head>
5
- <!-- Meta -->
6
- <meta charset="utf-8">
7
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
9
- <meta name="description" content="Blog Template">
10
- <meta name="author" content="Xiaoying Riley at 3rd Wave Media">
11
- <!-- Favicons -->
12
- {% if site.favicons or site.avatarurl %}{% include site-favicons.html %}{% endif %}
13
-
14
-
15
- {% if page.indexing == false %}
16
- <meta name="robots" content="noindex">
17
- {% endif %}
18
-
19
- {% if page.collectionpage %}
20
- {% seo title=false %}
21
-
22
- {% assign collectiondata = site.collections | where: "label", page.collectionpage | first %}
23
- <!-- Title -->
24
- <title>{{ collectiondata.title }} | {{ site.title }}</title>
25
- <meta property="og:title" content="{{ collectiondata.title }}">
26
- <meta name="description" content="{{ collectiondata.description }}">
27
- <meta property="og:description" content="{{ collectiondata.description }}">
28
- {% else %}
29
- {% seo %}
30
- {% endif %}
31
-
32
- <!-- FontAwesome JS-->
33
- <!-- {% include site-fonts.html %} -->
34
- <script src="https://use.fontawesome.com/releases/v5.7.1/js/all.js"
35
- integrity="sha384-eVEQC9zshBn0rFj4+TU78eNA19HMNigMviK/PU/FFjLXqa/GKPgX58rvt5Z8PLs7"
36
- crossorigin="anonymous">
37
- </script>
38
-
39
-
40
- {% if site.css_inline == true %}
41
- {% include site-styles.html %}
42
- {% else %}
43
- <!-- Theme CSS -->
44
- <link id="theme-style" rel="stylesheet" href="{{ '/assets/css/styles.css' | relative_url }}">
45
- {% endif %}
46
-
47
- {% include site-before-start.html %}
5
+ {% include head.html %}
48
6
  </head>
49
7
 
50
8
  <body>
51
9
 
52
10
  {{ content }}
53
11
 
54
- {% include site-before-end.html %}
55
- <!-- Javascript -->
56
- <script src="{{ 'assets/plugins/jquery-3.3.1.min.js' | relative_url }}"></script>
57
- <script src="{{'assets/plugins/popper.min.js' | relative_url }}"></script>
58
- <script src="{{ 'assets/plugins/bootstrap/js/bootstrap.min.js' | relative_url }}"></script>
59
-
12
+ <!-- JavaScripts -->
13
+ {% include scripts/jquery.html %}
14
+ {% include scripts/popper.html %}
15
+ {% include scripts/bootstrap.html %}
60
16
  </body>
61
17
 
62
18
  </html>
data/_layouts/page.html CHANGED
@@ -2,13 +2,32 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
+ <style>
6
+ .theme-bg-image {
7
+ background-image: url("{{ site.home-bg | relative_url }}");
8
+ /* Replace 'path/to/your/image.jpg' with the actual path to your image */
9
+ background-size: cover;
10
+ background-position: center;
11
+ /* shadow */
12
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
13
+ }
14
+
15
+ .theme-bg-image .container {
16
+ background-color: rgba(255, 255, 255, 0.8);
17
+ /* Adjust the alpha value to change the opacity of the background */
18
+ padding: 20px;
19
+ border-radius: 10px;
20
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
21
+ /* Adjust the shadow as needed */
22
+ }
23
+ </style>
24
+
5
25
  <!-- Header -->
6
26
  {% include site-header.html %}
7
27
 
8
28
  <!-- Main Wrapper Start -->
9
29
  <div class="main-wrapper">
10
- <!-- Page Content -->
11
- <section class="cta-section theme-bg-light py-5">
30
+ <section class="cta-section theme-bg-image py-5">
12
31
  <div class="container text-center">
13
32
  <h2 class="heading">Inkstream - Jekyll Blog Theme Made For Developers</h2>
14
33
  <div class="intro">Welcome to my blog. Subscribe and get my latest blog post in your inbox.</div>
data/_layouts/post.html CHANGED
@@ -10,179 +10,47 @@ layout: default
10
10
  <div class="container">
11
11
  <header class="blog-post-header">
12
12
  <h2 class="title mb-2">{{ page.title }}</h2>
13
- <div class="meta mb-3"><span class="date">Published 3 months ago</span><span class="time">5 min
14
- read</span><span class="comment"><a href="#">4 comments</a></span></div>
13
+ <div class="meta mb-3">
14
+ <span class="date">
15
+ {% assign current_date = site.time | date: "%s" %}
16
+ {% assign post_date = page.date | date: "%s" %}
17
+
18
+ {% assign time_difference = current_date | minus: post_date %}
19
+ {% assign seconds_in_a_day = 86400 %}
20
+ {% assign seconds_in_a_month = 2628000 %}
21
+ {% assign seconds_in_a_year = 31536000 %}
22
+
23
+ {% if time_difference < seconds_in_a_day %} Posted {{ time_difference | divided_by: 60 | round
24
+ }} minutes ago {% elsif time_difference < seconds_in_a_month %} Posted {{ time_difference |
25
+ divided_by: seconds_in_a_day | round }} days ago {% elsif time_difference <
26
+ seconds_in_a_year %} Posted {{ time_difference | divided_by: seconds_in_a_month | round }}
27
+ months ago {% else %} Posted {{ time_difference | divided_by: seconds_in_a_year | round }}
28
+ years ago {% endif %} </span>
29
+ {% capture words %}
30
+ {{ page.content | number_of_words }}
31
+ {% endcapture %}
32
+ <span class="time">{{ words | divided_by: 180 }} min read</span>
33
+ <span class="time">{{ words }} words</span>
34
+ <span class="comment">
35
+ <a href="#">4 comments</a>
36
+ </span>
37
+ </div>
15
38
  </header>
16
39
 
17
40
  <div class="blog-post-body">
18
41
  <figure class="blog-banner">
19
- <a href="https://made4dev.com"><img class="img-fluid" src="assets/images/blog/blog-post-banner.jpg"
20
- alt="image"></a>
21
- <figcaption class="mt-2 text-center image-caption">Image Credit: <a
22
- href="https://made4dev.com?ref=devblog" target="_blank">made4dev.com (Premium Programming
23
- T-shirts)</a></figcaption>
42
+ <a href="{{ page.image | relative_url }}">
43
+ <img class="img-fluid rounded-left rounded-right shadow-sm" src="{{ page.image | relative_url }}"
44
+ alt="{{ page.title }}" style="max-height: 400px; width: 100%;">
45
+ </a>
46
+ <figcaption class="mt-2 text-center image-caption">Image: {{ page.title | capitalize }}
47
+ </figcaption>
24
48
  </figure>
25
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean
26
- massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec
27
- quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.
28
- Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
29
- imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.
30
- Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
31
- porttitor eu, consequat vitae, eleifend ac, enim. </p>
32
-
33
- <h3 class="mt-5 mb-3">Code Block Example</h3>
34
- <p>You can get more info at <a href="https://highlightjs.org/"
35
- target="_blank">https://highlightjs.org/</a>. Lorem ipsum dolor sit amet, consectetuer
36
- adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et
37
- magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque
38
- eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet
39
- nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam
40
- dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.
41
- Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac,
42
- enim. </p>
43
- <pre>
44
- <code>
45
- function $initHighlight(block, cls) {
46
- try {
47
- if (cls.search(/\bno\-highlight\b/) != -1)
48
- return process(block, true, 0x0F) +
49
- ` class="${cls}"`;
50
- } catch (e) {
51
- /* handle exception */
52
- }
53
- for (var i = 0 / 2; i < classes.length; i++) {
54
- if (checkCondition(classes[i]) === undefined)
55
- console.log('undefined');
56
- }
57
- }
58
-
59
- export $initHighlight;
60
- </code>
61
- </pre>
62
- <h3 class="mt-5 mb-3">Typography</h3>
63
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean
64
- massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
65
- <h5 class="my-3">Bullet Points:</h5>
66
- <ul class="mb-5">
67
- <li class="mb-2">Lorem ipsum dolor sit amet consectetuer.</li>
68
- <li class="mb-2">Aenean commodo ligula eget dolor.</li>
69
- <li class="mb-2">Aenean massa cum sociis natoque penatibus.</li>
70
- </ul>
71
- <ol class="mb-5">
72
- <li class="mb-2">Lorem ipsum dolor sit amet consectetuer.</li>
73
- <li class="mb-2">Aenean commodo ligula eget dolor.</li>
74
- <li class="mb-2">Aenean massa cum sociis natoque penatibus.</li>
75
- </ol>
76
- <h5 class="my-3">Quote Example:</h5>
77
- <blockquote class="blockquote m-lg-5 py-3 pl-4 px-lg-5">
78
- <p class="mb-2">You might not think that programmers are artists, but programming is an extremely
79
- creative profession. It's logic-based creativity.</p>
80
- <footer class="blockquote-footer">John Romero</footer>
81
- </blockquote>
82
-
83
- <h5 class="my-3">Table Example:</h5>
84
- <table class="table table-striped my-5">
85
- <thead>
86
- <tr>
87
- <th scope="col">#</th>
88
- <th scope="col">First</th>
89
- <th scope="col">Last</th>
90
- <th scope="col">Handle</th>
91
- </tr>
92
- </thead>
93
- <tbody>
94
- <tr>
95
- <th scope="row">1</th>
96
- <td>Mark</td>
97
- <td>Otto</td>
98
- <td>@mdo</td>
99
- </tr>
100
- <tr>
101
- <th scope="row">2</th>
102
- <td>Jacob</td>
103
- <td>Thornton</td>
104
- <td>@fat</td>
105
- </tr>
106
- <tr>
107
- <th scope="row">3</th>
108
- <td>Larry</td>
109
- <td>the Bird</td>
110
- <td>@twitter</td>
111
- </tr>
112
- </tbody>
113
- </table>
114
-
115
- <h5 class="mb-3">Embed A Tweet:</h5>
116
-
117
- <blockquote class="twitter-tweet" data-lang="en">
118
- <p lang="en" dir="ltr">1969:<br>-what&#39;re you doing with that 2KB of RAM?<br>-sending people to
119
- the moon<br><br>2017:<br>-what&#39;re you doing with that 1.5GB of RAM?<br>-running Slack</p>
120
- &mdash; I Am Devloper (@iamdevloper) <a
121
- href="https://twitter.com/iamdevloper/status/926458505355235328?ref_src=twsrc%5Etfw">November 3,
122
- 2017</a>
123
- </blockquote>
124
- <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
125
-
126
-
127
-
128
- <h3 class="mt-5 mb-3">Video Example</h3>
129
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean
130
- massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec
131
- quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. </p>
132
-
133
- <div class="embed-responsive embed-responsive-16by9">
134
- <iframe width="560" height="315" src="https://www.youtube.com/embed/hnCmSXCZEpU" frameborder="0"
135
- allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
136
- allowfullscreen></iframe>
137
- </div>
138
49
 
50
+ {{ content | markdownify}}
139
51
  </div>
140
52
 
141
- <nav class="blog-nav nav nav-justified my-5">
142
- <a class="nav-link-prev nav-item nav-link rounded-left" href="index.html">Previous<i
143
- class="arrow-prev fas fa-long-arrow-alt-left"></i></a>
144
- <a class="nav-link-next nav-item nav-link rounded-right" href="blog-list.html">Next<i
145
- class="arrow-next fas fa-long-arrow-alt-right"></i></a>
146
- </nav>
147
-
148
- <div class="blog-comments-section">
149
- <div id="disqus_thread"></div>
150
- <script>
151
- /**
152
- * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT
153
- * THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR
154
- * PLATFORM OR CMS.
155
- *
156
- * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
157
- * https://disqus.com/admin/universalcode/#configuration-variables
158
- */
159
- /*
160
- var disqus_config = function () {
161
- // Replace PAGE_URL with your page's canonical URL variable
162
- this.page.url = PAGE_URL;
163
-
164
- // Replace PAGE_IDENTIFIER with your page's unique identifier variable
165
- this.page.identifier = PAGE_IDENTIFIER;
166
- };
167
- */
168
-
169
- (function () { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
170
- var d = document, s = d.createElement('script');
171
-
172
- // IMPORTANT: Replace 3wmthemes with your forum shortname!
173
- s.src = 'https://3wmthemes.disqus.com/embed.js';
174
-
175
- s.setAttribute('data-timestamp', +new Date());
176
- (d.head || d.body).appendChild(s);
177
- })();
178
- </script>
179
- <noscript>
180
- Please enable JavaScript to view the
181
- <a href="https://disqus.com/?ref_noscript" rel="nofollow">
182
- comments powered by Disqus.
183
- </a>
184
- </noscript>
185
- </div><!--//blog-comments-section-->
53
+ {% include post-comments.html %}
186
54
 
187
55
  </div><!--//container-->
188
56
  </article>
@@ -194,8 +62,6 @@ export $initHighlight;
194
62
  </div>
195
63
  <!-- Main Wrapper-->
196
64
 
197
- {{ content }}
198
-
199
- {% include post-pagination.html %}
65
+ <!-- {% include post-pagination.html %} -->
200
66
 
201
67
  {% include site-footer.html %}
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inkstream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohd Irfan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-05 00:00:00.000000000 Z
11
+ date: 2024-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.8'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rouge
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 4.2.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 4.2.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: kramdown
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 2.4.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.4.0
55
83
  description: Inkstream is a sleek and modern Jekyll theme tailored for bloggers seeking
56
84
  a seamless platform to express their ideas and stories. With its elegant design
57
85
  and intuitive features, Inkstream facilitates the continuous flow of content creation,
@@ -66,21 +94,25 @@ files:
66
94
  - README.md
67
95
  - _config.yml
68
96
  - _includes/button.html
97
+ - _includes/head.html
69
98
  - _includes/icon.html
70
99
  - _includes/nav-default.html
71
100
  - _includes/nav-header.html
101
+ - _includes/post-comments.html
72
102
  - _includes/post-list.html
73
103
  - _includes/post-meta.html
74
104
  - _includes/post-pagination.html
75
105
  - _includes/promo-section.html
76
- - _includes/site-before-end.html
77
- - _includes/site-before-start.html
106
+ - _includes/scripts/bootstrap.html
107
+ - _includes/scripts/jquery.html
108
+ - _includes/scripts/popper.html
78
109
  - _includes/site-favicons.html
79
110
  - _includes/site-fonts.html
80
111
  - _includes/site-footer-default.html
81
112
  - _includes/site-footer.html
82
113
  - _includes/site-header.html
83
114
  - _includes/site-styles.html
115
+ - _includes/social.html
84
116
  - _layouts/blog.html
85
117
  - _layouts/default.html
86
118
  - _layouts/page.html
@@ -97,7 +129,7 @@ files:
97
129
  - assets/favicon/mstile-150x150.png
98
130
  - assets/favicon/safari-pinned-tab.svg
99
131
  - assets/favicon/site.webmanifest
100
- - assets/images/about-me.jpg
132
+ - assets/images/home-bg.jpg
101
133
  - assets/images/posts/default-post-img.jpg
102
134
  - assets/images/posts/text-syntax.jpg
103
135
  - assets/images/posts/welcome.jpg
@@ -1 +0,0 @@
1
- <!-- Overwrite this file with code you want before the closing body tag -->
@@ -1 +0,0 @@
1
- <!-- Overwrite this file with code you want before the closing head tag -->
Binary file