1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 12:52:31 +03:00

Change titles

This commit is contained in:
Artyom 2016-05-10 03:45:20 +03:00
parent 896d39ff89
commit fdaba16282
2 changed files with 6 additions and 6 deletions

View File

@ -584,7 +584,7 @@ otherMethods = do
-- in front of it, and if we used </> it'd just skip baseUrl
let feedUrl = baseUrl ++ T.unpack (renderRoute route (category^.uid))
feedTitle = Atom.TextString (T.unpack (category^.title) ++
" Aelve Guide")
" Haskell Aelve Guide")
feedLastUpdate = case sortedItems of
(item:_) -> Feed.toFeedDateStringUTC Feed.AtomKind (item^.created)
_ -> ""

View File

@ -460,12 +460,12 @@ renderHaskellRoot
:: (MonadIO m, MonadRandom m, MonadReader Config m)
=> GlobalState -> Maybe Text -> HtmlT m ()
renderHaskellRoot globalState mbSearchQuery =
wrapPage "Aelve Guide" $ do
wrapPage "Aelve Guide: Haskell" $ do
onPageLoad $ JS.expandHash ()
case mbSearchQuery of
Nothing -> h1_ "The Haskeller's guide"
Nothing -> h1_ "Aelve Guide: Haskell"
-- A search page isn't the main page, so we need a link to the main page
Just _ -> h1_ (mkLink "The Haskeller's guide" "/haskell")
Just _ -> h1_ (mkLink "Aelve Guide: Haskell" "/haskell")
renderNoScriptWarning
renderSearch mbSearchQuery
textInput [
@ -493,10 +493,10 @@ renderCategoryPage
:: (MonadIO m, MonadRandom m, MonadReader Config m)
=> Category -> HtmlT m ()
renderCategoryPage category = do
wrapPage (category^.title <> " Aelve Guide") $ do
wrapPage (category^.title <> " Haskell Aelve Guide") $ do
onPageLoad $ JS.expandHash ()
-- TODO: another absolute link [absolute-links]
h1_ (mkLink "The Haskeller's guide" "/haskell")
h1_ (mkLink "Aelve Guide: Haskell" "/haskell")
renderNoScriptWarning
renderSearch Nothing
renderCategory category