feeds_link

NAML documentation   Watch a video
   Usages of this macro
... in feeds_link.naml
1
2
3
4
5
6
7
8
9
10
11
<override_macro name="feeds_link" requires="node" dot_parameter="text" parameters="title, class">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_null
Binary
Namespace: BasicNamespace
Parameters: value
.feeds_path
Macro
Requires: node
>  
        <then>
            <head>
                <link rel="alternate" title="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/]: Topics only" href="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.feeds_topics_path
Macro
Requires: node
/]" type="application/atom+xml" />
                <link rel="alternate" title="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/]: Topics and replies" href="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.feeds_posts_path
Macro
Requires: node
/]" type="application/atom+xml" />
            </head>
        </then>
    </n.if.not.is_null.feeds_path>
    <a href="[n.feeds_path
Macro
Requires: node
/]" class="[n.class/]" rel="nofollow" title="Web Feeds" accesskey="w"><n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="[t]Feeds[/t]"><n.text/></n.default.></a>
</override_macro>
Overrides default macro
... in utilities.naml
491
492
493
<macro name="feeds_link" requires="node" dot_parameter="text" parameters="title, class">
    <a href="[n.feeds_path/]" class="[n.class/]" rel="nofollow" title="[n.title/]"><n.default. to="[t]Feeds[/t]"><n.text/></n.default.></a>
</macro>