Minima is a one-size-fits-all Jekyll theme for writers. It’s Jekyll’s default (and first) theme.
Installation
Add this line to your Jekyll site’s Gemfile:
gem "minima"
And then execute:
bundle
Contents At-A-Glance
Minima has been scaffolded by the jekyll new-theme
command and therefore has all the necessary files and directories to have a new Jekyll site up and running with zero-configuration.
Layouts
Refers to files within the _layouts
directory, that define the markup for your theme.
base.html
— The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says ` <!DOCTYPE html>
Clean, minimalistic and responsive portfolio theme for Jekyll powered by Bootstrap 4. For the portfolio section is used Instagram widget, but you can easily update it with another content source.
` and are linked to this file via FrontMatter declaration layout: base
.
home.html
— The layout for your landing-page / home-page / index-page. [More Info.]page.html
— The layout for your documents that contain FrontMatter, but are not posts.post.html
— The layout for your posts.
Base Layout
From Minima v3 onwards, the base layout is named base.html
instead of default.html
to avoid confusing new users into assuming that name holds special status.
Users migrating from older versions with customized _layouts/default.html
are advised to rename their copy to _layouts/base.html
. Migrating users with additional customized layouts may either update front matter references to former default.html
layout or create a new default.html
layout referencing the current base.html
, whichever route being the easiest:
---
# new `_layouts/default.html` for backwards-compatibility when multiple
# layouts have been customized.
layout: base
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicon_io/apple-touch-icon.png">
<title>Instagram portfolio</title>
<meta name="description" content="Clean, minimalistic and responsive portfolio theme for Jekyll powered by Bootstrap 4. For the portfolio section is used Instagram widget, but you can easily ...">
<meta name="google-site-verification" content="imA3xlKv43a50bTrOlAa3eWQ3VBCazAY4Y20KImDXOM">
<!--meta name="google-adsense-account" content=""-->
<meta name="author" content="Sergey Sokurenko">
<meta name="Last-Modified" content="2025-03-18 03:27:26 +0100">
<!-- Twitter Meta Tags -->
<meta name="twitter:site" content="godarthvader">
<meta name="twitter:creator" content="godarthvader">
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content='www.topjekyllthemes.com'>
<meta property="twitter:url" content='https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html'>
<meta name="twitter:title" content="Instagram portfolio">
<meta name="twitter:description" content="Clean, minimalistic and responsive portfolio theme for Jekyll powered by Bootstrap 4. For the portfolio section is used Instagram widget, but you can easily ...">
<meta name="twitter:image" content="https://www.topjekyllthemes.com/screenshot.png">
<!-- Open Graph Meta Tags -->
<meta property="og:url" content='https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html'>
<meta property="og:site_name" content="Top Jekyll Themes">
<meta property="og:type" content="article">
<meta property="og:title" content="Instagram portfolio">
<meta property="og:locale" content="en-US">
<meta property="og:published_time" content="2016-09-04 21:00:00 +0200">
<meta property="og:updated_time" content="2025-03-18 03:27:26 +0100">
<meta property="og:description" content="Clean, minimalistic and responsive portfolio theme for Jekyll powered by Bootstrap 4. For the portfolio section is used Instagram widget, but you can easily ...">
<meta property="og:image" content="https://www.topjekyllthemes.com/screenshot.png">
<meta property="og:image:secure_url" content="https://www.topjekyllthemes.com/screenshot.png">
<meta property="og:image:alt" content="Instagram portfolio main image">
<meta property="og:image:type" content="webp">
<meta property="og:image:width" content="1024">
<meta property="og:image:height" content="768">
<link rel="canonical" href='https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html'>
<link rel="alternate" type="application/rss+xml" title="Top Jekyll Themes" href="/feed.xml">
<link rel="shortcut icon" href="/assets/images/favicon_io/favicon.ico">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicon_io/favicon-16x16.png">
<link rel="webmanifest" href="/manifest.json">
<link rel="stylesheet" href="/assets/css/styles.css" type="text/css">
<script async defer src="https://buttons.github.io/buttons.js"></script><!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PGK6N4TN');</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TN9FHBGP98"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TN9FHBGP98', {
cookie_flags: 'max-age=7200;secure;samesite=none'
});
</script>
<!-- Yandex.Metrika counter -->
<script>
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.defer=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(99058903, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true,
ecommerce:"dataLayer"
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/99058903" style="position:absolute; left:-9999px;" alt="white pixel" /></div></noscript>
<!-- /Yandex.Metrika counter --></head>
<body class="d-flex flex-column min-vh-100">
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PGK6N4TN" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<header class="navbar navbar-expand-lg bd-nav sticky-top">
<nav class="container-xxl bd-gutter flex-wrap flex-lg-nowrap">
<div class="d-lg-none"></div>
<a class="navbar-brand p-0 me-0 me-lg-2" href="/index.html" hreflang="en"><img src="/assets/images/topjekyllthemes-nav.png" alt="topjekyllthemes" class="nav-bjk" srcset="/assets/images/topjekyllthemes-nav.svg"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav flex-wrap me-auto mb-2 mb-lg-0">
<li class="nav-item col-6 col-lg-auto">
<a class="nav-link py-2 px-0 px-lg-2" href="/submit.html">Submit a theme</a>
</li>
<li class="nav-item dropdown">
<a role="button" class="nav-link dropdown-toggle" id="navbarSubmenu" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
How to install
</a>
<ul class="dropdown-menu" aria-labelledby="navbarSubmenu" id="AppDropDownId">
<li>
<div class="dropend">
<a role="button" class="dropdown-item dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">Jekyll</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/install/linux.html">on Linux</a></li>
<li><a class="dropdown-item" href="/install/macos.html">on macOS</a></li>
<li><a class="dropdown-item" href="/install/windows.html">on Windows</a></li>
</ul>
</div>
</li>
<li><hr class="dropdown-divider"/></li>
<li><a class="dropdown-item" href="/install/themes.html">Themes</a></li>
</ul>
</li>
<li>
<a class="nav-link py-2 px-0 px-lg-2" href="/archive.html">Archive</a>
</li>
<li>
<a class="nav-link py-2 px-0 px-lg-2" href="/about.html">About</a>
</li>
<li>
<a class="nav-link py-2 px-0 px-lg-2" href="/contact.html">Contact</a>
</li>
</ul>
<ul class="navbar-nav flex-wrap mb-2 mb-lg-0 ms-md-auto">
<li>
<a class="nav-link py-2 px-0 px-lg-2" href="https://github.com/carlesloriente/jekyllthemes" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="carlesloriente GitHub"><img class="nav-github filter-white" src="/assets/images/icons/1.11.0/github.svg" alt="carlesloriente GitHub" /></a>
</li>
<li>
<a class="nav-link py-2 px-0 px-lg-2" href="https://www.linkedin.com/in/carles-loriente" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="carles-loriente Linkedin"><img class="nav-linkedin filter-white" src="/assets/images/icons/1.11.0/linkedin.svg" aria-hidden="true" alt="Carles Loriente's Linkedin profile"></a>
</li>
<li>
<a class="nav-link py-2 px-0 px-lg-2" href="https://twitter.com/godarthvader" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="godarthvader Twitter"><img class="nav-twitter filter-white" src="/assets/images/icons/1.11.0/twitter-x.svg" aria-hidden="true" alt="Carles Loriente's Twitter username"></a>
</li>
<li>
<a class="nav-link py-2 px-0 px-lg-2" href="https://ko-fi.com/S6S1O2GTU" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="Support me on ko-fi.com"><img class="nav-kofi" src="/assets/images/kofi_s_logo_nolabel.webp" alt="Buy Me a Coffee at ko-fi.com" /></a>
</li>
</ul>
</div>
</nav>
</header>
<main class="flex-shrink-0">
<article>
<section class="masthead themehead">
<div class="container-xxl bd-gutter">
<div class="col-md-8 mx-auto text-center">
<div class="mx-auto">
<h1 class="mb-3 fw-semibold lh-1">Instagram portfolio </h1>
</div>
<div class="mx-auto py-4">
<a class="btn btn-lg btn-download" href="https://github.com/portfolio-central/jekyll-instagram-portfolio-theme/archive/gh-pages.zip" rel="noopener noreferrer" target="_blank"><img class="filter-white" src="/assets/images/icons/1.11.0/download.svg" aria-hidden="true" alt="Download Instagram portfolio theme">Download</a>
</div>
</div>
</div>
</section>
<section>
<div class="sectbody bg-body-tertiary">
<div class="container">
<div class="row">
<div class="col-12 mx-auto">
<div class="meta text-start">
<div id="carouselRide" class="carousel slide carousel-fade text-center rounded" data-bs-ride="carousel">
<div class="carousel-indicators"></div>
<div class="carousel-inner">
<div class="carousel-item" data-bs-interval="2000">
<button id="screenshot.png" class="carousel-item-btn w-75 shadow rounded" type="button" data-bs-toggle="modal" data-bs-title="Screenshot Instagram portfolio" aria-label="Instagram portfolio" data-bs-image="/screenshots/2016-09-04-instagram-portfolio-theme/screenshot.png" data-bs-target="#carousel-item">
<picture>
<img src="/screenshots/2016-09-04-instagram-portfolio-theme/screenshot.png" class="img-fluid" alt="Screenshot Instagram portfolio">
</picture>
</button>
</div>
</div>
</div>
<div class="modal fade" id="carousel-item" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="image-carousel-title"></h4>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body text-center">
<picture>
<img id="image-carousel-image" class="img-fluid" src="">
</picture>
</div>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', (event) => {
var carouselInner = document.getElementsByClassName('carousel-item');
var carouselItem = carouselInner[0];
carouselItem.className += ' active';
var buttons = document.getElementsByClassName("carousel-item-btn");
var buttonsCount = buttons.length;
for (let i = 0; i < buttonsCount; i++) {
buttons[i].onclick = function(e) {
const img = document.getElementById(this.id);
if (img) {
var url = img.getAttribute('data-bs-image');
var uri = encodeURI(url);
var name = img.getAttribute('data-bs-title');
}
const modal = document.querySelector("#image-carousel-image");
modal.removeAttribute('src');
modal.setAttribute('src', decodeURI(uri));
modal.setAttribute("disabled", "");
var title = document.getElementById("image-carousel-title");
title.textContent = name;
};
}
});
</script>
</div>
</div>
</div>
<div class="row">
<div class="col-9 col-sm-7 mx-auto" role="main">
<div class="share-it">
<a class="btn btn-primary filters rounded-3 toogle-shares" data-bs-toggle="collapse" href="#collapseShares" role="button" aria-expanded="false" aria-controls="collapseShares">
Share it <img src="/assets/images/icons/1.11.0/share.svg" width="32px" height="32px" aria-hidden="true" alt="Sharing to social networks">
</a>
<span class="collapse" id="collapseShares">
<a class="shares" href="mailto:?subject=Check%20this%20Jekyll%20theme%20from%20topjekyllthemes.com!&body=Instagram portfolio%20https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="Share Jekyll theme Instagram portfolio by mail"><img class="nav-mail" src="/assets/images/icons/1.11.0/envelope-at-fill.svg" aria-hidden="true" alt="Share Jekyll theme Instagram portfolio by email"></a>
<a class="shares" id="copy-url" hreflang="en" target="_blank" aria-label="Copy link to clipboard"><img class="nav-cp-link" src="/assets/images/icons/1.11.0/link-45deg.svg" aria-hidden="true" alt="Copy link to clipboard"></a>
<a class="shares" href="https://www.linkedin.com/shareArticle?url=https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="Share Jekyll theme Instagram portfolio in Linkedin"><img class="nav-linkedin" src="/assets/images/icons/1.11.0/linkedin.svg" aria-hidden="true" alt="Share Jekyll theme Instagram portfolio in Linkedin"></a>
<a class="shares" href="https://www.reddit.com/web/submit?url=https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html&title=Instagram portfolio" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="Share Jekyll theme Instagram portfolio in Reddit"><img class="nav-reddit" src="/assets/images/icons/1.11.0/reddit.svg" aria-hidden="true" alt="Share Jekyll theme Instagram portfolio in Reddit"></a>
<a class="shares" href="https://twitter.com/intent/tweet?text=Check%20this%20Jekyll%20Theme%0Ahttps://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="Share Jekyll theme Instagram portfolio in X"><img class="nav-twitter" src="/assets/images/icons/1.11.0/twitter-x.svg" aria-hidden="true" alt="Share Jekyll theme Instagram portfolio in X"></a>
<a class="shares" href="https://mastodonshare.com/?text=Check%20this%20Jekyll%20Theme&url=https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="Share Jekyll theme Instagram portfolio in Mastodon"><img class="nav-mastodon" src="/assets/images/icons/1.11.0/mastodon.svg" aria-hidden="true" alt="Share Jekyll theme Instagram portfolio in Mastodon"></a>
<a class="shares" href="https://oauth.vk.com/authorize?client_id=-1&redirect_uri=https%3A%2F%2Fvk.com%2Fshare.php%3Furl%3Dhttps://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html&display=widget" hreflang="en" target="_blank" rel="noopener noreferrer" aria-label="Share Jekyll theme Instagram portfolio in VKontakte"><img class="nav-vk" src="/assets/images/icons/1.11.0/vk.svg" aria-hidden="true" alt="Share Jekyll theme Instagram portfolio in VKontakte"></a>
</span>
</div>
<div class="post-content">
<article>
<p>Clean, minimalistic and responsive portfolio theme for Jekyll powered by Bootstrap 4. For the portfolio section is used Instagram widget, but you can easily update it with another content source.</p>
</article>
</div>
</div>
<div class="col-3 col-sm-3 mx-auto sidebar rounded" role="complementary">
<div class="sticky-md-top">
<h5 class="fw-semibold">About</h5>
<ul class="list-unstyled list-group list-group-vertical">
<li class="mb-2"><a class="" href="https://github.com/portfolio-central/jekyll-instagram-portfolio-theme" rel="noopener noreferrer" target="_blank">Source Code</a></li>
<li class="mb-2">License: <a class="" href="https://opensource.org/license/MIT" rel="noopener noreferrer" target="_blank">MIT</a></li>
<li class="mb-2">Published: <time class="dt-published" datetime="2016-09-04T21:00:00+02:00" itemprop="datePublished">Sep 4, 2016</time></li>
<li class="mb-2">Updated: <time class="dt-updated" datetime="2024-06-16T00:00:00+02:00" itemprop="dateUpdated">Jun 16, 2024</time></li>
</ul>
<ul class="list-unstyled list-group list-group-horizontal">
<li class="mb-2"><a class="github-button" href="https://github.com/portfolio-central/jekyll-instagram-portfolio-theme" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star on GitHub"></a></li>
<li class="mb-2"><a class="github-button" href="https://github.com/portfolio-central/jekyll-instagram-portfolio-theme/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork on GitHub"></a></li>
</ul>
<br>
<h6 class="fw-semibold">Author</h6>
<ul class="list-unstyled list-group list-group-vertical">
<li class="mb-2"><a href="https://github.com/portfolio-central" rel="noopener noreferrer" target="_blank"><img class="author-github" src="/assets/images/icons/1.11.0/github.svg" alt="Sergey Sokurenko GitHub" />Sergey Sokurenko</a></li>
<li class="mb-2"><a class="github-button" href="https://github.com/portfolio-central" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true" aria-label="Follow on GitHub">Followers</a></li>
</ul>
<br>
<h6 class="fw-semibold">Themes</h6>
<ol class="list-group list-group-vertical">
<li class="mb-2"><a href="/themes/jekyll-lin-theme/index.html">Lin</a></li>
<li class="mb-2"><a href="/themes/smart-material-theme/index.html">Smart Material</a></li>
<li class="mb-2">Instagram portfolio (self)</li>
</ol>
<br>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="py-5 bg-body-tertiary">
<div class="container">
<div class="row">
<div class="mx-auto">
<div class="clearfix">
<nav aria-label="Page navigation">
<ul class="pagination justify-content-center">
<li class="page-item"><a class="page-link" href="/themes/jekyll-theme-libretto/index.html" hreflang="en" data-bs-toggle="tooltip" data-bs-placement="top" title="Libretto">Previous Theme</a></li>
<li class="page-item"><a class="page-link" href="/themes/minima/index.html" hreflang="en" data-bs-toggle="tooltip" data-bs-placement="top" title="Minima">Next theme</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="py-5 bg-body-tertiary">
<div class="container">
<div class="row">
<div class="mx-auto">
<div class="clearfix">
<div id="disqus_thread"></div>
<p></p>
<script >
var disqus_config = function () {
this.page.url = 'https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html';
this.page.identifier = 'https://www.topjekyllthemes.com/themes/instagram-portfolio-theme/index.html';
};
(function() {
var d = document, s = d.createElement('script');
s.defer = true;
s.async = true;
s.src = 'https://top-jekyll-themes.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>
</div>
</div>
</div>
</div>
</section>
</article>
</main>
<script>
const copyBtn = document.getElementById('copy-url');
copyBtn.addEventListener('click', () => {
const url = window.location.href;
navigator.clipboard.writeText(url).then(() => {
alert('URL copied successfully!');
}).catch(() => {
alert('Error copying URL to clipboard');
});
});
</script>
<!-- Footer -->
<footer class="footer py-4 py-md-4 mt-auto">
<div class="container">
<div class="row">
<div class="col-6 col-lg-2 mb-3">
<h5>Links</h5>
<ul class="list-unstyled">
<li class="mb-2"><a class="footer-link py-2 px-0" href="/index.html">Home</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/search.html">Search</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/submit.html">Submit</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/archive.html">Archive</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/about.html">About</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/contact.html">Contact</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/install/linux.html">Install Jekyll on Linux</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/install/macos.html">Install Jekyll on MacOS</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/install/windows.html">Install Jekyll on Windows</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="/install/themes.html">Install Jekyll themes</a></li>
</ul>
</div>
<div class="col-6 col-lg-2 mb-3">
<h5>Community</h5>
<ul class="list-unstyled">
<li class="mb-2"><a class="footer-link py-2 px-0" href="https://github.com/carlesloriente/jekyllthemes/" target="_blank" rel="noopener noreferrer">Repository</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="https://github.com/carlesloriente/jekyllthemes/issues" target="_blank" rel="noopener noreferrer">Issues</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="https://github.com/carlesloriente/jekyllthemes/discussions" target="_blank" rel="noopener noreferrer">Discussions</a></li>
</ul>
</div>
<div class="col-6 col-lg-3 mb-3">
<h5>Projects</h5>
<ul class="list-unstyled">
<li class="mb-2"><a class="footer-link py-2 px-0" href="https://www.notesoncloudcomputing.com" target="_blank" rel="noopener noreferrer">Notes on Cloud Computing</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="https://bootstrap-theme.notesoncloudcomputing.com" target="_blank" rel="noopener noreferrer">NOCC Bundle Jekyll Theme</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0" href="https://www.npmjs.com/package/nocc-bootstrap-theme" target="_blank" rel="noopener noreferrer">NOCC Bootstrap Theme</a></li>
<li class="mb-2"><a class="footer-link py-2 px-0 pe-none" href="https://github.com/carlesloriente/yet-another-github-card" target="_blank" rel="noopener noreferrer" aria-disabled="true">Yet Another Github Card</a></li>
</ul>
</div>
<div class="col-lg-3 mb-3 offset-lg-2 mb-3">
<h5><a class="navbar-brand p-0 me-0 me-lg-2" href="/index.html" hreflang="en"><img src="/assets/images/topjekyllthemes-nav.png" alt="topjekyllthemes" class="footer-bjk" srcset="/assets/images/topjekyllthemes-nav.svg"><span class="fs-5">Top Jekyll Themes</span></a></h5>
<ul class="list-unstyled small">
<li class="mb-2">Copyright © 2025 Carles Loriente. Forked from Jekyllthemes created by Matt Harzewski.</li>
<li class="mb-2">Code licensed under <a class="footer-link" href="https://raw.githubusercontent.com/carlesloriente/topjekyllthemes/refs/heads/main/LICENSE?token=GHSAT0AAAAAACURBLZHEJALMYFH6PJPS5HOZ3DGWLA" target="_blank" rel="license noopener">GPLv3</a>.</li>
<li class="mb-2">Version 2.2.3</li>
<li class="mb-2"><time class="dt-published" datetime="2025-03-18T03:28:46+01:00" itemprop="datePublished">Updated on Mar 18, 2025</time></li>
</ul>
</div>
</div>
</div>
</footer>
<script>
if (!navigator.serviceWorker.controller) {
navigator.serviceWorker.register("/assets/js/serviceworker.js").then(function(reg) {
console.log("Service worker has been registered for scope: " + reg.scope);
});
}
</script>
<script async defer src="/assets/js/bootstrap.bundle.min.js"></script>
<script src="/assets/js/main.js"></script>
<script rel="preload" src="/assets/js/jquery/3.7.1/jquery.min.js"></script>
<script id="dsq-count-scr" async src="https://top-jekyll-themes.disqus.com/count.js"></script>
</body>
</html>
Home Layout
home.html
is a flexible HTML layout for the site’s landing-page / home-page / index-page.
Main Heading and Content-injection
From Minima v2.2 onwards, the home layout will inject all content from your index.md
/ index.html
before the Posts
heading. This will allow you to include non-posts related content to be published on the landing page under a dedicated heading. We recommended that you title this section with a Heading2 (##
).
Usually the site.title
itself would suffice as the implicit ‘main-title’ for a landing-page. But, if your landing-page would like a heading to be explicitly displayed, then simply define a title
variable in the document’s front matter and it will be rendered with an <h1>
tag.
Post Listing
This section is optional from Minima v2.2 onwards. It will be automatically included only when your site contains one or more valid posts or drafts (if the site is configured to show_drafts
).
The title for this section is Posts
by default and rendered with an <h2>
tag. You can customize this heading by defining a list_title
variable in the document’s front matter.
Includes
Refers to snippets of code within the _includes
directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem.
disqus_comments.html
— Code to markup disqus comment box.footer.html
— Defines the site’s footer section.google-analytics.html
— Inserts Google Analytics module (active only in production environment).head.html
— Code-block that defines the<head></head>
in default layout.custom-head.html
— Placeholder to allow users to add more metadata to<head />
.header.html
— Defines the site’s main header section. By default, pages with a definedtitle
attribute will have links displayed here.social.html
— Renders social-media icons based on theminima:social_links
data in the config file using the latest version of Font Awesome Free webfonts via remote CDN.sub-footer.html
— Placeholder to allow inserting markup (e.g. deferred scripts) before the</body>
tag.
Sass
Refers to .scss
files within the _sass
directory that define the theme’s styles.
minima/skins/classic.scss
— The “classic” skin of the theme. Used by default.minima/initialize.scss
— A component that defines the theme’s skin-agnostic variable defaults and sass partials. It imports the following components (in the following order):minima/custom-variables.scss
— A hook that allows overriding variable defaults and mixins. (Note: Cannot override styles)minima/_base.scss
— Sass partial for resets and defines base styles for various HTML elements.minima/_layout.scss
— Sass partial that defines the visual style for various layouts.minima/custom-styles.scss
— A hook that allows overriding styles defined above. (Note: Cannot override variables)
Refer the skins section for more details.
Assets
Refers to various asset files within the assets
directory.
assets/css/style.scss
— Imports sass files from within the_sass
directory and gets processed into the theme’s stylesheet:assets/css/styles.css
.assets/minima-social-icons.html
— Imports enabled social-media icon graphic and gets processed into a composite SVG file. Refer section on social networks for its usage.
Plugins
Minima comes with jekyll-seo-tag
plugin preinstalled to make sure your website gets the most useful meta tags. See usage to know how to set it up.
Usage
Have the following line in your config file:
theme: minima
Customizing templates
To override the default structure and style of minima, simply create the concerned directory at the root of your site, copy the file you wish to customize to that directory, and then edit the file. e.g., to override the _includes/head.html
file to specify a custom style path, create an _includes
directory, copy _includes/head.html
from minima gem folder to <yoursite>/_includes
and start editing that file.
The site’s default CSS has now moved to a new place within the gem itself, assets/css/style.scss
.
In Minima 3.0, if you only need to customize the colors of the theme, refer to the subsequent section on skins. To have your CSS overrides in sync with upstream changes released in future versions, you can collect all your overrides for the Sass variables and mixins inside a sass file placed at _sass/minima/custom-variables.scss
and all other overrides inside a sass file placed at path _sass/minima/custom-styles.scss
.
You need not maintain entire partial(s) at the site’s source just to override a few styles. However, your stylesheet’s primary source (assets/css/style.scss
) should contain the following:
- Front matter dashes at the very beginning (can be empty).
- Directive to import a skin.
- Directive to import the base styles (automatically loads overrides when available).
Therefore, your assets/css/style.scss
should contain the following at minimum:
---
---
@import
"minima/skins/classic",
"minima/initialize";
Skins
Minima 3.0 supports defining and switching between multiple color-palettes (or skins).
.
├── minima.scss
└── minima
└── _syntax-highlighting.scss
A skin is a Sass file placed in the directory _sass/minima/skins
and it defines the variable defaults related to the “color” aspect of the theme. It also embeds the Sass rules related to syntax-highlighting since that is primarily related to color and has to be adjusted in harmony with the current skin.
The default color palette for Minima is defined within _sass/minima/skins/classic.scss
. To switch to another available skin, simply declare it in the site’s config file. For example, to activate _sass/minima/skins/dark.scss
as the skin, the setting would be:
minima:
skin: dark
As part of the migration to support skins, some existing Sass variables have been retired and some have been redefined as summarized in the following table:
Minima 2.0 | Minima 3.0 |
---|---|
$brand-color | $link-base-color |
$grey-* | $brand-* |
$orange-color | has been removed |
Available skins
Skin setting | Description |
---|---|
classic | Default, light color scheme. |
dark | Dark variant of the classic skin. |
auto | Adaptive skin based on the default classic and dark skins. |
solarized | Adaptive skin for solarized color scheme skins. |
solarized-light | Light variant of solarized color scheme. |
solarized-dark | Dark variant of solarized color scheme. |
:bulb: Adaptive skins switch between the “light” and “dark” variants based on the user’s operating system setting or browser setting (via CSS Media Query prefers-color-scheme).
Customize navigation links
This allows you to set which pages you want to appear in the navigation area and configure order of the links.
For instance, to only link to the about
and the portfolio
page, add the following to your _config.yml
:
header_pages:
- about.md
- portfolio.md
Change default date format
You can change the default date format by specifying site.minima.date_format
in _config.yml
.
# Minima date format
# refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this
minima:
date_format: "%b %-d, %Y"
Extending the <head />
You can add custom metadata to the <head />
of your layouts by creating a file _includes/custom-head.html
in your source directory. For example, to add favicons:
- Head over to https://realfavicongenerator.net/ to add your own favicons.
- Customize it, default
_includes/custom-head.html
in your source directory and insert the given code snippet.
Enabling comments (via Disqus)
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
:warning: url
, e.g. https://example.com
, must be set in you config file for Disqus to work.
To enable it, after setting the url field, you also need to add the following lines to your Jekyll site:
disqus:
shortname: my_disqus_shortname
You can find out more about Disqus’ shortnames here.
Comments are enabled by default and will only appear in production, i.e., JEKYLL_ENV=production
If you don’t want to display comments for a particular post you can disable them by adding comments: false
to that post’s YAML Front Matter.
Author Metadata
From Minima-3.0
onwards, site.author
is expected to be a mapping of attributes instead of a simple scalar value:
author:
name: John Smith
email: "john.smith@foobar.com"
To migrate existing metadata, update your config file and any reference to the object in your layouts and includes as summarized below:
Minima 2.x | Minima 3.0 |
---|---|
site.author | site.author.name |
site.email | site.author.email |
Social networks
You can add links to the accounts you have on other sites, with respective icon as an SVG graphic, via the config file. From Minima-3.0
onwards, the social media data is sourced from config key minima.social_links
. It is a list of key-value pairs, each entry corresponding to a link rendered in the footer. For example, to render links to Jekyll GitHub repository and Twitter account (now X), one should have:
minima:
social_links:
- title: Jekyll repository at GitHub
icon: github
url: "https://github.com/jekyll/jekyll"
- title: Jekyll at X (formerly Twitter)
icon: x-twitter
url: "https://x.com/jekyllrb"
where title
corresponds to the link-title displayed when a visitor hovers mouse-pointer over url / icon and icon
refers to the Font Awesome icon id. e.g. github
corresponds to fa-github
.
Social platform icons are rendered using the latest version of Font Awesome Free webfonts sourced via remote CDN. The full list of available social icons can be found at FontAwesome icons
Enabling Google Analytics
To enable Google Analytics, add the following lines to your Jekyll site:
google_analytics: UA-NNNNNNNN-N
Google Analytics will only appear in production, i.e., JEKYLL_ENV=production
Enabling Excerpts on the Home Page
To display post-excerpts on the Home Page, simply set show_excepts
under top-level key minima
to true
in your _config.yml
:
minima:
show_excerpts: true
Contributing
Bug reports and pull requests are welcome on GitHub at minima. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Development
To set up your environment to develop this theme, run script/bootstrap
.
To test your theme, run script/server
(or bundle exec jekyll serve
) and open your browser at http://localhost:4000
. This starts a Jekyll server using your theme and the contents. As you make modifications, your site will regenerate and you should see the changes in the browser after a refresh.