Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FluxCD Azure DevOps article resource #2097

Merged
merged 5 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion assets/scss/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ main.td-main {
}
}

h6.resource-desc {
margin-top: -16px;
padding: 0 10px 20px;
}

.td-content {
div.lead {
Expand Down Expand Up @@ -389,7 +393,8 @@ label.date {
padding-left: 12px;
padding-right: 12px;
padding-top: 12px;
padding-bottom: 8px;
padding-bottom: 0px;
margin-bottom: 28px
}

.filter-mobile-modal {
Expand Down
6 changes: 6 additions & 0 deletions data/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ resources:
# Note: To generate "thumbnail_url", visit https://embed.ly/docs/explore/extract
# and enter the link to the resource. Once you do that, select any thumbnail url of choice to use.

- url: https://medium.com/@mohamednoureldinn/fluxcd-azure-devops-oidc-authentication-916cc7bfe11f
title: "FluxCD Azure DevOps OIDC Authentication"
date: "2024-11-24"
type: article
thumbnail_url: "https://fluxcd.io/img/flux-horizontal-color.png"
description: "Migrating AKS clusters to Azure DevOps OIDC-based auth"
- url: https://headlamp.dev/blog/2024/11/07/flux-ui/
title: "Headlamp Blog | From ClickOps to GitOps: A new Flux UI"
date: "2024-11-07"
Expand Down
6 changes: 3 additions & 3 deletions layouts/partials/resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
{{ $format := "2 Jan, 2006" }}
{{ $dateTime := $t.Format $format }}

<div class="col-lg-4 mb-3 mb-lg-0 text-center ">
<div class="col-lg-4 mb-3 mb-lg-0 ">
<a href="{{ $url }}"><img class="img-fluid img-thumbnail" alt="{{ $title | markdownify }}" src="{{ $thumbnail }}"></a>
<a href="{{ $url }}"><h4>{{ $title | markdownify }}</h4></a>
<span class="tag1 tag">
{{ .type }}
</span>
<label class="date">{{ $dateTime }}</label>

{{ if .description }}<h5>{{ .description }}</h5>{{ end }}
{{ if .description }}<h6 class="resource-desc">{{ .description }}</h6>{{ end }}

</div>

<template id="search-result" hidden>
<div class="col-lg-4 mb-3 mb-lg-0 text-center col-hidden">
<div class="col-lg-4 mb-3 mb-lg-0 col-hidden">
<a href="" class="thumbnail-link"><img class="img-fluid img-thumbnail" alt="" src=""></a>
<a href="" class="resource-title-link"><h4 class="resource-title-heading"></h4></a>
<span class="tag1 tag">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/template-resource.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template id="search-result" hidden>
<div class="col-lg-4 mb-3 mb-lg-0 text-center col-hidden">
<div class="col-lg-4 mb-3 mb-lg-0 col-hidden">
<a href="" class="thumbnail-link"><img class="img-fluid img-thumbnail" alt="" src=""></a>
<a href="" class="resource-title-link"><h4 class="resource-title-heading"></h4></a>
<span class="tag1 tag">
Expand Down