content: case-study markdown for 4 projects (kotelov anatomy, evidence-backed facts)
This commit is contained in:
1 parent
a55302a23d
commit
af07835b26
5 files changed
+16
-8
No files matched your search
@@ -73,7 +73,9 @@ function probe(file) {
|
||||
|
||||
const kb = (n) => `${(n / 1000).toFixed(1)} KB`;
|
||||
const shotPath = (slug) => join(SHOT_DIR, slug, '01.webp');
|
||||
const shotUrl = (slug) => `../Work_files/projects/${slug}/01.webp`;
|
||||
// Канонический URL = абсолютный от корня сайта: ровно так уже записано в content/projects/*.md
|
||||
// (и так же в _template.md). Требует, чтобы корень веб-сервера = корень репозитория.
|
||||
const shotUrl = (slug) => `/Work_files/projects/${slug}/01.webp`;
|
||||
|
||||
// Центрированный кроп 16:9 из любого источника: scale с увеличением + crop.
|
||||
function encode(src, out, w, h, q, focus) {
|
||||
|
||||
Reference in new issue
Block a user