Skip to content

Commit

Permalink
🎨 #47 移除模板变量 ${miniPostfix}
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 18, 2020
1 parent c07a195 commit 0c05afd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ public void showArticlePwdForm(final RequestContext context) {
dataModel.put(Common.YEAR, String.valueOf(Calendar.getInstance().get(Calendar.YEAR)));

Keys.fillRuntime(dataModel);
dataModelService.fillMinified(dataModel);
dataModelService.fillFaviconURL(dataModel, preference);
dataModelService.fillUsite(dataModel);
}
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/b3log/solo/processor/IndexProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ public void showStart(final RequestContext context) {
dataModel.put(Common.YEAR, String.valueOf(Calendar.getInstance().get(Calendar.YEAR)));
dataModel.put(Common.REFERER, URLs.encode(referer));
Keys.fillRuntime(dataModel);
dataModelService.fillMinified(dataModel);
dataModelService.fillFaviconURL(dataModel, optionQueryService.getPreference());
dataModelService.fillUsite(dataModel);
Solos.addGoogleNoIndex(context);
Expand Down Expand Up @@ -223,7 +222,6 @@ public void showKillBrowser(final RequestContext context) {
dataModelService.fillUsite(dataModel);
Keys.fillServer(dataModel);
Keys.fillRuntime(dataModel);
dataModelService.fillMinified(dataModel);
} catch (final ServiceException e) {
LOGGER.log(Level.ERROR, e.getMessage(), e);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ public void showAdminIndex(final RequestContext context) {
final JSONObject skin = optionQueryService.getSkin();
dataModel.put(Option.CATEGORY_C_SKIN, skin.optString(Option.ID_C_SKIN_DIR_NAME));
Keys.fillRuntime(dataModel);
dataModelService.fillMinified(dataModel);
dataModel.put(Common.LUTE_AVAILABLE, Markdowns.LUTE_AVAILABLE);
// 内置 HTTPS+CDN 文件存储 https://github.com/b3log/solo/issues/12556
dataModel.put(Common.UPLOAD_TOKEN, "");
Expand Down

0 comments on commit 0c05afd

Please # to comment.