Skip to content

Commit

Permalink
Merge pull request #95 from mmdmthr/remove-devjurnal-domain
Browse files Browse the repository at this point in the history
replace devjurnal.com with mmdmthr.github.io
  • Loading branch information
mmdmthr authored Jun 9, 2024
2 parents 8bdbb87 + 4e7eec4 commit bfedfdb
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Nama alias bisa apa saja yang kita inginkan, asalkan belum digunakan oleh perint
Misalnya, alias di bawah ini akan membuka situs web di Chrome:

```bash
alias devjurnal="chrome https://devjurnal.com"
alias devjurnal="chrome https://mmdmthr.github.io"
```

Jika saya mengetik devjurnal di terminal baru, URL tersebut akan terbuka di Chrome.
Expand Down
6 changes: 3 additions & 3 deletions content/blog/2023/07/struktur-dan-komponen-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ category: 'notes'

Contoh URL
```
https://blog.devjurnal.com:8080/subscribe?utm_source=menu#nowhere
https://blog.mmdmthr.github.io:8080/subscribe?utm_source=menu#nowhere
```
| | |
|--|--|
|`https://` | = protocol |
|`blog.devjurnal.com` | = domain name |
|`blog.mmdmthr.github.io` | = domain name |
|`:8080` | = port |
|`/subscribe` | = path |
|`?` | = query |
Expand All @@ -28,7 +28,7 @@ URL (*Uniform Resource Locator*) adalah alamat yang digunakan untuk mengidentifi

2. **Nama Domain (*Domain Name*)**

Nama domain merupakan identifikasi unik untuk mengarahkan ke alamat IP yang sesuai dengan server yang menghosting sumber daya yang ingin diakses. Pada contoh URL di atas, nama domain adalah "blog.devjurnal.com". Nama domain ini mengarahkan ke server yang menyediakan konten atau sumber daya yang ingin diakses.
Nama domain merupakan identifikasi unik untuk mengarahkan ke alamat IP yang sesuai dengan server yang menghosting sumber daya yang ingin diakses. Pada contoh URL di atas, nama domain adalah "blog.mmdmthr.github.io". Nama domain ini mengarahkan ke server yang menyediakan konten atau sumber daya yang ingin diakses.

3. ***Port***

Expand Down
226 changes: 113 additions & 113 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,129 +1,129 @@
const metaConfig = require('./gatsby-meta-config')

module.exports = {
siteMetadata: metaConfig,
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/blog`,
name: `blog`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/__about`,
name: `about`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/assets`,
name: `assets`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-katex`,
siteMetadata: metaConfig,
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
strict: `ignore`,
path: `${__dirname}/content/blog`,
name: `blog`,
},
},
{
resolve: `gatsby-remark-images`,
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/__about`,
name: `about`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
maxWidth: 1200,
linkImagesToOriginal: false,
path: `${__dirname}/content/assets`,
name: `assets`,
},
},
{
resolve: `gatsby-remark-images-medium-zoom`,
},
{
resolve: `gatsby-transformer-remark`,
options: {
margin: 36,
scrollOffset: 0,
plugins: [
{
resolve: `gatsby-remark-katex`,
options: {
strict: `ignore`,
},
},
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1200,
linkImagesToOriginal: false,
},
},
{
resolve: `gatsby-remark-images-medium-zoom`,
options: {
margin: 36,
scrollOffset: 0,
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem`,
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
inlineCodeMarker: '%',
},
},
`gatsby-remark-copy-linked-files`,
`gatsby-remark-smartypants`,
`gatsby-remark-autolink-headers`,
`gatsby-remark-emoji`,
],
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
},
{
resolve: `gatsby-plugin-manifest`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem`,
name: metaConfig.title,
short_name: metaConfig.title,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#1d2740`,
display: `standalone`,
icon: metaConfig.icon,
},
},
{
resolve: `gatsby-remark-prismjs`,
},
{
resolve: `gatsby-plugin-typography`,
options: {
inlineCodeMarker: '%',
pathToConfigModule: `src/utils/typography`,
},
},
`gatsby-remark-copy-linked-files`,
`gatsby-remark-smartypants`,
`gatsby-remark-autolink-headers`,
`gatsby-remark-emoji`,
],
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: metaConfig.title,
short_name: metaConfig.title,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#1d2740`,
display: `standalone`,
icon: metaConfig.icon,
},
},
{
resolve: `gatsby-plugin-typography`,
options: {
pathToConfigModule: `src/utils/typography`,
},
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://www.devjurnal.com',
sitemap: 'https://www.devjurnal.com/sitemap.xml',
policy: [
{
userAgent: '*',
allow: '/',
},
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-feed`,
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-sass`,
options: {
implementation: require("sass"),
},
},
`gatsby-plugin-lodash`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-google-gtag`,
options: {
// You can add multiple tracking ids and a pageview event will be fired for all of them.
trackingIds: [
"G-GVQKMM834T", // Google Analytics / GA
],
// This object is used for configuration specific to this plugin
pluginConfig: {
// Puts tracking script in the head instead of the body
head: true,
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://mmdmthr.github.io',
sitemap: 'https://mmdmthr.github.io/sitemap.xml',
policy: [
{
userAgent: '*',
allow: '/',
},
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-feed`,
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-sass`,
options: {
implementation: require("sass"),
},
},
`gatsby-plugin-lodash`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-google-gtag`,
options: {
// You can add multiple tracking ids and a pageview event will be fired for all of them.
trackingIds: [
"G-GVQKMM834T", // Google Analytics / GA
],
// This object is used for configuration specific to this plugin
pluginConfig: {
// Puts tracking script in the head instead of the body
head: true,
},
},
},
},
],
],
}
58 changes: 29 additions & 29 deletions gatsby-meta-config.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
module.exports = {
title: `Dev Jurnal`,
description: `Blog posted about web developer`,
author: `mmdmthr`,
introduction: `My notes in public space`,
siteUrl: `https://www.devjurnal.com`, // Your blog site url
social: {
twitter: `mmdmthr`, // Your Twitter account
github: `mmdmthr`, // Your GitHub account
medium: `@mmdmthr`, // Your Medium account
facebook: `mmdmthr`, // Your Facebook account
linkedin: `mmdmthr`, // Your LinkedIn account
instagram: `devjurnal`, // Your Instagram account
},
icon: `content/assets/felog.png`, // Add your favicon
keywords: [`blog`],
comment: {
disqusShortName: '', // Your disqus-short-name. check disqus.com.
utterances: 'mmdmthr/devjurnal', // Your repository for archive comment
},
configs: {
countOfInitialPost: 10, // Config your initial count of post
},
sponsor: {
buyMeACoffeeId: '',
},
share: {
facebookAppId: '198884725496062', // Add facebookAppId for using facebook share feature v3.2
},
ga: 'G-GVQKMM834T', // Add your google analytics tranking ID
title: `Dev Jurnal`,
description: `Blog posted about web developer`,
author: `mmdmthr`,
introduction: `My notes in public space`,
siteUrl: `https://mmdmthr.github.io`, // Your blog site url
social: {
twitter: `mmdmthr`, // Your Twitter account
github: `mmdmthr`, // Your GitHub account
medium: `@mmdmthr`, // Your Medium account
facebook: `mmdmthr`, // Your Facebook account
linkedin: `mmdmthr`, // Your LinkedIn account
instagram: `devjurnal`, // Your Instagram account
},
icon: `content/assets/felog.png`, // Add your favicon
keywords: [`blog`],
comment: {
disqusShortName: '', // Your disqus-short-name. check disqus.com.
utterances: 'mmdmthr/devjurnal', // Your repository for archive comment
},
configs: {
countOfInitialPost: 10, // Config your initial count of post
},
sponsor: {
buyMeACoffeeId: '',
},
share: {
facebookAppId: '198884725496062', // Add facebookAppId for using facebook share feature v3.2
},
ga: 'G-GVQKMM834T', // Add your google analytics tranking ID
}
2 changes: 1 addition & 1 deletion static/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
www.devjurnal.com
mmdmthr.github.io

0 comments on commit bfedfdb

Please sign in to comment.