Skip to content

Commit

Permalink
okteto community
Browse files Browse the repository at this point in the history
  • Loading branch information
sangam14 committed Jan 7, 2021
1 parent 51cc9b1 commit 8d3129e
Show file tree
Hide file tree
Showing 172 changed files with 13,909 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
15 changes: 15 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: default
title: 404
permalink: /404.html
---
<style>
.newsletter, .footer {
display:none;
}
</style>
<div class="text-center">
<h1 class="mt-5"><span class="badge badge-dark font-weight-normal">404</span></h1>
<h1 class="display-1 mt-4 mb-4"> Page not found!</h1>
<p>Please use the search bar from the bottom left or visit our <a href="{{site.baseurl}}/">homepage</a>!</p>
</div>
22 changes: 22 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#

# If you have any plugins, put them here!
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
group :jekyll_plugins do
gem 'jekyll-feed'
gem 'jekyll-sitemap'
gem 'jekyll-paginate'
gem 'jekyll-seo-tag'
gem 'jekyll-archives'
gem 'jekyll-figure'
gem 'bootstrap', '~> 4.4.1'
gem 'kramdown'
gem 'rouge'
end
6 changes: 6 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Theme License: MIT (https://bootstrapstarter.com/license/)

Credits:
- Letter PNG Designed By starwash from <a href="https://pngtree.com/">Pngtree.com</a>
- Bootstrap, licensed MIT, docs CC BY 3.0.
- Unsplash images.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# community
# Memoirs Jekyll Theme

[Live Demo](https://wowthemesnet.github.io/jekyll-theme-memoirs/) | [Docs & Download](https://bootstrapstarter.com/bootstrap-templates/jekyll-theme-memoirs/) | [Buy me a coffee](https://www.wowthemes.net/donate/)

![memoirs](https://bootstrapstarter.com/assets/img/themes/memoirs-jekyll.jpg)
81 changes: 81 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Site
name: "Memoirs"
title: "Memoirs"
description: "I will take you on the fabulous world of exploration. Travel, culture, lifestyle. Eat, Pray, Love!"
logo: 'assets/images/logo.png'
favicon: 'assets/images/logo.png'
baseurl: /jekyll-theme-memoirs
google_analytics: 'UA-xxxxxxxx-1'
disqus: 'demowebsite'
mailchimp-list: 'https://wowthemes.us11.list-manage.com/subscribe/post?u=8aeb20a530e124561927d3bd8&amp;id=8c3d2d214b'
include: ["_pages"]
permalink: /:title/
email: [email protected]

# Authors
authors:
sal:
name: Sal
display_name: Sal
gravatar: e56154546cf4be74e393c62d1ae9f9d4
email: [email protected]
web: https://www.wowthemes.net/donate/
twitter: https://twitter.com/wowthemesnet
description: "Author of Mediumish, a Bootstrap Medium styled template available for WordPress, HTML, Ghost and Jekyll. You are currently previewing Jekyll template demo."
john:
name: John
display_name: John
avatar: 'assets/images/avatar.png'
gravatar: b1cc14991db7a456fcd761680bbc8f81
email: [email protected]
web: https://www.wowthemes.net
twitter: https://twitter.com/wowthemesnet
description: "This is the author box. Write a short description of the author here. You are currently previewing Mediumish demo, a Jekyll template compatible with Github pages."

# Plugins
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-feed
- jekyll-seo-tag
- jekyll-archives
- jekyll-figure

# Archives
jekyll-archives:
enabled:
- categories
layout: archive
permalinks:
category: '/category/:name/'

# Pagination
paginate: 6
paginate_path: /page:num/

# Other
highlighter: none
markdown: kramdown
kramdown:
syntax_highlighter_opts:
disable : true



# Adsense (change to "enabled" to activate, also your client id and ad slot. Create a new ad unit from your Adsense account to get the slot.)
adsense: "disabled"
adsense-data-ad-client: "ca-pub-3412143450191416"
adsense-data-ad-slot: "1363087678"

# Lazy Images ("enabled" or "disabled")
lazyimages: "disabled"

# Post Author Box ("enabled" or "disabled")
authorbox: "disabled"

# Sass
sass:
sass_dir: _sass
style: compressed

exclude: [changelog.md, LICENSE.txt, README.md, Gemfile, Gemfile.lock]
12 changes: 12 additions & 0 deletions _includes/adsense-under-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Under Header -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="{{site.adsense-data-ad-client}}"
data-ad-slot="{{site.adsense-data-ad-slot}}"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<br/>
16 changes: 16 additions & 0 deletions _includes/article.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!-- Post, Page Content
================================================== -->
<div class="article-post">
<!-- Toc if any -->
{% if page.toc %}
{% if page.beforetoc %}
<p><em>{{page.beforetoc}}</em></p>
{% endif %}
<div class="toc mt-4 mb-4 lead">
<h3 class="font-weight-bold">Summary</h3>
{% include toc.html html=content %}
</div>
{% endif %}
<!-- End Toc -->
{{content}}
</div>
18 changes: 18 additions & 0 deletions _includes/author-box.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!-- Author Box -->
{% if page.author %}
{% if site.authorbox == "enabled" %}
<div class="d-flex authorbox align-items-center">
<div class="col-md-2 mr-4 text-center">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</div>
<div class="col-md-10">
<a target="_blank" class="text-dark h4" href="{{ author.web }}">About {{ author.display_name }}</a> <a target="_blank" href="{{ author.twitter }}" class="btn-sm"><i class="fab fa-twitter"></i></a>
<span class="author-description d-block mt-2">{{ author.description }}</span>
</div>
</div>
{% endif %}
{% endif %}
12 changes: 12 additions & 0 deletions _includes/comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- Comments
================================================== -->
{% if page.comments != false %}
<div class="comments">
<button class="btn btn-dark show-comments">Load Comments</button>
<div id="comments">
<h4 class="mb-4">Comments</h4>
{% include disqus.html %}
<div class="clearfix"></div>
</div>
</div>
{% endif %}
14 changes: 14 additions & 0 deletions _includes/disqus.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<section class="disqus">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{{site.disqus}}';
var disqus_developer = 0;
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
9 changes: 9 additions & 0 deletions _includes/featured-image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% if page.image %}
<div class="entry-featured-image">
{% if site.lazyimages == "enabled" %}
<img class="featured-image lazyimg {% if page.imageshadow %} image-shadow {% endif %}" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ site.baseurl }}/{{ page.image }}{% endif %}" alt="{{ page.title }}">
{% else %}
<img class="featured-image {% if page.imageshadow %} image-shadow {% endif %}" src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ site.baseurl }}/{{ page.image }}{% endif %}" alt="{{ page.title }}">
{% endif %}
</div>
{% endif %}
25 changes: 25 additions & 0 deletions _includes/pagination.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; </a>
{% else %}
<span>&laquo; </span>
{% endif %}

{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="ml-1 mr-1">{{ page }}</span>
{% elsif page == 1 %}
<a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
{% else %}
<a class="ml-1 mr-1" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}

{% if paginator.next_page %}
<a class="ml-1 mr-1" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"> &raquo;</a>
{% else %}
<span> &raquo;</span>
{% endif %}
</div>
{% endif %}
50 changes: 50 additions & 0 deletions _includes/postbox.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!-- begin post -->
{% assign author = site.authors[post.author] %}

<div class="blog-grid-item">
<div class="card h-100">
<div class="maxthumb">
<a href="{{ site.baseurl }}{{ post.url }}">
{% if post.image %}

{% if site.lazyimages == "enabled" %}
<img class="img-thumb lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
{% else %}
<img class="img-thumb" src="{% if post.image contains "://" %}{{ post.image }}{% else %}{{ site.baseurl }}/{{ post.image }}{% endif %}" alt="{{ post.title }}">
{% endif %}

{% endif %}
</a>
</div>
<div class="card-body">
<h2 class="card-title">
<a class="text-dark" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
{% if post.rating %}
<div class="mb-2 mt-2 font-weight-normal">
{% include star_rating_postbox.html %}
</div>
{% endif %}
</h2>
<h4 class="card-text">{{ post.excerpt | strip_html | truncatewords:30 }}</h4>
</div>
<div class="card-footer bg-white">
<div class="wrapfooter">
{% if post.author %}
<span class="meta-footer-thumb">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</span>
<span class="author-meta">
<span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span>
{% endif %}
<span class="post-date">{{ post.date | date_to_string }}</span>
</span>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<!-- end post -->
54 changes: 54 additions & 0 deletions _includes/related-posts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<!-- Related Posts
================================================== -->
<div class="{% unless page.categories == empty %} related-posts {% endunless %}">

{% unless page.categories == empty %}
<h2 class="text-center mb-4">Explore more like this</h2>
{% endunless %}

<div class="d-flex justify-content-center align-items-center">

<!-- Categories -->
{% assign sortedCategories = page.categories | sort %}
{% for category in sortedCategories %}
<a class="smoothscroll badge badge-primary text-capitalize" href="{{site.baseurl}}/categories#{{ category | replace: " ","-" }}">{{ category }}</a>
{% endfor %}

<!-- Tags -->
{% assign sortedTags = page.tags | sort %}
{% for tag in sortedTags %}
<a class="smoothscroll badge badge-primary text-capitalize" href="{{site.baseurl}}/tags#{{ tag | replace: " ","-" }}">{{ tag }}</a>
{% endfor %}

</div>

{% assign maxRelated = 3 %}
{% assign minCommonTags = 1 %}
{% assign maxRelatedCounter = 0 %}
<div class="blog-grid-container">
{% for post in site.posts %}

{% assign sameTagCount = 0 %}
{% assign commonTags = '' %}

{% for category in post.categories %}
{% if post.url != page.url %}
{% if page.categories contains category %}
{% assign sameTagCount = sameTagCount | plus: 1 %}
{% capture tagmarkup %} {{ category }} {% endcapture %}
{% assign commonTags = commonTags | append: tagmarkup %}
{% endif %}
{% endif %}
{% endfor %}

{% if sameTagCount >= minCommonTags %}
{% include postbox.html %}
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
{% if maxRelatedCounter >= maxRelated %}
{% break %}
{% endif %}
{% endif %}

{% endfor %}
</div>
</div>
20 changes: 20 additions & 0 deletions _includes/search-lunr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script src="{{site.baseurl}}/assets/js/lunr.js"></script>

<style>

</style>

<div class="wrap-search">
<div class="d-flex align-items-center ml-auto">
<i class="fas fa-search show-search"></i>
<form class="bd-search ml-3" onSubmit="return lunr_search(document.getElementById('lunrsearch').value);">
<input type="text" class="form-control bigradius text-small launch-modal-search" id="lunrsearch" name="q" maxlength="255" value="" placeholder="Type and enter..."/>
</form>
</div>
</div>

<div id="lunrsearchresults">
<ul></ul>
</div>

<script src="{{site.baseurl}}/assets/js/lunrsearchengine.js"></script>
Loading

0 comments on commit 8d3129e

Please sign in to comment.