yu-core-0.1.1.2: The core of Yu.

Copyright(C) 2017-2018 Johann Lee <me@qinka.pro>
LicenseGPLv3+
Maintainerme@qinka.pro
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Yu.Core.View.Query

Contents

Description

The View part for query command, nav query.

Synopsis

querys

query version

queryVersion :: Hamletic a (HandlerT a IO) => HandlerT a IO TypedContent Source #

version of Blog version

queryVersionCore :: HandlerT a IO TypedContent Source #

version of glov-core

name

build info

server time

navbar

queryNav Source #

Arguments

:: [Nav]

navs (from Model)

-> HandlerT a IO TypedContent 

fetch the list for nav

index

queryIndex Source #

Arguments

:: String

parameters

-> [ResT]

resources index (from Model)

-> HandlerT a IO TypedContent 

index

normal query

queryQuery Source #

Arguments

:: Text

query value (from Model)

-> HandlerT a IO TypedContent 

query