From 1ad25f9126eb132d103030898d45d0995746e862 Mon Sep 17 00:00:00 2001 From: Morgan Date: Thu, 26 Oct 2023 14:52:56 +0900 Subject: [PATCH] edited post --- config.yml | 12 ++++++++---- ...-05-21-pyphy-mulrienjin-1pyeon-gibon-aidieo.md | 0 ...sfetbuteo-ram-flash-geurigo-intel-4004ggaji.md | 0 content/{docs => blog}/2021-07-09-cryptography.md | 0 ...ghag-cfd-with-python-navier-stokes-equation.md | 0 .../2021-08-06-hardware-security.md | 0 .../{docs => blog}/2021-08-06-security-of-iot.md | 0 ...-08-06-yangja-keompyuteowa-yangja-eonilring.md | 0 ...tre-attacks-exploiting-peculative-execution.md | 0 .../2021-10-30-ad-techwa-tonggyeyi-sseuimsae.md | 0 ...geu-manheun-peijireul-eoddeohge-cajanaelgga.md | 0 ...ctronically-mediated-decentralistic-society.md | 0 static/admin/config.yml | 15 +++++++++++++++ 13 files changed, 23 insertions(+), 4 deletions(-) rename content/{docs => blog}/2021-05-21-pyphy-mulrienjin-1pyeon-gibon-aidieo.md (100%) rename content/{docs => blog}/2021-07-09-bandoceyi-weonri-jongryu-soja-yeogsa-saneob-mosfetbuteo-ram-flash-geurigo-intel-4004ggaji.md (100%) rename content/{docs => blog}/2021-07-09-cryptography.md (100%) rename content/{docs => blog}/2021-07-10-jeonsanyuceyeoghag-cfd-with-python-navier-stokes-equation.md (100%) rename content/{docs => blog}/2021-08-06-hardware-security.md (100%) rename content/{docs => blog}/2021-08-06-security-of-iot.md (100%) rename content/{docs => blog}/2021-08-06-yangja-keompyuteowa-yangja-eonilring.md (100%) rename content/{docs => blog}/2021-10-30-1-spectre-attacks-exploiting-peculative-execution.md (100%) rename content/{docs => blog}/2021-10-30-ad-techwa-tonggyeyi-sseuimsae.md (100%) rename content/{docs => blog}/2021-10-30-gugeuleun-geu-manheun-peijireul-eoddeohge-cajanaelgga.md (100%) rename content/{docs => blog}/2023-10-25-toward-an-electronically-mediated-decentralistic-society.md (100%) diff --git a/config.yml b/config.yml index c512b32..7ba34b9 100644 --- a/config.yml +++ b/config.yml @@ -106,14 +106,18 @@ params: menu: main: - - identifier: posts - name: Posts - url: /posts/ - weight: 30 - identifier: admin name: Admin url: /admin/ weight: 10 + - identifier: diary + name: Diary + url: /blog/ + weight: 30 + - identifier: posts + name: Posts + url: /posts/ + weight: 30 # - identifier: tags # name: Tags # url: /tags/ diff --git a/content/docs/2021-05-21-pyphy-mulrienjin-1pyeon-gibon-aidieo.md b/content/blog/2021-05-21-pyphy-mulrienjin-1pyeon-gibon-aidieo.md similarity index 100% rename from content/docs/2021-05-21-pyphy-mulrienjin-1pyeon-gibon-aidieo.md rename to content/blog/2021-05-21-pyphy-mulrienjin-1pyeon-gibon-aidieo.md diff --git a/content/docs/2021-07-09-bandoceyi-weonri-jongryu-soja-yeogsa-saneob-mosfetbuteo-ram-flash-geurigo-intel-4004ggaji.md b/content/blog/2021-07-09-bandoceyi-weonri-jongryu-soja-yeogsa-saneob-mosfetbuteo-ram-flash-geurigo-intel-4004ggaji.md similarity index 100% rename from content/docs/2021-07-09-bandoceyi-weonri-jongryu-soja-yeogsa-saneob-mosfetbuteo-ram-flash-geurigo-intel-4004ggaji.md rename to content/blog/2021-07-09-bandoceyi-weonri-jongryu-soja-yeogsa-saneob-mosfetbuteo-ram-flash-geurigo-intel-4004ggaji.md diff --git a/content/docs/2021-07-09-cryptography.md b/content/blog/2021-07-09-cryptography.md similarity index 100% rename from content/docs/2021-07-09-cryptography.md rename to content/blog/2021-07-09-cryptography.md diff --git a/content/docs/2021-07-10-jeonsanyuceyeoghag-cfd-with-python-navier-stokes-equation.md b/content/blog/2021-07-10-jeonsanyuceyeoghag-cfd-with-python-navier-stokes-equation.md similarity index 100% rename from content/docs/2021-07-10-jeonsanyuceyeoghag-cfd-with-python-navier-stokes-equation.md rename to content/blog/2021-07-10-jeonsanyuceyeoghag-cfd-with-python-navier-stokes-equation.md diff --git a/content/docs/2021-08-06-hardware-security.md b/content/blog/2021-08-06-hardware-security.md similarity index 100% rename from content/docs/2021-08-06-hardware-security.md rename to content/blog/2021-08-06-hardware-security.md diff --git a/content/docs/2021-08-06-security-of-iot.md b/content/blog/2021-08-06-security-of-iot.md similarity index 100% rename from content/docs/2021-08-06-security-of-iot.md rename to content/blog/2021-08-06-security-of-iot.md diff --git a/content/docs/2021-08-06-yangja-keompyuteowa-yangja-eonilring.md b/content/blog/2021-08-06-yangja-keompyuteowa-yangja-eonilring.md similarity index 100% rename from content/docs/2021-08-06-yangja-keompyuteowa-yangja-eonilring.md rename to content/blog/2021-08-06-yangja-keompyuteowa-yangja-eonilring.md diff --git a/content/docs/2021-10-30-1-spectre-attacks-exploiting-peculative-execution.md b/content/blog/2021-10-30-1-spectre-attacks-exploiting-peculative-execution.md similarity index 100% rename from content/docs/2021-10-30-1-spectre-attacks-exploiting-peculative-execution.md rename to content/blog/2021-10-30-1-spectre-attacks-exploiting-peculative-execution.md diff --git a/content/docs/2021-10-30-ad-techwa-tonggyeyi-sseuimsae.md b/content/blog/2021-10-30-ad-techwa-tonggyeyi-sseuimsae.md similarity index 100% rename from content/docs/2021-10-30-ad-techwa-tonggyeyi-sseuimsae.md rename to content/blog/2021-10-30-ad-techwa-tonggyeyi-sseuimsae.md diff --git a/content/docs/2021-10-30-gugeuleun-geu-manheun-peijireul-eoddeohge-cajanaelgga.md b/content/blog/2021-10-30-gugeuleun-geu-manheun-peijireul-eoddeohge-cajanaelgga.md similarity index 100% rename from content/docs/2021-10-30-gugeuleun-geu-manheun-peijireul-eoddeohge-cajanaelgga.md rename to content/blog/2021-10-30-gugeuleun-geu-manheun-peijireul-eoddeohge-cajanaelgga.md diff --git a/content/docs/2023-10-25-toward-an-electronically-mediated-decentralistic-society.md b/content/blog/2023-10-25-toward-an-electronically-mediated-decentralistic-society.md similarity index 100% rename from content/docs/2023-10-25-toward-an-electronically-mediated-decentralistic-society.md rename to content/blog/2023-10-25-toward-an-electronically-mediated-decentralistic-society.md diff --git a/static/admin/config.yml b/static/admin/config.yml index cf7e9ba..4850119 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -24,3 +24,18 @@ collections: - { label: 'Slug', name: 'slug', widget: 'string' } - { label: 'Description', name: 'description', widget: 'string', required: false } - { label: 'Body', name: 'body', widget: 'markdown' } + + - name: 'diary' + label: 'Diary' + folder: 'content/blog' + create: true + publish_mode: editorial_workflow + slug: '{{year}}-{{month}}-{{day}}-{{slug}}' + editor: + preview: false + fields: + - { label: 'Title', name: 'title', widget: 'string' } + - { label: 'Publish Date', name: 'date', widget: 'datetime' } + - { label: 'Slug', name: 'slug', widget: 'string' } + - { label: 'Description', name: 'description', widget: 'string', required: false } + - { label: 'Body', name: 'body', widget: 'markdown' }