- {{ partial "note-aggregator.html" . }}
+ {{ $paginator := .Paginate .RegularPagesRecursive 10 }}
+ {{ range $paginator.Pages }}
+ {{ if .Layout }}
+ {{/* ignore search.md file*/}}
+ {{ else }}
+ {{ .Content }}
+ {{ end }}
+ {{ end }}
{{ template "_internal/pagination.html" . }}
@@ -51,6 +58,8 @@
{{ define "scripts" }}
+
+
diff --git a/layouts/partials/note-aggregator.html b/layouts/partials/note-aggregator.html
index 8d90c5c..02f8146 100644
--- a/layouts/partials/note-aggregator.html
+++ b/layouts/partials/note-aggregator.html
@@ -4,15 +4,15 @@
{{/* ignore search.md file*/}}
{{ else }}
{{$id := .Params.Menu.Notes.Identifier }}
-
- # {{ .Title }}
+
+ {{ .Content }}
+
{{ end }}
{{ end }}
\ No newline at end of file
diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html
index dfc77cf..3aa9a4e 100644
--- a/layouts/shortcodes/note.html
+++ b/layouts/shortcodes/note.html
@@ -1,11 +1,11 @@
-
-
diff --git a/static/css/layouts/notes.css b/static/css/layouts/notes.css
index d481f13..5702c0f 100644
--- a/static/css/layouts/notes.css
+++ b/static/css/layouts/notes.css
@@ -25,12 +25,16 @@
.note-card-holder{
padding-top: 2rem;
+ display: grid;
+ grid-gap: 0.5rem;
+ grid-template-columns: repeat(auto-fill, minmax(30rem,1fr));
+ grid-auto-rows: 20px;
}
-.note-collection {
+/* .note-collection {
display: flex;
flex-wrap: wrap;
-}
+} */
.note-card {
align-self: flex-start;
@@ -41,7 +45,22 @@
}
.note-title{
- font-weight: 800;
+ padding-left: 1rem;
+ color: #248aaa;
+}
+
+.note-title span{
+ background: #e5e9f2;
+ padding-right: 5px;
+}
+
+.note-title:before{
+ content:'';
+ display:inline-block;
+ width:98%;
+ height:100%;
+ margin-bottom:-26px;
+ border-bottom:1px solid #248aaa;
}
.note-card .card-body{
@@ -53,7 +72,7 @@
border-radius: 3px;
}
-.small-note{
+/* .small-note{
max-width: 15rem;
}
@@ -65,7 +84,7 @@
max-width: 40rem;
}
-.huge-note{}
+.huge-note{} */
.note-badge{
font-size: 10pt;
@@ -146,8 +165,8 @@
transition: all ease-out 0.3s;
}
- .content-section.hide .note-card-holder .note-card {
- max-width: 100%;
+ .content-section.hide .note-card-holder{
+ grid-template-columns: repeat(auto-fill, minmax(30rem,1fr));
transition: all ease-out 0.3s;
}
}
diff --git a/static/js/imagesloaded.pkgd.min.js b/static/js/imagesloaded.pkgd.min.js
new file mode 100644
index 0000000..e443a77
--- /dev/null
+++ b/static/js/imagesloaded.pkgd.min.js
@@ -0,0 +1,7 @@
+/*!
+ * imagesLoaded PACKAGED v4.1.4
+ * JavaScript is all like "You images are done yet or what?"
+ * MIT License
+ */
+
+!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o