Skip to content

Commit

Permalink
sotm blog post
Browse files Browse the repository at this point in the history
* Add stackbit config for netlify visual editor.

* set type: posts on all content for stackbit to map properly,

* Add SOTM blog post
  • Loading branch information
01100100 authored Aug 2, 2024
1 parent e9ed2ad commit 87dac48
Show file tree
Hide file tree
Showing 21 changed files with 368 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/posts/maphopping.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
type: posts
title: "Map Hopping Made Easy! 🗺️🦘🗺️"
subtitle: "Yet another useful tool in the modern mapping ecosystem."
date: 2024-07-09T23:28:25+02:00
Expand Down
1 change: 1 addition & 0 deletions content/posts/maploading.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
type: posts
title: "Map Loading... 🗺️📏🎨"
subtitle: "Experimenting with different vector map style loading times using maplibre-gl."
date: 2024-03-25T11:42:41+01:00
Expand Down
294 changes: 294 additions & 0 deletions content/posts/sotm.md

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions stackbit.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import { defineStackbitConfig } from '@stackbit/types';
import { GitContentSource } from "@stackbit/cms-git";

export default defineStackbitConfig({
stackbitVersion: '0.3.89',
ssgName: 'custom',
devCommand: `hugo hugo server --disableFastRender --port 3000`,
contentSources: [
new GitContentSource({
rootPath: __dirname,
contentDirs: ["content"],
models: [
{
name: "posts",
type: "page",
urlPath: "/posts/{slug}/",
filePath: "content/posts/{slug}.md",
fields: [
{ type: "string", name: "title", label: "Title", required: true },
{ type: "string", name: "subtitle", label: "Subtitle" },
{ type: "datetime", name: "date", label: "Date" },
{ type: "datetime", name: "lastmod", label: "Lastmod" },
{ type: "boolean", name: "draft", label: "Draft" },
{ type: "list", name: "authors", label: "Authors", items: { type: "string" } },
{ type: "string", name: "description", label: "Description" },
{ type: "list", name: "tags", label: "Tags", items: { type: "string" } },
{ type: "list", name: "categories", label: "Categories", items: { type: "string" } },
{ type: "list", name: "series", label: "Series", items: { type: "string" } },
{ type: "boolean", name: "hiddenFromHomePage", label: "Hidden From Home Page" },
{ type: "boolean", name: "hiddenFromSearch", label: "Hidden From Search" },
{ type: "string", name: "featuredImage", label: "Featured Image" },
{ type: "string", name: "featuredImagePreview", label: "Featured Image Preview" },
{
type: "object",
name: "toc",
label: "Toc",
fields: [
{ type: "boolean", name: "enable", label: "Enable" },
{ type: "boolean", name: "auto", label: "Auto" }
]
},
{
type: "object",
name: "math",
label: "Math",
fields: [
{ type: "boolean", name: "enable", label: "Enable" }
]
},
{ type: "boolean", name: "lightgallery", label: "Lightgallery" },
{ type: "string", name: "license", label: "License" },
{ type: "string", name: "summary", label: "Summary" },
{
type: "object",
name: "code",
label: "Code",
fields: [
{ type: "number", name: "maxShownLines", label: "Max Shown Lines", subtype: "int" }
]
}
]
}
],
assetsConfig: {
referenceType: "static",
staticDir: "static",
uploadDir: "images",
publicPath: "/"
}
}),
],
});
Binary file added static/images/aero-positions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/aero-trustini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/bartape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/heat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/ironman.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/komoot-route-planner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/phone-mount.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/polish-road.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/santini-pad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/sklep.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/sunshine.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/trustini.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/unicorn.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/width_rolling_resistance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/videos/ride-poland-wide.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/videos/ride-poland.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/videos/windy.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 87dac48

Please sign in to comment.