mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 11:36:36 +00:00 
			
		
		
		
	Expose additional colors
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| <div class="col-6"> | ||||
| <div class="col-6 my-3"> | ||||
|   <a href="{{ post.url | prepend: site.baseurl }}" class="text-decoration-none"> | ||||
|     <div class="card bg-secondary" {% if post.cover %} style="background-image: {{ post.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ post.cover }}); background-size: cover; background-position: center;"{% endif %}> | ||||
|     <div class="card bg-gray" {% if post.cover %} style="background-image: {{ post.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ post.cover }}); background-size: cover; background-position: center;"{% endif %}> | ||||
|       <div class="card-body d-flex flex-column align-self-end" style="min-height: 300px;"> | ||||
|         <h2 class="card-title mt-auto text-light">{{ post.title }}</h2> | ||||
|         <p class="card-text text-light">{{ post.excerpt }} <strong>Continue Reading...</strong></p> | ||||
|   | ||||
| @@ -25,6 +25,6 @@ | ||||
|     </nav> | ||||
|   </div> | ||||
|   <div class="pl-3"> | ||||
|     <a class="btn btn-outline-info btn-lg" href="https://github.com/privacyguides/privacyguides.org/edit/main/{%- if page.collection -%}collections/{%- endif -%}{{ page.path }}" role="button"><i class="fad fa-fw fa-pencil-alt"></i> Edit</a> | ||||
|     <a class="btn btn-outline-gray btn-lg" href="https://github.com/privacyguides/privacyguides.org/edit/main/{%- if page.collection -%}collections/{%- endif -%}{{ page.path }}" role="button"><i class="fad fa-fw fa-pencil-alt"></i> Edit</a> | ||||
|   </div> | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user