Arc Forumnew | comments | leaders | submitlogin
2 points by akkartik 4417 days ago | link | parent

The list of stories on the frontpage is generated by the function topstories. That's where you'll want to join a sticky post, either hardcoded or saved in a separate file like the arc/news/topstories file.

Disabling comments seems a little more involved. You'll need to add an attribute (say allowcomments) to the item deftem, and then check for it in:

a) displaying the commentlink in display-story, and

b) comments-active, which is checked before displaying the comment-form

Let me know if this makes sense. If you get it working, send a pull request to https://github.com/arclanguage/anarki!



2 points by thisisdallas 4417 days ago | link

Ok, great, thanks for reply! I'm still really new to arc so, to be honest, it doesn't really make sense without looking at the actual. Hopefully, later today/this week, I will have some time to sit down and really look into things. Once I get something functioning I will definitely send a pull request.

-----

1 point by akkartik 4416 days ago | link

Great. Definitely ask us more questions as they come up. I wasn't sure how much you already knew but we can dig into details as you need them.

Also, you might find this site useful for documentation about join and other arc vocabulary: http://arclanguage.github.io/ref/fnindex.html

-----