Skip to content

codeforcroatia/imamopravoznati-akcije

 
 

ImamoPravoZnati.org akcije i kampanje

Ova internetska mikrostranica je za male akcije i kampanje nastale pomoću ImamoPravoZnati.org. S njima promičemo bolji pristup javnim informacijama i transparentno trošenje našeg novca.

Za bolji pristup javnim informacijama i transparentno trošenje našeg novca

Sve što radimo je javno, i možete vidjeti na internetskoj stranici akcije.imamopravoznati.org.

Pokreće Jekyill na Github Pages bazirano na Memoirs Jekyll Theme

Live Demo | Docs & Download | Buy me a coffee

memoirs

A minimalist Jekyll theme built with Bootstrap 4, for blogging purposes. Trendy, modern design, for people who love the beauty of simplicity.

“Memoirs” is a free Bootstrap Jekyll theme for blogging, collections, resources, reviews websites

Features

  • Built for Jekyll
  • Compatible with Github pages
  • Index Pagination
  • SEO
  • Feed
  • Prism Highlighter
  • Sitemap
  • Post Share
  • Post Categories
  • Related Posts
  • Category Archives (Compatible with Github pages)
  • Post Reviews with Stars
  • Blurred Spoilers
  • Table of Content
  • Lazy Load Images
  • Figure Images
  • Integrations:
    • Disqus Comments
    • Google Analaytics
    • Mailchimp Integration
    • Adsense
    • Contact via Formspree.io
  • Design Features:
    • Bootstrap v4.x
    • Font Awesome v5.x
  • Layouts:
    • Default
    • Post
    • Page
    • Archive
    • Categories (for 100% compatibility with Github pages)

What’s Jekyll

If you aren’t familiar with Jekyll yet, you should know that it is a static site generator. It will transform your plain text into static websites and blogs. No more databases, slow loading websites, risk of being hacked…just your content. And not only that, with Jekyll you get free hosting with GitHub Pages! If you are a beginner we recommend you start with Jekyll’s Docs. Now, if you know how to use Jekyll, let’s move on to using this theme in Jekyll:

How to use “Memoirs” theme

Download or git clone https://github.com/wowthemesnet/jekyll-theme-memoirs.git

From the rood of your downloaded/cloned folder, open your terminal and install:

gem install bundler

Then:

bundle install

Edit _config.yml options. If your site is in root: baseurl: ''. Also, change your Google Analytics code, disqus username, authors, Mailchimp list etc.

Again, from your terminal:

bundle exec jekyll serve --watch

You should be able to see your Jekyll project now, if you didn’t change the folder name you should see it live at http://127.0.0.1:4000/jekyll-theme-memoirs.

Start populating your blog by adding your .md files in _posts. Memoirs already has a few examples.

YAML front matter options:

  • post image - image: assets/images/mypic.jpg
  • external post image - image: "https://externalwebsite.com/image4.jpg"
  • disable page comments - comments:false
  • meta description (optional) - description: "this is my meta description"

YAML Post Example

---
layout: post
title:  "We all wait for summer"
author: john
categories: [ Lifestyle, Travel ]
tags: [ France ]
image: assets/images/5.jpg
description: "Something about this post here"
---

YAML Page Example

---
layout: page
title: About Memoirs
comments: false
---

Rating

---
layout: post
title:  "We all wait for summer"
author: john
categories: [ Jekyll, tutorial ]
image: assets/images/5.jpg
description: "Something about this post here"
rating: 4.5
---

Adsense

Enable this option by editing _config.yml.

# 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 Load Images

Enable this option by editing _config.yml.

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

Table of Contents

Add toc:true on your post YAML.

---
layout: post
title:  "Education must also train one for quick, resolute and effective thinking."
author: john
categories: [ Jekyll, tutorial ]
image: assets/images/3.jpg
beforetoc: "Markdown editor is a very powerful thing. In this article I'm going to show you what you can actually do with it, some tricks and tips while editing your post."
toc: true
---

beforetoc adds a paragraph before the TOC is displayed.

Editing stylesheet

You’ll only work with a single file to edit/add theme style: assets/css/theme.scss.

Theme Custom Features by Code for Croatia

YAML additional front matter options:

  • automatically redirect post to external url - auto-redirect: false or auto-redirect: true
  • external url (will be used for auto redirection or show as button on post) - external-url: https://imamopravoznati.org
  • custom external url button (call-to-action button on post) - external-button-text: "Idi na stranicu kampanje"

YAML Post Custom Example - with External URL / Redirection

Add auto-redirect: true for automatic redirection on your post YAML. Add external-url: https://... to indicate url for redirection or call-to-action button on your post YAML. Add external-button-text: "..." to indicate custom text to display in call-to-action button on your post YAML, or leave empty to use default text "Idi na internetsku stranicu".

---
layout: post
title:  "We all wait for summer"
author: john
categories: [ Lifestyle, Travel ]
tags: [ France ]
image: assets/images/5.jpg
description: "Something about this post here"
auto-redirect: false
external-url: https://imamopravoznati.org
external-button-text: "Idi na stranicu kampanje"
---

Discourse comments

Enable this option by editing _config.yml.

## Discourse (enabled when it's set to true; disable if it's set to false; enter Discourse domain in URL with trailing slash "/")
discourse: true
discourse-url: 'https://codeforcroatia.org/'

YAML Post Custom Example - with Discourse topicID

Add discourseTopicId: #### on your post YAML.

---
layout: post
title:  "We all wait for summer"
author: john
categories: [ Lifestyle ]
tags: [ France, Europe ]
image: assets/images/5.jpg
description: "Something about this post here"
auto-redirect: false
external-url: https://imamopravoznati.org
external-button-text: "Idi na stranicu kampanje"
discourseTopicId: 859
---

About

Microsite za ImamoPravoZnati.org akcije i kampanje - akcije.imamopravoznati.org

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Languages

  • SCSS 61.6%
  • JavaScript 24.6%
  • HTML 7.6%
  • CSS 6.1%
  • Ruby 0.1%