Next.js static blog using Notion as a Content Management System (CMS). Supports both Blog format Post as well as Page format for Resume. Deployed using Vercel.
π Writing posts using notion
- No need of commiting to Github for posting anything to your website.
- Posts made on Notion are automaticaly updated on your site.
π Use as a page as resume
- Useful for generating full page sites using Notion.
- Can be used for Resume, Portfolios etc.
π SEO friendly
- Dynamically generates OG IMAGEs (thumbnails!) for posts. (og-image-korean).
- Dynamically creates sitemap for posts.
π€ Customisable and Supports various plugin through CONFIG
- Your profile information can be updated through Config. (
site.config.js
) - Plugins support includes, Google Analytics, Search Console and also Commenting using Github Issues(Utterances) or Cusdis.
-
Star this repo.
-
Fork the repo to your Profile.
-
Duplicate this Notion template, and Share to Web.
-
Copy the Web Link and keep note of the Notion Page Id from the Link which will be in this format [username.notion.site/
NOTION_PAGE_ID
?v=VERSION_ID
]. -
Clone your forked repo and then customize
site.config.js
based on your preference. -
Deploy on Vercel, with the following environment variables.
NOTION_PAGE_ID
(Required): The Notion page Id got from the Share to Web URL.NEXT_PUBLIC_GOOGLE_MEASUREMENT_ID
: For Google analytics Plugin.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION
: For Google search console Plugin.
Click to see guide
-
Prepare Notion, Vercel account.
-
β
Star
andFork
this repo.
![](https://private-user-images.githubusercontent.com/6457691/243072736-b0421776-2bfe-42bc-ae31-d90206fd5789.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3MjczNi1iMDQyMTc3Ni0yYmZlLTQyYmMtYWUzMS1kOTAyMDZmZDU3ODkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQU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JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.sNXSJLwcHRtcnTOKMKaLqdbfhrsVPsfAwWFj8oWC7zg)
- As you
click
the Notion template, you will see this notion page in your browser. ClickDuplicate
button(볡μ in image) in right top.
![](https://private-user-images.githubusercontent.com/6457691/243072743-a5375429-28f0-4bba-a355-0d391cad58db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc0My1hNTM3NTQyOS0yOGYwLTRiYmEtYTM1NS0wZDM5MWNhZDU4ZGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjY5NzJiMGJhYzQxNTgwMzg3MWY1NTRmNmMxODQ5ZjlmYTRjNzVhZTUzZTkxNTA1MWEyMzE2NDk3YWI0MjI4NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.oO70Zl8cUjCRBOZ7eT56Z3FaSsLO-HX3xwqyy2FWXEA)
- And you will see
notion page in notion app
in your account.
![](https://private-user-images.githubusercontent.com/6457691/243072744-09af5533-43d9-48e5-95eb-dcac84c97c1f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc0NC0wOWFmNTUzMy00M2Q5LTQ4ZTUtOTVlYi1kY2FjODRjOTdjMWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmZmNjc3MTZjNjJhYmE3ZDlmZGVmYTg2YmRhMTMyNWMyM2ZjYWM3MWQ5ODYxYmYyOGJkYjVmOGY0NGU0NTQxMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.xa7aHzO1Y_bA-zuMLv953m_RUEqeDLh5PgpQrpEHRL4)
- Click
Share
andPublish
in right top, and check web link. (Copy web link)
![](https://private-user-images.githubusercontent.com/6457691/243072746-886fe4a2-79ca-4dbc-b1e1-93984e7e3f44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc0Ni04ODZmZTRhMi03OWNhLTRkYmMtYjFlMS05Mzk4NGU3ZTNmNDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTZiNjMwNGM1MzdmNTJmNzRiMDE5YTE3ODllY2Q2YzMwY2FlMDNiNzJmNzM3MzgxZGU5MmNiZTczM2I0MjRmMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.gqsx-derKwWpXni_Ey8xlggpNXVMtG0hgtImOBE20wo)
Modify
site.config.js file in your forked repo.
π‘ NOTE. I changed 2 RED PART
![](https://private-user-images.githubusercontent.com/6457691/243072747-3d9c0da5-92bc-4372-8752-7bfc810b4986.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc0Ny0zZDljMGRhNS05MmJjLTQzNzItODc1Mi03YmZjODEwYjQ5ODYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGNmNDVmZWRmYzQ0YTUxYzllZTcyZGRjZDEzOTY5ZTk1NDQ1OTQ3YzM4NTA4ODA4NzY4NjI5N2QwYjM4MTlhZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0j-zlI_HPeOfZmohubFh8mWoYRTNNb2k20ej-IXeCwo)
- Move and
login
to vercel.
![](https://private-user-images.githubusercontent.com/6457691/243072749-07742ad0-4766-43b0-9ebd-5311f9711bc2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc0OS0wNzc0MmFkMC00NzY2LTQzYjAtOWViZC01MzExZjk3MTFiYzIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGM2OTA5ZjViM2FiNmRlNDA1ZjFhZGMyMzU3NzY5NjcwMmVkOWZlZGI4Mzk5ZWY3ZTBlOWYxMmQxN2VjODRiZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.aHHyP60wv9Gexfs2IqPNeFRq-RVrcdmaGcGpgrwD0AA)
Build
new project using Add New...
![](https://private-user-images.githubusercontent.com/6457691/243072748-517d46be-c9bf-4181-aaa5-e9bd2fcdc822.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc0OC01MTdkNDZiZS1jOWJmLTQxODEtYWFhNS1lOWJkMmZjZGM4MjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODJiMDRjOTQ1MDAxMTdhZmMzOGViY2M3MjFiOTQ4NTMwZjNhNjkzZjIzOTllNDFhNTNlNTBlOGJhZDc5M2E5ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0usJwDJYmbzrweC5vQg6umevIlEkJ2GKXyRQf84L2G0)
Import
your forked morethan-log repository
![](https://private-user-images.githubusercontent.com/6457691/243072749-07742ad0-4766-43b0-9ebd-5311f9711bc2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc0OS0wNzc0MmFkMC00NzY2LTQzYjAtOWViZC01MzExZjk3MTFiYzIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGM2OTA5ZjViM2FiNmRlNDA1ZjFhZGMyMzU3NzY5NjcwMmVkOWZlZGI4Mzk5ZWY3ZTBlOWYxMmQxN2VjODRiZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.aHHyP60wv9Gexfs2IqPNeFRq-RVrcdmaGcGpgrwD0AA)
Add
Environment variabes to vercel project
![](https://private-user-images.githubusercontent.com/6457691/243072751-703b50a3-3a90-4915-ab73-1baca4c285f8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc1MS03MDNiNTBhMy0zYTkwLTQ5MTUtYWI3My0xYmFjYTRjMjg1ZjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTNkZmM4ZWM2MDAyMTBiNDA3YjJlZWI4YjZhMzgwYWFjMGJlZGYyZjhjM2ZkZDA2M2QwNmFmOGU3ODlhNDg1NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.J7I7mm-03cDxqzkDy5E9XlFbpC9H9maEoav1igD7Ft0)
Wait
for the deployment to complete. After the deployment is successful, you should see an image like the one below.
![](https://private-user-images.githubusercontent.com/6457691/243072752-a7d72caa-4354-4f81-9577-c773faeed7c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc1Mi1hN2Q3MmNhYS00MzU0LTRmODEtOTU3Ny1jNzczZmFlZWQ3YzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTA1NTY1ZjBkMmVmN2U1Nzk3YjQ4MWFlMGVlNWQ1OGViZGVkZTk1MjBmOGNjMjI0MWViOWZiOWJiZjBjMDNmMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.aOyFaj2D-a3PMBVR6fQqAPqgmcdpDRfF_T6ATOIzDug)
π₯³ Congratulations. Now check out your blog
![](https://private-user-images.githubusercontent.com/6457691/243072753-3876a273-a270-47ef-a2ad-663519d9e537.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTk3NjUsIm5iZiI6MTcyNDQxOTQ2NSwicGF0aCI6Ii82NDU3NjkxLzI0MzA3Mjc1My0zODc2YTI3My1hMjcwLTQ3ZWYtYTJhZC02NjM1MTlkOWU1MzcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTMyNDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmFlYjA1NzYxZGQxZGI1YWZiNjBhYjhhZGRiYzM3MDVhMDM4MmQyMTYyOGJmYzViZGYxZTFmNjIzZGFjZGI1NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.PAkT_V7lSC1-DGBCm0XOpetbfBxnNkvCEYFfg2m2A_g)
Check out the Contributing Guide.
morethan-log is an MIT-licensed open source project. It can grow thanks to the sponsors and support from the amazing backers.
The MIT License.