Skip to content

Commit

Permalink
Merge pull request #2097 from fluxcd/add-azure-oidc-article
Browse files Browse the repository at this point in the history
Add FluxCD Azure DevOps article resource
  • Loading branch information
kingdonb authored Nov 26, 2024
2 parents 52353ee + 9c74989 commit 90a0b10
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
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

0 comments on commit 90a0b10

Please sign in to comment.