mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-08 18:06:43 +01:00
28 lines
955 B
Text
28 lines
955 B
Text
body.story
|
|
#wrap
|
|
header.banner.main
|
|
= link_to '/'
|
|
= image_tag '/img/banner.png'
|
|
article#story.fic-data.hyphenate
|
|
header
|
|
h1
|
|
= link_to @story.title, story_path(@story)
|
|
span.author
|
|
' by
|
|
= link_to @story.author.name, author_path(@story.author)
|
|
hr
|
|
h2= @chapter.title
|
|
span.chapnav.prev
|
|
- if @chapter.number == 1
|
|
= link_to 'Load Full Story', story_chapter_path(@story, 0)
|
|
- else
|
|
= link_to 'Previous Chapter', story_chapter_path(@story, @chapter.number - 1)
|
|
span.chapnav.next
|
|
- if @chapter.number < @story.chapters.count
|
|
= link_to 'Next Chapter', story_chapter_path(@story, @chapter.number + 1)
|
|
hr
|
|
== @rendered_html
|
|
|
|
span.chapnav.bot
|
|
- if @chapter.number < @story.chapters.count
|
|
= link_to 'Next Chapter', story_chapter_path(@story, @chapter.number + 1)
|