Skip to content

Commit

Permalink
Merge pull request #94 from atelierdesmedias/fix-tina
Browse files Browse the repository at this point in the history
fix tina
  • Loading branch information
MartinDelille authored Jul 18, 2023
2 parents e96d9c8 + df95527 commit 54c1433
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem 'mini_magick', '~> 4.11.0'
gem 'octokit', '~> 6.0'
gem 'rake', '~> 13.0.6'
gem 'rbnacl', '~> 7.1.1'
gem 'rubocop', '~> 1.52.1'
gem 'rubocop', '~> 1.54.2'
gem 'stringex', '~> 2.8.5'

group :jekyll_plugins do
Expand Down
2 changes: 0 additions & 2 deletions tina/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineConfig } from "tinacms";
import { postFields } from "./templates";
import moment from 'moment';

const BRANCH = process.env.HEAD || process.env.BRANCH_NAME || "main";
const CLIENT_ID = String(process.env.TINA_CLIENT_ID ?? '');
Expand Down Expand Up @@ -30,7 +29,6 @@ export default defineConfig({
path: "_posts",
ui: {
defaultItem: {
date: moment(new Date()).format('YYYY-MM-DD'),
author: "La rédaction",
layout: "post",
},
Expand Down
Loading

0 comments on commit 54c1433

Please sign in to comment.