Commit b233cc49 authored by epsi sayidina's avatar epsi sayidina

Tutor-04

parent ef7555f2
......@@ -9,7 +9,9 @@
{{ content | safe }}
</article>
</main>
{% endblock %}
{% block aside %}
<aside class="column is-one-thirds">
<div class="box">
This is an archive kind layout.
......
......@@ -6,12 +6,12 @@
<article class="blog-post box">
<h2 class="title is-4"
>{{ renderData.title or title or metadata.title }}</h2>
{{ content | safe }}
</article>
<div class="box">
This is a home kind layout,
to show landing page.
</div>
</main>
<div class="notification is-info">
This is a home kind layout,
to show landing page.
</div>
</article>
{% endblock %}
......@@ -9,7 +9,9 @@
{{ content | safe }}
</article>
</main>
{% endblock %}
{% block aside %}
<aside class="column is-one-thirds">
<div class="box">
This is a page kind layout.
......
......@@ -10,7 +10,9 @@
{{ content | safe }}
</article>
</main>
{% endblock %}
{% block aside %}
<aside class="column is-one-thirds">
<div class="box">
This is a post kind layout.
......
......@@ -9,7 +9,9 @@
{{ content | safe }}
</article>
</main>
{% endblock %}
{% block aside %}
<aside class="column is-one-thirds">
<div class="box">
This is a tag-name kind layout.
......
......@@ -9,7 +9,9 @@
{{ content | safe }}
</article>
</main>
{% endblock %}
{% block aside %}
<aside class="column is-one-thirds">
<div class="box">
This is a tags kind layout.
......
<nav role="navigation" aria-label="main navigation"
class="navbar is-fixed-top is-dark maxwidth"
id="navbar-vue-app">
......
......@@ -3,16 +3,19 @@ layout : home
eleventyExcludeFromCollections: true
---
<p>To have, to hold, to love,
cherish, honor, and protect?</p>
<div class="box">
To have, to hold, to love,
cherish, honor, and protect?</div>
<p>To shield from terrors known and unknown?
To lie, to deceive?</p>
<div class="box">
To shield from terrors known and unknown?
To lie, to deceive?</div>
<p>To live a double life,
to fail to prevent her abduction,
erase her identity,
force her into hiding,
take away all she has known.</p>
<div class="box">
To live a double life,
to fail to prevent her abduction,
erase her identity,
force her into hiding,
take away all she has known.</div>
......@@ -24,4 +24,4 @@ renderData:
</ul>
</div>
<p><a href="{{ '/tags/' | url }}" class="button">List of all tags</a></p>
<p><a href="{{ '/tags/' | url }}" class="button is-small">List of all tags</a></p>
const moment = require("moment");
// Put main config above
// to avoid distraction from complex configuration
const config = {
// URL related
pathPrefix: "/",
// Templating Engine
templateFormats: [
"md",
"njk",
"html"
],
markdownTemplateEngine: "njk",
htmlTemplateEngine: "njk",
dataTemplateEngine: "njk",
// directory management
passthroughFileCopy: true,
dir: {
input: "views",
output: "dist",
// ⚠️ These values are both relative to your input directory.
includes: "_includes",
data: "_data"
}
};
module.exports = function(eleventyConfig) {
// directory management
eleventyConfig.addPassthroughCopy("assets");
// layout alias
eleventyConfig.addLayoutAlias("home", "layouts/home.njk");
eleventyConfig.addLayoutAlias("page", "layouts/page.njk");
eleventyConfig.addLayoutAlias("post", "layouts/post.njk");
eleventyConfig.addLayoutAlias("archives", "layouts/archives.njk");
eleventyConfig.addLayoutAlias("tags", "layouts/tags.njk");
eleventyConfig.addLayoutAlias("tag-name", "layouts/tag-name.njk");
// miscellanous filter
eleventyConfig.addNunjucksFilter("date", function(date, format) {
return moment(date).format(format);
});
// collection
eleventyConfig.addCollection("tagList",
require("./views/_11ty/getTagList"));
// Return your Config object
return config;
};
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{"version":3,"sourceRoot":"","sources":["../../sass/css/helper/_spacing.sass","../../sass/css/materialize/_shadow.scss","../../sass/css/materialize/_color-classes.scss"],"names":[],"mappings":"AAqBI;EACE;;;AAGA;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AAEJ;EAEI;EAAA;;;AAEJ;EAEI;EAAA;;;AAbJ;EACE;;;AAGA;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AAEJ;EAEI;EAAA;;;AAEJ;EAEI;EAAA;;;AAbJ;EACE;;;AAGA;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AAEJ;EAEI;EAAA;;;AAEJ;EAEI;EAAA;;;AAbJ;EACE;;;AAGA;EACE;;;AADF;EACE;;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;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAZF;EACE;;;AAEF;EACE;;;AAIF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAZF;EACE;;;AAEF;EACE;;;AAIF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAQN;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE;;;AAJF;EACE;;;AAEF;EACE","file":"helper.css"}
\ No newline at end of file
@charset "UTF-8";
html {
height: 100%;
overflow-y: auto;
}
body {
min-height: 100%;
}
.maxwidth {
margin-right: auto;
margin-left: auto;
}
@media screen and (min-width: 1216px) {
.maxwidth {
max-width: 1216px;
}
}
.layout-base {
padding-top: 5rem;
}
footer.site-footer {
padding-top: 3rem;
}
.blog {
padding: 0px;
}
.blog-header {
padding: 5px 10px 5px 10px;
}
.blog-body {
padding: 5px 10px 5px 10px;
}
.widget {
padding: 0px;
}
.widget-header {
padding: 5px 10px 5px 10px;
}
.widget-body {
padding: 5px 10px 5px 10px;
}
main.column,
aside.column {
padding: 0 !important;
}
.main-wrapper,
.aside-wrapper {
padding: 0 10px 0 10px;
}
.main-wrapper,
.aside-wrapper {
margin-bottom: 20px;
}
@media screen and (min-width: 769px), print {
.main-wrapper {
margin-right: 10px;
margin-left: 10px;
}
.aside-wrapper {
margin-left: 10px;
margin-right: 10px;
}
}
@media screen and (min-width: 1216px) {
.main-wrapper {
margin-left: 0px;
}
.aside-wrapper {
margin-right: 0px;
}
.is-full .main-wrapper {
margin-right: 0px;
}
}
body {
background-image: url("../images/light-grey-terrazzo.png");
}
h1, h2, h3, h4, h5, h6 {
font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
.blog-header .title a {
color: #424242;
}
.blog-body p {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
ul.widget-list li:hover {
background: #fff176;
}
ul.widget-list {
padding: 0px;
}
ul.widget-list {
padding-left: 0;
list-style: none;
font-size: 13px;
margin-left: 20px;
}
ul.widget-list li:before {
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "";
color: #9e9e9e;
margin: 0 5px 0 -12px;
}
ul.widget-list li:hover:before {
color: #ffeb3b;
}
/*# sourceMappingURL=main.css.map */
{"version":3,"sourceRoot":"","sources":["../../sass/css/main/_layout-page.sass","../../sass/vendors/bulma/utilities/mixins.sass","../../sass/vendors/bulma/utilities/initial-variables.sass","../../sass/css/main/_layout-content.sass","../../sass/css/main/_decoration.sass","../../sass/css/post/_content.sass","../../sass/css/main/_list.sass"],"names":[],"mappings":";AAAA;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;EACA;;;ACuGE;EDpGF;IACE,WE8CS;;;AF5Cb;EACE;;;AAEF;EACE;;;AGhBF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAIF;AAAA;EAEE;;;AAEF;AAAA;EAEE;;;AAIF;AAAA;EAEE;;;AFkDA;EE/CA;IACE;IACA;;;EACF;IACE;IACA;;;AFqEA;EElEF;IACE;;;EACF;IACE;;;EACF;IACE;;;ACnDJ;EACE;;;ACDF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;ACLF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE","file":"main.css"}
\ No newline at end of file
$(document).ready(function() {
// Check for click events on the navbar burger icon
$(".navbar-burger").click(function() {
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
$(".navbar-burger").toggleClass("is-active");
$(".navbar-menu").toggleClass("is-active");
});
});
// http://belowthebenthic.com/bulma-burger/
new Vue({
el: '#navbar-vue-app',
data: {
isOpen: false
}
});
This diff is collapsed.
This diff is collapsed.
{
"name": "tutor-11ty-bulma-md",
"description": "Eleventy Bulma MD Test Drive: Chapter 04",
"author": "Epsiarto Rizqi Nurwijayadi",
"homepage": "https://gitlab.com/epsi-rns/tutor-11ty-bulma-md#readme",
"version": "0.4.0",
"scripts": {
"build": "npx eleventy",
"watch": "npx eleventy --watch",
"debug": "DEBUG=* npx eleventy"
},
"repository": {
"type": "git",
"url": "git://gitlab.com/epsi-rns/tutor-11ty-bulma-md.git"
},
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/epsi-rns/tutor-11ty-bulma-md/issues"
},
"devDependencies": {
"@11ty/eleventy": "^0.10.0",
"moment": "^2.24.0"
}
}
// dart-sass --watch -I sass sass/css-54:css/ --style=compressed --source-map
@import "bulma/initial-variables"
@import "vendors/bulma"
@import "bulma/derived-variables"
// Initial Variables
$navbar-breakpoint: 769px
// disable radius for material desin
$radius-small: 0px
$radius: 0px
// Font Awesome
// $fa-font-path: "/font-awesome-5";
$fa-font-path: "https://use.fontawesome.com/releases/v5.9.0/webfonts";
// Import partials from `sass_dir` (defaults to `_sass`)
@import "vendors/font-awesome-5/fontawesome";
@import "vendors/font-awesome-5/regular";
@import "vendors/font-awesome-5/solid";
@import "vendors/font-awesome-5/brands";
@charset "UTF-8";
// Padding and Margin
@import "helper/spacing";
// Global
@import "materialize/shadow";
// Color
@import "materialize/color-variables";
@import "materialize/color-classes";
// This code snippet is originally from:
// * https://github.com/jmaczan/bulma-helpers
// * https://alexwenzel.de/2017/707/sass-spacing-helper-classes
// * http://thesassway.com/intermediate/if-for-each-while
// variable initialization
$loop-begin: 0 !default
$loop-end: 25 !default
$interval: 5 !default
// sub-property: abbreviation
$sides: (top: t, bottom: b, left: l, right: r)
$sidesy: (top, bottom)
$sidesx: (left, right)
$properties: (margin: m, padding: p)
// loop
$cursor: $loop-begin
@while $cursor <= $loop-end
@each $prop, $name in $properties
.#{$name}-#{$cursor}
#{$prop}: #{$cursor}px !important
@each $side, $subname in $sides
.#{$name}-#{$subname}-#{$cursor}
#{$prop}-#{$side}: #{$cursor}px !important
.#{$name}-y-#{$cursor}
@each $side in $sidesy
#{$prop}-#{$side}: #{$cursor}px !important
.#{$name}-x-#{$cursor}
@each $side in $sidesx
#{$prop}-#{$side}: #{$cursor}px !important
$cursor: $cursor + $interval
// dart-sass --watch -I sass sass/css-54:css/ --style=compressed --source-map
// Bulma Related
@import "bulma/initial-variables"
@import "vendors/bulma/utilities/initial-variables"
@import "vendors/bulma/utilities/functions"
@import "vendors/bulma/utilities/derived-variables"
@import "vendors/bulma/utilities/mixins"
// Materialize Related
@import "materialize/color-variables"
// Tailor Made
@import "main/layout-page"
@import "main/layout-content"
@import "main/decoration"
@import "post/content"
@import "main/list"
body
background-image: url("../images/light-grey-terrazzo.png")
// gap main and aside
.blog
padding: 0px
.blog-header
padding: 5px 10px 5px 10px
.blog-body
padding: 5px 10px 5px 10px
.widget
padding: 0px
.widget-header
padding: 5px 10px 5px 10px
.widget-body
padding: 5px 10px 5px 10px
// decoration
main.column,
aside.column
padding: 0 !important
.main-wrapper,
.aside-wrapper
padding: 0 10px 0 10px
// responsive
.main-wrapper,
.aside-wrapper
margin-bottom: 20px
+tablet
.main-wrapper
margin-right: 10px
margin-left: 10px
.aside-wrapper
margin-left: 10px
margin-right: 10px
+widescreen
.main-wrapper
margin-left: 0px
.aside-wrapper
margin-right: 0px
.is-full .main-wrapper
margin-right: 0px
html
height: 100%
overflow-y: auto
body
min-height: 100%
.maxwidth<