XF 2.3 Node/Page title dilemma

Anatoliy

Well-known member
The best title for a page about salmon fishing in Oregon would be "Salmon fishing in Oregon". The same applies for other species. So I did so.
Which creates a keyword stuffing overkill on a home page (node list?). What would be the solution?

The best names for nodes in a Category would be 'Salmon', 'Steelhead' etc, however those would be weak page titles.

Please advise.

Снимок экрана 2024-12-23 в 11.27.05.webp
 
Solution
D
In node_list_forum template:
Less:
<h3 class="node-title">
    <xf:if is="$node.node_id == 2">
        <a href="{{ link('forums', $node) }}" data-xf-init="{{ $descriptionDisplay == 'tooltip' ? 'element-tooltip' : '' }}" data-shortcut="node-description">Steelhead</a>
    <xf:elseif is="$node.node_id == 3"/>
        <a href="{{ link('forums', $node) }}" data-xf-init="{{ $descriptionDisplay == 'tooltip' ? 'element-tooltip' : '' }}" data-shortcut="node-description">Salmon</a>
    <xf:else/>
        <a href="{{ link('forums', $node) }}" data-xf-init="{{ $descriptionDisplay == 'tooltip' ? 'element-tooltip' : '' }}" data-shortcut="node-description">{$node.title}</a>
    </xf:if>
</h3>
Back
Top Bottom