Skip to content

Commit

Permalink
Add Organization JSON-LD (#1091)
Browse files Browse the repository at this point in the history
* Update +page.svelte

* personalize organization json ld content

* Create robots.txt

* Revert "Create robots.txt"

This reverts commit 8707984.

* Reapply "Create robots.txt"

This reverts commit 07ad13c.

* Update +page.svelte
  • Loading branch information
EthanThatOneKid authored Jun 12, 2024
1 parent a8f3d82 commit a2ae85a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/routes/(site)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,36 @@

<svelte:head>
<title>ACM at CSUF</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://acmcsuf.com/",
"name": "ACM at CSUF",
"identifier": "acmcsuf",
"description": "The Association for Computing Machinery at California State University, Fullerton",
"url": "https://acmcsuf.com/",
"logo": "https://acmcsuf.com/favicon.png",
"email": "mailto:acmcsufullerton@gmail.com",
"sameAs": [
"https://fullerton.campuslabs.com/engage/organization/acm",
"https://instagram.com/acmcsuf",
"https://linkedin.com/company/acm-at-csuf/",
"https://www.tiktok.com/@acm_at_csuf",
"https://www.youtube.com/channel/UCDMBj0o4V8Cpt0jgsZLNVVg"
],
"alumni": [
{
"@type": "Person",
"@id": "https://0xd14.id/"
},
{
"@type": "Person",
"@id": "https://id.etok.me/"
}
]
}
</script>
</svelte:head>

<div class="sections-container">
Expand Down
4 changes: 4 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: Googlebot

User-agent: *
Allow: /

0 comments on commit a2ae85a

Please sign in to comment.