-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
1,782 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/node_modules/ | ||
.DS_Store | ||
/assets/css/main.css | ||
/assets/css/style.css | ||
/assets/css/*.css.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{! 404 Error page; this file renders a 4040.html page; the "create404page" flag must be defined and enabled in config.json file within the "renderer" section }} | ||
{{> head}} | ||
{{> navbar}} | ||
<main> | ||
<h1>{{ translate 'error.404' }}</h1> | ||
<p>{{ translate 'error.message' }}</p> | ||
<a href="{{@website.url}}"> | ||
{{ translate 'error.button' }} | ||
</a> | ||
</main> | ||
{{> footer}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Publii Blank Theme | ||
|
||
Version: 1.3.0.0 | ||
|
||
The Blank is a clean and minimalistic Publii boilerplate theme that is perfect for users who want to start the adventure of creating Publi themes, having everything you need to create your own site. | ||
|
||
**Download:** [blank.zip](https://cdn.getpublii.com/themes/blank.zip) | ||
|
||
|
||
### Getting Started with Blank theme | ||
|
||
1. Download the blank.zip theme package | ||
2. Open Publii and navigate to the Themes by clicking on the three dots in the top-right of the Publii interface to open the submenu, then clicking the Themes option | ||
3. Drag and drop the downloaded blank.zip package onto the themes section; Publii will automatically unpack and add the downloaded theme to its library. | ||
4. Now tha Blank theme will be available in the Site Settings on the drop-down list. | ||
|
||
### Author: | ||
|
||
Bob Mitro TidyCustoms ([@tidycustoms](http://twitter.com/tidycustoms) - [https://tidycustoms.net/](https://tidycustoms.net/)) | ||
|
||
|
||
### Documentation | ||
|
||
Dev documentation is available at [https://getpublii.com/dev/](https://getpublii.com/dev/) | ||
|
||
|
||
|
||
### License | ||
|
||
MIT | ||
|
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/*==== | ||
FONT FACES | ||
====*/ | ||
|
||
@import url(https://fonts.bunny.net/css?family=acme:400); | ||
|
||
@font-face | ||
{ | ||
font-family: "Basteleur Moonlight"; | ||
src: url("../fonts/Basteleur-Moonlight.woff2") format("woff2"); | ||
} | ||
|
||
@font-face | ||
{ | ||
font-family: "Basteleur Bold"; | ||
src: url("../fonts/Basteleur-Bold.woff2") format("woff2"); | ||
} | ||
|
||
/*==== | ||
VARIABLE OVERRIDES | ||
====*/ | ||
|
||
$global-background: #212529 !default; | ||
//$global-color: #dee2e6 !default; | ||
$global-color: rgba(0, 255, 53, 0.85) !default; | ||
$global-emphasis-color: rgba(246, 38, 238, 0.85) !default; | ||
$global-font-family: "Acme", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default; | ||
$navbar-background: #000 !default; | ||
|
||
/*==== | ||
MAIN IMPORTS | ||
====*/ | ||
|
||
@import "../../node_modules/uikit/src/scss/variables-theme.scss"; | ||
@import "../../node_modules/uikit/src/scss/mixins-theme.scss"; | ||
@import "../../node_modules/uikit/src/scss/uikit-theme.scss"; | ||
|
||
/*==== | ||
STYLE OVERRIDES | ||
====*/ | ||
|
||
body, a { | ||
cursor: url(../images/coeurseur-mini.png), auto !important; | ||
} | ||
|
||
h1 { | ||
font-family: "Basteleur Bold" | ||
} | ||
|
||
.uk-overlay-primary h1 { | ||
color: $global-emphasis-color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
{{! Author page; this file renders a tag page containing a list of the latest posts }} | ||
{{> head}} | ||
{{> navbar}} | ||
<main> | ||
|
||
{{! indicates the author's context }} | ||
{{#author}} | ||
|
||
{{! author featured image }} | ||
{{#featuredImage}} | ||
{{! checks if an image exists }} | ||
{{#if url}} | ||
<figure> | ||
<img | ||
src="{{url}}" | ||
{{! checks if the Responsive Images option (located in Site Settings -> Website Speed) is enabled }} | ||
{{#if @config.site.responsiveImages}} | ||
{{responsiveImageAttributes 'authorImage' srcset sizes}} | ||
{{/if}} | ||
{{! generates a native loading attribute; if the Media Lazy Load option (located in Site Settings -> Website Speed) is disabled, the loading attribute is not generated }} | ||
{{lazyload "lazy"}} | ||
height="{{height}}" | ||
width="{{width}}" | ||
alt="{{alt}}"> | ||
|
||
{{! checks if a caption and credits exist }} | ||
{{#checkIfAny caption credits}} | ||
<figcaption> | ||
{{caption}} | ||
{{credits}} | ||
</figcaption> | ||
{{/checkIfAny}} | ||
{{! /checks if a caption and credits exist }} | ||
|
||
</figure> | ||
{{/if}} | ||
{{! /checks if an image exists }} | ||
{{/featuredImage}} | ||
{{! /author featured image }} | ||
|
||
{{! check if an author avatar exists }} | ||
{{#if avatar}} | ||
<img | ||
src="{{avatarImage.url}}" | ||
{{ lazyload "eager" }} | ||
alt="{{avatarImage.alt}}" | ||
height="{{avatarImage.height}}" | ||
width="{{avatarImage.width}}"> | ||
{{/if}} | ||
{{! /check if an author avatar exists }} | ||
|
||
<h1> | ||
{{name}} | ||
<sup>({{postsNumber}})</sup> | ||
</h1> | ||
|
||
{{! check if an author description exists }} | ||
{{#if description}} | ||
<p>{{description}}</p> | ||
{{/if}} | ||
{{! /check if a author description exists }} | ||
|
||
{{! check if an author email address exists }} | ||
{{#if email}} | ||
<p>{{email}}</p> | ||
{{/if}} | ||
{{! /check if a author email address exists }} | ||
|
||
{{! check if an author website URL exists }} | ||
{{#if website}} | ||
<p>{{website}}</p> | ||
{{/if}} | ||
{{! /check if a author website URL exists }} | ||
|
||
{{/author}} | ||
{{! /indicates the author's context }} | ||
|
||
|
||
{{! loop that generates a list of posts }} | ||
{{#each posts}} | ||
<article> | ||
|
||
{{! featured image }} | ||
{{#featuredImage}} | ||
{{! checks if an image exists }} | ||
{{#if url}} | ||
<img | ||
src="{{url}}" | ||
{{! checks if the Responsive Images option (located in Site Settings -> Website Speed) is enabled }} | ||
{{#if @config.site.responsiveImages}} | ||
{{responsiveImageAttributes 'featuredImage' srcset sizes}} | ||
{{/if}} | ||
{{! generates a native loading attribute; if the Media Lazy Load option (located in Site Settings -> Website Speed) is disabled, the loading attribute is not generated }} | ||
{{lazyload "lazy"}} | ||
height="{{height}}" | ||
width="{{width}}" | ||
alt="{{alt}}"> | ||
{{/if}} | ||
{{! /checks if an image exists }} | ||
{{/featuredImage}} | ||
{{! /featured image }} | ||
|
||
{{! post title }} | ||
<h2> | ||
<a href="{{url}}">{{title}}</a> | ||
</h2> | ||
{{! /post title }} | ||
|
||
{{! post creation date }} | ||
<time datetime="{{date createdAt 'YYYY-MM-DDTHH:mm'}}"> | ||
{{date createdAt}} | ||
</time> | ||
{{! /post creation date }} | ||
|
||
{{! post author }} | ||
{{#author}} | ||
<img | ||
src="{{avatarImage.url}}" | ||
{{lazyload "lazy"}} | ||
alt="{{avatarImage.alt}}" | ||
height="{{avatarImage.height}}" | ||
width="{{avatarImage.width}}"> | ||
<a href="{{url}}">{{name}}</a> | ||
{{/author}} | ||
{{! /post author }} | ||
|
||
{{! main tag - if not selected, the first tag in the list of all tags | ||
will be displayed }} | ||
{{#if mainTag}} | ||
<a href="{{mainTag.url}}">{{mainTag.name}}</a> | ||
{{/if}} | ||
{{! /main tag }} | ||
|
||
{{! post excerpt - the Custom excerpt is generated when the Read More button is used when editing a post }} | ||
{{#if hasCustomExcerpt}} | ||
{{{ excerpt }}} | ||
{{else}} | ||
<p>{{{ excerpt }}}</p> | ||
{{/if}} | ||
{{! /post excerpt }} | ||
|
||
</article> | ||
{{/each}} | ||
{{! /loop that generates a list of posts }} | ||
|
||
</main> | ||
<aside> | ||
{{> sidebar}} | ||
</aside> | ||
|
||
{{> pagination}} | ||
{{> footer}} |
Oops, something went wrong.