Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 19 Nov 2026 - @777.87
Forum Activity: Three Stars Random | Recent Posts | Guild Recents
News: :cry: Are u having fun? Guild Events: 21: Cold
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  eleventy: deviantart-style statuses


« previous next »
Pages: [1] Print Embed
Author Topic: eleventy: deviantart-style statuses  (Read 27 times)
fairyrune
Sr. Member ⚓︎
****
View Profile WWWArt


we live to make the impossible possible!
⛺︎ My Room
Matrix: Chat!
RSS: RSS
OS: Linux Mint (Cinnamon)

Guild Memberships:
Artifacts:
Joined 2025!Visited on Melon's 10th Anniversary!Common RavenDino Fossil
« on: Today at @666 » Toggle Font Embed

 :dog: i started using eleventy for my blog, and i love it so far! however, i have a question that i can't seem to find answers for. i've managed to finagle it into slotting nicely into my blog's format, for the most part, but i'm having trouble trying to convert my "status" bar.

as you can see on one of my posts, i have a bit at the bottom that says what i'm reading, listening to etc. like a deviantart journal. i don't want to copy and paste this html every time, as that would defeat the purpose of having a SSG! if anyone knows how i could convert this into something i can set with layouts + something in the front matter, i'd be grateful! :seal:

Logged

☾ "you want to run - i'll run with you" ☼
https://files.catbox.moe/ivdca8.gifhttps://i.postimg.cc/YSTBDnM2/chao-blinkie.gifhttps://files.catbox.moe/ji1nvt.gifhttps://files.catbox.moe/9ypmrn.gifhttps://files.catbox.moe/3im96c.gif
https://64.media.tumblr.com/fac3df0288cde16e520cca2ed725faab/0e5301293eb46033-64/s400x600/feee08e5076e1c4257468660c1b172c56c9b3fc9.pnj

Artifact Swap: Prairie dog
schlime9k
Full Member ⚓︎
***
View Profile WWW


Forever personalising my profile
⛺︎ My Room
StatusCafe: schlime9k
iMood: schlime9k
RSS: RSS

Guild Memberships:
Artifacts:
Visited on Melon's 10th Anniversary!Joined 2025!
« Reply #1 on: Today at @706 » Toggle Font Embed

So I don't actually use 11ty, but I had a quick look at some of it's documentation to see if you can do something like that, and I think I have an answer for you!

There's these things called "_includes" found here and what you do is make a new document in that _includes directory that contains all that status bar html junk that you don't wanna ctrl+c & ctrl+v all the time.

Then whenever you make a new post, you link that in your post layout and then add the relevant status info in your post.

Please let me know if this works at all or I'm just spewing complete nonsense, because again I know next to nothing about Eleventy...

Logged

https://schlime.online/images/buttons/wsw.gif

Artifact Swap: Forum-Posting Extraordinaire!Physical media FOREVA!I met Dan Q on Melonland!GrapesAce Honey
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Guide | Rules | Whos a Mod? | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe