Skip to content

Commit 46ec681

Browse files
committed
img preview
1 parent 887a776 commit 46ec681

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_blog/deployment-dilemma.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ title: "The Deployment Dilemma: Merits & Challenges of Deploying MPC"
44
date: 2023-09-27 10:00:00 -0800
55
math: true
66
custom_authors: true
7-
categories: [blog]
87
image:
98
path: /assets/img/mpc.png
109
excerpt: "MPC, or secure multi-party computation, is a powerful class of cryptographic primitives that enables a host of privacy-preserving systems. In MPC, $n$ parties each have an input $s_i$, and aim to compute a joint function $f(s_1, …, s_n)$. Because parties can only learn the function’s output, each party’s input is entirely hidden from the rest.

_layouts/post.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
3535
{% endif %}
3636

3737
{% if page.image %}
38-
{% unless page.categories contains 'blog' %}
38+
{% unless page.path contains '_blog/' %}
3939
{% capture src %}src="{{ page.image.path | default: page.image }}"{% endcapture %}
4040
{% capture class %}class="preview-img{% if page.image.no_bg %}{{ ' no-bg' }}{% endif %}"{% endcapture %}
4141
{% capture alt %}alt="{{ page.image.alt | default: "Preview Image" }}"{% endcapture %}
@@ -55,6 +55,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
5555
{% endunless %}
5656
{% endif %}
5757

58+
5859

5960
<div class="d-flex justify-content-between">
6061
<!-- author(s) -->

0 commit comments

Comments
 (0)