Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bamr87 committed May 16, 2024
1 parent fca390a commit 1f4173f
Show file tree
Hide file tree
Showing 26 changed files with 200 additions and 145 deletions.
10 changes: 10 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@ author:
twitter_username : "bamr87"
github_username : *github_user


## Site verification #############################################################

google_site_verification : null
bing_site_verification : null
alexa_site_verification : null
yandex_site_verification : null
aver_site_verification : null
baidu_site_verification : null

## Affiliations ##############################################################

default_icon: "bi" ## Bootstrap Icons https://icons.getbootstrap.com/
Expand Down
18 changes: 3 additions & 15 deletions _includes/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@
{% endif %}
{% endif %}

{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% endif %}
<meta property="article:published_time" content="{{ page.date | default: page.lastmod | date_to_xmlschema }}">

{% if og_type == "article" and page.last_modified_at %}
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
Expand Down Expand Up @@ -123,22 +121,12 @@
}
</script>

{% if site.google_site_verification %}
<!-- Site verification -->

<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
{% endif %}
{% if site.bing_site_verification %}
<meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
{% endif %}
{% if site.alexa_site_verification %}
<meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
{% endif %}
{% if site.yandex_site_verification %}
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
{% endif %}
{% if site.naver_site_verification %}
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
{% endif %}
{% if site.baidu_site_verification %}
<meta name="baidu-site-verification" content="{{ site.baidu_site_verification }}">
{% endif %}
<!-- end _includes/seo.html -->
6 changes: 5 additions & 1 deletion _layouts/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ <h2 id="index-collection">
{%- for post in entries -%}
<div class="col">
<div class="card h-100">
<img src="{{ site.public_folder }}/{{ post.preview | default: site.teaser }}" class="card-img-top" alt="page preview image">
{%- if post.preview -%}
<img src="{{ site.public_folder }}/{{ post.preview}}" class="card-img-top" alt="page preview image">
{% else %}
<img src="{{ site.teaser }}" class="card-img-top" alt="page preview image">
{%- endif -%}
<div class="card-body">
<h5 class="card-title " itemprop="headline">
<a class="card-link" href="{{ post.url | relative_url }}" rel="permalink">{{ post.title }}</a>
Expand Down
4 changes: 2 additions & 2 deletions _sass/it-journey/_docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@
inset: 0;
z-index: -1;
display: block;
content: "";
content: null;
background-image: linear-gradient(rgba(var(--bd-violet-rgb), 1), rgba(var(--bd-violet-rgb), 0.95))
}

Expand Down Expand Up @@ -1488,7 +1488,7 @@
.bd-example::after {
display: block;
clear: both;
content: ""
content: null
}

@media (min-width: 768px) {
Expand Down
2 changes: 1 addition & 1 deletion assets/js/particles-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var pJS = function(e, a) {
nb_sides: 5
},
image: {
src: "",
src: null,
width: 100,
height: 100
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/particles.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ particlesJS.load('particles-js', '/assets/particles.json', function() {
"config_demo": {
"hide_card": false,
"background_color": "#b61924",
"background_image": "",
"background_image": null,
"background_position": "50% 50%",
"background_repeat": "no-repeat",
"background_size": "cover"
Expand Down
72 changes: 21 additions & 51 deletions frontmatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,8 @@
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.content.pageFolders": [
{
"title": "pages",
"path": "[[workspace]]/pages"
},
{
"title": "it-journey",
"path": "[[workspace]]"
},
{
"title": "_about",
"path": "[[workspace]]/pages/_about"
},
{
"title": "_docs",
"path": "[[workspace]]/pages/_docs"
},
{
"title": "_hobbies",
"path": "[[workspace]]/pages/_hobbies"
},
{
"title": "_notes",
"path": "[[workspace]]/pages/_notes"
},
{
"title": "_posts",
"title": "posts",
"path": "[[workspace]]/pages/_posts"
},
{
"title": "_quests",
"path": "[[workspace]]/pages/_quests"
},
{
"title": "_quickstart",
"path": "[[workspace]]/pages/_quickstart"
},
{
"title": "gpt",
"path": "[[workspace]]/pages/_posts/gpt"
},
{
"title": "_about",
"path": "[[workspace]]/pages/_about"
}
],
"frontMatter.templates.enabled": true,
Expand All @@ -64,7 +24,8 @@
{
"title": "Description",
"name": "description",
"type": "string"
"type": "string",
"default": null
},
{
"title": "Publishing date",
Expand All @@ -76,7 +37,8 @@
{
"title": "Content preview",
"name": "preview",
"type": "image"
"type": "image",
"default": null
},
{
"title": "Is in draft",
Expand All @@ -96,27 +58,32 @@
{
"title": "sub-title",
"name": "sub-title",
"type": "datetime"
"type": "string",
"default": null
},
{
"title": "excerpt",
"name": "excerpt",
"type": "datetime"
"type": "string",
"default": null
},
{
"title": "snippet",
"name": "snippet",
"type": "datetime"
"type": "string",
"default": null
},
{
"title": "author",
"name": "author",
"type": "datetime"
"type": "string",
"default": "bamr87"
},
{
"title": "layout",
"name": "layout",
"type": "string"
"type": "string",
"default": null
},
{
"title": "keywords",
Expand All @@ -132,17 +99,20 @@
{
"title": "slug",
"name": "slug",
"type": "datetime"
"type": "string",
"default": null
},
{
"title": "sort_by",
"name": "sort_by",
"type": "string"
"type": "string",
"default": null
},
{
"title": "permalink",
"name": "permalink",
"type": "string"
"type": "string",
"default": null
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions pages/_about/features/add-floating-back-to-top-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
title: Add Floating Back-to-Top button
description: "How to Add a floating button that will scroll to the top of a page? "
date: 2023-03-09T00:15:05.278Z
preview: ""
preview: null
tags: Bootstrap
categories: How-To
sub-title: ""
author: ""
excerpt: ""
snippet: ""
lastmod: 2024-03-07T00:01:36.787Z
sub-title: null
author: null
excerpt: null
snippet: null
lastmod: 2024-05-16T01:45:59.228Z
---

[w3 schools](https://www.w3schools.com/howto/howto_js_scroll_to_top.asp)
Expand Down
6 changes: 3 additions & 3 deletions pages/_about/features/features.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: Features
description: ""
description: null
date: 2024-03-12T21:42:28.963Z
preview: ""
preview: null
tags: []
categories: []
type: default
permalink: /about/features/
slug: features
lastmod: 2024-03-12T21:47:52.802Z
lastmod: 2024-05-16T01:45:59.226Z
---

## Features
Expand Down
4 changes: 2 additions & 2 deletions pages/_about/settings/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ subtitle_url : "localhost"
title_separator : "|" # Appears in the web browser tab name
domain : *github_base_url
site_domain : &site_domain "github.io"
baseurl : "" # the subpath of your site, e.g. /blog - Use this if you want this whole repo to be a domain branch
baseurl : null # the subpath of your site, e.g. /blog - Use this if you want this whole repo to be a domain branch
github_base_url : [*github_user, '.' , *site_domain] # the base hostname & protocol for your site, e.g. http://example.com
url : *github_base_url
port : 4002 # Jekyll Serve Dev port
Expand Down Expand Up @@ -223,7 +223,7 @@ defaults:
# ALL
-
scope:
path: ""
path: null
values:
layout: root
show_date: true
Expand Down
4 changes: 2 additions & 2 deletions pages/_about/settings/config-utf16.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ subtitle_url : "localhost"
title_separator : "|" # Appears in the web browser tab name
domain : *github_base_url
site_domain : &site_domain "github.io"
baseurl : "" # the subpath of your site, e.g. /blog - Use this if you want this whole repo to be a domain branch
baseurl : null # the subpath of your site, e.g. /blog - Use this if you want this whole repo to be a domain branch
github_base_url : [*github_user, '.' , *site_domain] # the base hostname & protocol for your site, e.g. http://example.com
url : *github_base_url
port : 4002 # Jekyll Serve Dev port
Expand Down Expand Up @@ -223,7 +223,7 @@ defaults:
# ALL
-
scope:
path: ""
path: null
values:
layout: root
show_date: true
Expand Down
9 changes: 4 additions & 5 deletions pages/_docs/jekyll/jekyll-frontmatter-cms.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: Jekyll Frontmatter CMS
description: ""
description: null
date: 2022-06-11T18:28:52.956Z
preview: ""
tags: ""
categories: ""
lastmod: 2022-06-11T18:29:38.012Z
tags: null
categories: null
lastmod: 2024-05-16T01:45:59.180Z
---
This is a new article on how to use Jekyll and Frontmatter to build a CMS.
16 changes: 8 additions & 8 deletions pages/_notes/dev/2024-05-14-side-bar-folders.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
title: side-bar-folders
author: ""
author: null
layout: null
description: ""
description: null
slug: side-bar-folders
lastmod: 2024-05-14T22:05:44.287Z
lastmod: 2024-05-16T01:45:59.214Z
date: 2024-05-14T15:47:06.342Z
preview: ""
preview: null
tags: []
categories:
- sidebar
sub-title: ""
excerpt: ""
snippet: ""
- sidebar
sub-title: null
excerpt: null
snippet: null
keywords: {}
type: default
---
Expand Down
9 changes: 7 additions & 2 deletions pages/_notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Notes Index
description: Notes Index
layout: collection
permalink: /notes/
lastmod: 2024-05-13T20:29:25.406Z
lastmod: 2024-05-16T02:05:52.727Z
---

# Quick Start
Expand Down Expand Up @@ -283,4 +283,9 @@ These instructions are pertinent to Windows users.

## Github Custom Domain

[docs](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)
[docs](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)

## frontmatter content types

https://frontmatter.codes/docs/content-creation/content-types#run-a-script-after-your-content-is-created

14 changes: 7 additions & 7 deletions pages/_posts/2023-03-17-penrose-triangle.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: penrose triangle
sub-title: ""
author: ""
excerpt: ""
description: ""
sub-title: null
author: null
excerpt: null
description: null
snippet: 2023-03-11T16:12:28.481Z
categories: ""
tags: ""
categories: null
tags: null
draft: 2023-03-11T16:12:28.481Z
lastmod: 2023-03-11T16:37:26.439Z
lastmod: 2024-05-16T01:45:59.201Z
type: Article
---

Expand Down
Loading

0 comments on commit 1f4173f

Please sign in to comment.