mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-07-27 00:31:23 +00:00
new style for featured
This commit is contained in:
@@ -62,10 +62,10 @@ fn create_featured_card(entry: &Entry) -> Markup {
|
||||
let main_url = utilities::get_root_url(link.href.as_str());
|
||||
|
||||
html! {
|
||||
article {
|
||||
header class="grid" {
|
||||
article class="featured" {
|
||||
header {
|
||||
img src=(image_url) alt="Entry image";
|
||||
hgroup class="featured-title" {
|
||||
hgroup {
|
||||
h2 { (title) }
|
||||
a href=(format!("http://{}", main_url)) { (main_url) }
|
||||
}
|
||||
|
Reference in New Issue
Block a user