-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: "SNAP: Solving Neural Articulated Performances" | ||
description: "SNAP: Solving Neural Articulated Performances" | ||
--- | ||
|
||
<!-- [`Background`](https://unsplash.com/photos/a-couple-of-mannequins-sitting-next-to-each-other-mIg0GL63lFk) by [`Javier Miranda`](https://unsplash.com/@nuvaproductions). --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<!-- open graph from https://discourse.gohugo.io/t/how-to-set-open-graph-image-for-a-specific-page/6700/2 --> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
{{ with .Site.Language.Params.htmlCode | default .Site.LanguageCode }} | ||
<meta http-equiv="content-language" content="{{ . }}" /> | ||
{{ end }} | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
{{/* Title */}} | ||
{{ if .IsHome -}} | ||
<title>{{ .Site.Title | emojify }}</title> | ||
<meta name="title" content="{{ .Site.Title | emojify }}" /> | ||
{{- else -}} | ||
<title>{{ .Title | emojify }} · {{ .Site.Title | emojify }}</title> | ||
<meta name="title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" /> | ||
{{- end }} | ||
{{/* Metadata */}} | ||
{{ with (.Params.Summary | default .Params.Description) | default .Site.Params.description -}} | ||
<meta name="description" content="{{ . }}" /> | ||
{{- end }} | ||
{{ with .Params.Tags | default .Site.Params.keywords -}} | ||
<meta name="keywords" content="{{ range . }}{{ . }}, {{ end -}}" /> | ||
{{- end }} | ||
{{ with .Site.Params.robots }} | ||
<meta name="robots" content="{{ . }}" /> | ||
{{ end }} | ||
{{ with .Params.robots }} | ||
<meta name="robots" content="{{ . }}" /> | ||
{{ end }} | ||
<link rel="canonical" href="{{ .Permalink }}" /> | ||
{{ range .AlternativeOutputFormats -}} | ||
{{ printf ` | ||
<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink ($.Site.Title | emojify) | | ||
safeHTML }} | ||
{{ end -}} | ||
{{/* Asset bundles */}} | ||
{{ $assets := newScratch }} | ||
{{ $cssScheme := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "blowfish")) }} | ||
{{ if not $cssScheme }} | ||
{{ $cssScheme = resources.Get "css/schemes/blowfish.css" }} | ||
{{ end }} | ||
{{ $assets.Add "css" (slice $cssScheme) }} | ||
{{ $cssMain := resources.Get "css/compiled/main.css" }} | ||
{{ $assets.Add "css" (slice $cssMain) }} | ||
{{ $cssCustom := resources.Get "css/custom.css" }} | ||
{{ if $cssCustom }} | ||
{{ $assets.Add "css" (slice $cssCustom) }} | ||
{{ end }} | ||
{{ $bundleCSS := $assets.Get "css" | resources.Concat "css/main.bundle.css" | resources.Minify | resources.Fingerprint | ||
"sha512" }} | ||
<link type="text/css" rel="stylesheet" href="{{ $bundleCSS.RelPermalink }}" | ||
integrity="{{ $bundleCSS.Data.Integrity }}" /> | ||
{{ $jsAppearance := resources.Get "js/appearance.js" }} | ||
{{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate "js/appearance.js" . | resources.Minify | resources.Fingerprint "sha512" }} | ||
<script type="text/javascript" src="{{ $jsAppearance.RelPermalink }}" | ||
integrity="{{ $jsAppearance.Data.Integrity }}"></script> | ||
{{ if .Site.Params.enableSearch | default false }} | ||
{{ $jsFuse := resources.Get "lib/fuse/fuse.min.js" }} | ||
{{ $jsSearch := resources.Get "js/search.js" }} | ||
{{ $assets.Add "js" (slice $jsFuse $jsSearch) }} | ||
{{ end }} | ||
{{ if .Site.Params.enableCodeCopy | default false }} | ||
{{ $jsCode := resources.Get "js/code.js" }} | ||
{{ $assets.Add "js" (slice $jsCode) }} | ||
{{ end }} | ||
{{ if .Site.Params.rtl | default false }} | ||
{{ $jsRTL := resources.Get "js/rtl.js" }} | ||
{{ $assets.Add "js" (slice $jsRTL) }} | ||
{{ end }} | ||
{{ $jsMobileMenu := resources.Get "js/mobilemenu.js" }} | ||
{{ $assets.Add "js" (slice $jsMobileMenu) }} | ||
{{ if $assets.Get "js" }} | ||
{{ $bundleJS := $assets.Get "js" | resources.Concat "js/main.bundle.js" | resources.Minify | resources.Fingerprint | ||
"sha512" }} | ||
<script defer type="text/javascript" id="script-bundle" src="{{ $bundleJS.RelPermalink }}" | ||
integrity="{{ $bundleJS.Data.Integrity }}" data-copy="{{ i18n " code.copy" }}" data-copied="{{ i18n " code.copied" | ||
}}"></script> | ||
{{ end }} | ||
{{ if not .Site.Params.disableImageZoom | default true }} | ||
{{ $zoomJS := resources.Get "lib/zoom/zoom.min.js" | resources.Fingerprint "sha512" }} | ||
<script src="{{ $zoomJS.RelPermalink }}" integrity="{{ $zoomJS.Data.Integrity }}"></script> | ||
{{ end }} | ||
{{/* Icons */}} | ||
{{ if templates.Exists "partials/favicons.html" }} | ||
{{ partialCached "favicons.html" .Site }} | ||
{{ else }} | ||
<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | relURL }}" /> | ||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}" /> | ||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}" /> | ||
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}" /> | ||
{{ end }} | ||
{{/* Site Verification */}} | ||
{{ with .Site.Params.verification.google }} | ||
<meta name="google-site-verification" content="{{ . }}" /> | ||
{{ end }} | ||
{{ with .Site.Params.verification.bing }} | ||
<meta name="msvalidate.01" content="{{ . }}" /> | ||
{{ end }} | ||
{{ with .Site.Params.verification.pinterest }} | ||
<meta name="p:domain_verify" content="{{ . }}" /> | ||
{{ end }} | ||
{{ with .Site.Params.verification.yandex }} | ||
<meta name="yandex-verification" content="{{ . }}" /> | ||
{{ end }} | ||
{{/* Social */}} | ||
{{ template "_internal/opengraph.html" . }} | ||
{{ template "_internal/twitter_cards.html" . }} | ||
{{/* Schema */}} | ||
{{ partial "schema.html" . }} | ||
{{/* Me */}} | ||
{{ with .Site.Params.Author.name }} | ||
<meta name="author" content="{{ . }}" />{{ end }} | ||
{{ with .Site.Params.Author.links }} | ||
{{ range $links := . }} | ||
{{ range $name, $url := $links }} | ||
<link href="{{ $url }}" rel="me" />{{ end }} | ||
{{ end }} | ||
{{ end }} | ||
{{/* Vendor */}} | ||
{{ partial "vendor.html" . }} | ||
{{/* Analytics */}} | ||
{{ partial "analytics/main.html" .Site }} | ||
{{/* Extend head - eg. for custom analytics scripts, etc. */}} | ||
{{ if templates.Exists "partials/extend-head.html" }} | ||
{{ partialCached "extend-head.html" .Site }} | ||
{{ end }} | ||
<meta name="theme-color"/> | ||
{{/* Firebase */}} | ||
{{ with $.Site.Params.firebase }} | ||
{{ if isset $.Site.Params "firebase" }} | ||
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script> | ||
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script> | ||
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script> | ||
<script> | ||
|
||
const firebaseConfig = { | ||
apiKey: {{ $.Site.Params.firebase.apiKey }}, | ||
authDomain: {{ $.Site.Params.firebase.apiKey }}, | ||
projectId: {{ $.Site.Params.firebase.projectId }}, | ||
storageBucket: {{ $.Site.Params.firebase.storageBucket }}, | ||
messagingSenderId: {{ $.Site.Params.firebase.messagingSenderId }}, | ||
appId: {{ $.Site.Params.firebase.appId }}, | ||
measurementId: {{ $.Site.Params.firebase.measurementId }} | ||
}; | ||
|
||
var app = firebase.initializeApp(firebaseConfig); | ||
var db = firebase.firestore(); | ||
var auth = firebase.auth(); | ||
|
||
</script> | ||
{{ end }} | ||
{{ end }} | ||
|
||
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="{{ if ne .RelPermalink "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}"/> | ||
<meta property="og:description" content="{{ if .Params.og_description }}{{ .Params.og_description }}{{ else }}{{ .Site.Params.description }}{{ end }}"/> | ||
<meta property="og:site_name" content="{{ .Site.Title }}"/> | ||
<meta property="og:url" content="{{ .Permalink }}"/> | ||
<meta property="og:locale" content="en"> | ||
{{ if .Params.og_image }} | ||
<meta property="og:image" content=".RelPermalink{{ .Params.og_image | relURL }}"/> | ||
<meta property="og:image:secure_url" content="{{ .Params.og_image | absURL }}"/> | ||
{{ else }} | ||
<meta property="og:image" content="https://moverseai.github.io{{ .Site.Params.og_image | relURL }}"/> | ||
<meta property="og:image:secure_url" content="{{ .Site.Params.og_image | absURL }}"/> | ||
{{ end }} | ||
<meta property="og:type" content="website"/> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }} | ||
<article class="max-w-full prose dark:prose-invert"> | ||
<div class="relative"> | ||
<div class="absolute inset-x-0 bottom-0 h-1/2 bg-gray-100"></div> | ||
<div class="mx-auto max-w-7xl p-0"> | ||
<div class="relative shadow-xl sm:overflow-hidden rounded-2xl"> | ||
<div class="absolute inset-0"> | ||
{{ $homepageImage := "" }} | ||
{{ with .Site.Params.defaultBackgroundImage }} | ||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} | ||
{{ $homepageImage = resources.GetRemote . }} | ||
{{ else }} | ||
{{ $homepageImage = resources.Get . }} | ||
{{ end }} | ||
{{ end }} | ||
{{ with .Site.Params.homepage.homepageImage }} | ||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} | ||
{{ $homepageImage = resources.GetRemote . }} | ||
{{ else }} | ||
{{ $homepageImage = resources.Get . }} | ||
{{ end }} | ||
{{ end }} | ||
{{ if $homepageImage }} | ||
<img class="h-full w-full object-cover m-0 nozoom" src="{{ $homepageImage.RelPermalink }}"> | ||
<div | ||
class="absolute inset-0 bg-gradient-to-r from-primary-500 to-secondary-600 dark:from-primary-600 dark:to-secondary-800 mix-blend-multiply"> | ||
</div> | ||
{{ end }} | ||
</div> | ||
<div class="relative px-4 py-16 sm:px-6 sm:py-24 lg:py-32 lg:px-8 flex flex-col items-center justify-center text-center"> | ||
{{ with .Site.Params.Author.image }} | ||
{{ $authorImage := "" }} | ||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} | ||
{{ $authorImage = resources.GetRemote . }} | ||
{{ else }} | ||
{{ $authorImage = resources.Get . }} | ||
{{ end }} | ||
{{ if $authorImage }} | ||
{{ if not $disableImageOptimization }} | ||
{{ $authorImage = $authorImage.Fill (print "288x288 q" ( $.Site.Params.Author.imagequality | default "96" )) }} | ||
{{ end }} | ||
<img class="mb-2 rounded-full h-36 w-36" width="144" height="144" | ||
alt="{{ $.Site.Params.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" /> | ||
{{ end }} | ||
{{ end }} | ||
<h1 class="mb-2 text-4xl font-extrabold text-neutral-200"> | ||
{{ .Site.Params.Author.name | default .Site.Title }} | ||
</h1> | ||
{{ with .Site.Params.Author.headline }} | ||
<h2 class="mt-0 mb-0 text-xl text-neutral-300"> | ||
{{ . | markdownify }} | ||
</h2> | ||
{{ end }} | ||
<div class="mt-3 mb-10 text-2xl"> | ||
{{ with .Site.Params.Author.links }} | ||
<div class="flex flex-wrap"> | ||
{{ range $links := . }} | ||
{{ range $name, $url := $links }} | ||
<a class="px-1 hover:text-primary-400 text-primary-300" href="{{ $url }}" target="_blank" | ||
aria-label="{{ $name | title }}" rel="me noopener noreferrer">{{ partial | ||
"icon.html" $name }}</a> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
</div> | ||
</br> | ||
<section class="prose prose-invert">{{ .Content }}</section> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- <h6 class="relative group"> --> | ||
<a href="https://unsplash.com/photos/a-couple-of-mannequins-sitting-next-to-each-other-mIg0GL63lFk" target="_blank"><code>Background</code></a> by <a href="https://unsplash.com/@nuvaproductions" target="_blank"><code>Javier Miranda</code></a>. | ||
<div id="backgroundhttpsunsplashcomphotosa-couple-of-mannequins-sitting-next-to-each-other-mig0gl63lfk-by-javier-mirandahttpsunsplashcomnuvaproductions" class="anchor"></div> | ||
<span class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100"> | ||
<a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#backgroundhttpsunsplashcomphotosa-couple-of-mannequins-sitting-next-to-each-other-mig0gl63lfk-by-javier-mirandahttpsunsplashcomnuvaproductions" aria-label="Anchor">#</a> | ||
</span> | ||
<!-- </h6> --> | ||
</article> | ||
<section> | ||
{{ partial "recent-articles/main.html" . }} | ||
</section> |