Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Add new variable pages that add one or more css files #42

Description

@javierartero
---
title: Welcome to marsman
body: home
active: home
css: home
---

refactor and improve the following code

    <% if (class_active = current_page.metadata[:page][:css].to_s) %>
      <% class_active.split(',').map(&:lstrip).each do |item| %>
        <%= stylesheet_pack_tag item %>
      <% end %>
    <% end %>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions