Skip to content

Instantly share code, notes, and snippets.

View msarit's full-sized avatar
☀️
Ready for Spring!

Arit Developer msarit

☀️
Ready for Spring!
View GitHub Profile
<!-- Replace the word "test" with your CLIENT ID -->
<script src="https://www.paypal.com/sdk/js?client-id=CLIENTID&currency=USD"></script>
@msarit
msarit / database.yml
Created April 5, 2021 19:15
database.yml code for ShiftWork v2 App
# PostgreSQL. Versions 9.3 and up are supported.
#
# Install the pg driver:
# gem install pg
# On macOS with Homebrew:
# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
# On macOS with MacPorts:
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
# gem install pg
// Variables
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-600: #868e96 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
---
layout: default
---
{{ content }}
---
# front matter tells page to process Liquid
layout: default
author: Arit Amana
title: About Arit's Jekyll Blog
background: '/assets/images/about-image.jpg'
---
<p>{{ page.author }} had a lot to say and nowhere to say it</p>
---
# front matter tells page to process Liquid
layout: default
author: Arit Amana
title: Arit's Jekyll Blog
background: '/assets/images/home-image.jpg'
---
<!-- Blog Post List -->
{% for post in site.posts limit : 5 %}
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand" href="{{"/" | relative_url }}">{{ site.title | escape }}</a>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
{% for item in site.data.navigation %}
<li class="nav-item">
<a class="nav-link" href="{{ item.link }}">{{ item.name }}</a>
</li>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/assets/css/styles.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
</head>
<body>
{% include navigation.html %}
<h2>Latest Posts</h2>
<ul>
{% for post in site.posts %}
<li>
<h3>
<a href="{{ post.url }}">
{{ post.title }}
</a>
</h3>
<p>
---
layout: default
---
<h1>{{ page.title }}</h1>
<p>{{ page.date | date_to_string }}</p>
{{ content }}