Skip to content

Commit

Permalink
update metadata file for art and guides
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed Nov 14, 2023
1 parent 51f931f commit d2264db
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion astro/src/pages/gallery.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { slug } from '../lib/guide.ts'
let images = [];
try {
const list = (await Astro.glob('/../art/list.json'))[0].default
const list = (await Astro.glob('/../art/!metadata.json'))[0].default
list.forEach(folder => {
const snapshot = folder.snapshots[0];
Expand Down
2 changes: 1 addition & 1 deletion astro/src/pages/guides.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Layout from '../layouts/Layout.astro'
import { slug } from '../lib/guide.ts'
const list = (await Astro.glob('/../guides/_LIST.json'))[0]
const list = (await Astro.glob('/../guides/!metadata.json'))[0]
.default
.map(x => x.title)
Expand Down
2 changes: 1 addition & 1 deletion astro/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ curated = curated.map(name => {
let images = [];
try {
const list = (await Astro.glob('/../art/list.json'))[0].default
const list = (await Astro.glob('/../art/!metadata.json'))[0].default
list.forEach(folder => {
folder.snapshots.map(snapshot => {
images.push({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion virtual-gallery/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ export function raycastMap(state) {
mode: 'no-cors'
}

fetch('https://haxidraw-art.hackclub.dev/list.json')
fetch('https://haxidraw-art.hackclub.dev/!metadata.json')
.then(response => response.text())
.then(text => {
console.log(text)
Expand Down

1 comment on commit d2264db

@vercel
Copy link

@vercel vercel bot commented on d2264db Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blot – ./astro

blot-git-main.hackclub.dev
blot.hackclub.dev

Please sign in to comment.